mailing-list for TeXmacs Users

Text archives Help


Re: working around arXiv' overshoot


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: working around arXiv' overshoot
  • Date: Fri, 19 Nov 2021 14:48:15 +0000

Maybe the examination of the code in https://github.com/arXiv could also help.

Perhaps they accept pull requests.

Giovanni


Am 19.11.2021 um 11:49 schrieb TeXmacs:
Dear Basile,

Thanks for this extremely useful feedback.

It is still annoying to not use our real name for the creator/producer.
If I make it 'T e X m a c s', then does that work?

Best wishes, --Joris


On Fri, Nov 19, 2021 at 07:49:47AM +0100, Basile Audoly wrote:
Dear Joris,

I did a few more tests. Bottomline is that arXiv rejects any PDF document that matches
the string "*tex*" in the /Creator or /Producer fields, and the match is
case-insensitive.

Changing fonts actually has no effect (contrary to what I was writing before).

To be specific, changing both /Creator or /Producer to 'T.Xmacs' works, but
changing to 'Texmacs' or 'GNU Texmacs' fails.

TeX Gyre fonts (Bonum) works just as well, even though "TeX" appears in the
/BaseFont field: this field seems to be ignored (which makes sense).

Best,
Basile

Le 11 nov. 2021 à 19:54, TeXmacs <address@hidden> a écrit :

Hi Basile,

This is a very interesting hack.
It would be nice to have some volunteers to investigate this further.

Question 1: if you replace 'TeXmacs' by 'Texmacs' or 'GNU Texmacs' instead of
'T.Xmacs', does it still work?

Question 2: could someone please try with any of the TeX Gyre fonts (which
also have TeX in their name)?

Question 3: if you replace 'Computer Modern' with 'Knuth's Modern Font' and
(if necessary) occurrences of
CMR, CMMI, CMEX, etc. with something else (just on lines with /FontName or
/BaseFont), then does this
also do the trick?

Best wishes, --Joris



On Sat, Jul 10, 2021 at 06:52:11PM +0200, Basile Audoly wrote:
Hi everyone,

arXiv incorrectly identifies PDF documents produced by TeXmacs as if they had
been produced by LaTeX and blocks them, see my previous email.

Here a dirty but simple hack to work around this:
* change the document font from Computer Modern (a.k.a. Roman) to Optima—any
other font except CM will probably work as well
* export to PDF
* open the PDF document in emacs, search for the string "TeXmacs" and replace the two
occurrences corresponding to the PDF Creator and Producer with "T.Xmacs"

Of course, this prevents arXiv from being aware of the full content of the
document. Exporting to LaTeX is still a viable (but more complicated)
alternative.

Basile




Archive powered by MHonArc 2.6.19.

Top of page