Skip to Content.
Sympa Menu

texmacs-users - Re: working around arXiv' overshoot

Subject: mailing-list for TeXmacs Users

List archive

Re: working around arXiv' overshoot


Chronological Thread 
  • From: Basile Audoly <address@hidden>
  • To: Joris van der Hoeven <address@hidden>
  • Cc: address@hidden
  • Subject: Re: working around arXiv' overshoot
  • Date: Fri, 19 Nov 2021 07:49:47 +0100

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