Re: working around arXiv' overshoot
Giovanni Piredda <[email protected]> Mon, 22 Nov 2021 17:06:40 +0000
| Newsgroups | gmane.editors.texmacs.devel |
|---|---|
| Message-ID | <[email protected]> |
I suggest that anyone whose paper written with TeXmacs does not go through the ArXiv checks writes to the ArXiv help mailbox mentioning the pull request : telling that the check, which is supposed to not filter out TeXmacs-written papers, needs to be updated and that the pull request fixes this , "so please can you integrate this change in your code"? Perhaps an announcement on texmacs-users? Giovanni On 21.11.21 00:02, TeXmacs wrote: > Hi Jeroen, > > Thanks, great; please send us feedback whenever you have news about your pull request. > > Best wishes, --Joris > > > On Sat, Nov 20, 2021 at 10:44:34PM +0000, Jeroen Wouters wrote: >> Hello Joris, >> >> It seems that someone at arXiv actually used one of your papers to test >> their expressions on: >> https://github.com/arXiv/arxiv-submission-core/blob/ARXIVNG-2885/core/arxiv/submission/process/checks/test_files_tex_produced/sparsemult6.pdf >> >> That specific paper was written in TeXmacs 1.0.7.2, which has in the >> Creator string "TeXmacs-1.0.7.2" (note the dash). >> >> More recent versions use a space to before the version number, though, >> e.g. "TeXmacs 1.99.20". If those metadata fields are changed to >> "TeXmacs-1.99.20", then it is accepted. Since the number 1 is >> explicitly in their regex, this doesn't work for 2.1. >> >> I have created a pull request to update the regex: >> https://github.com/arXiv/arxiv-submission-core/pull/85/files >> >> Best wishes, >> Jeroen >> >> On Sat, 2021-11-20 at 23:34 +0100, TeXmacs wrote: >>> Thanks Jeroen, for finding this useful information. >>> So with the 1.* versions, ArXiv actually did accept TeXmacs, lately? >>> >>> Maybe the person(s) who recontact ArXiv could just suggest to >>> change the regular expression into >>> >>> regex3 = re.compile(br"^(Creator|Producer).*TeX(?!(t|macs- >>> ))",re.IGNORECASE) >>> >>> Best wishes, --Joris >>> >>> >>> On Sat, Nov 20, 2021 at 04:29:31PM +0000, Jeroen Wouters wrote: >>>> Dear all, >>>> >>>> It seems that at least some of the code on Github is, in fact, in >>>> use. >>>> Specifically, there's the following regular expression [1]: >>>> >>>> regex3 = re.compile(br"^(Creator|Producer).*TeX(?!(t|macs-1\.))", >>>> re.IGNORECASE) >>>> >>>> This excludes strings like "TeXmacs-1.xx.xx". I've tested this on the >>>> arXiv with PDFs with "TeXmacs-1.99.20" as both Creator and Producer >>>> and >>>> they do go through the checks! >>>> >>>> Note that there has to be a dash between "TeXmacs" and "1.". Looking >>>> at >>>> some of my older PDFs made in 1.99.20, the Creator and Producer >>>> fields >>>> are actually "TeXmacs 1.99.xx", hence they don't get through the >>>> checks >>>> without modifying the metadata. >>>> >>>> Best wishes, >>>> Jeroen >>>> >>>> [1] >>>> https://github.com/arXiv/arxiv-submission-core/blob/647be11c8e5409107371699586271dfabdf9b15e/core/arxiv/submission/process/checks/tex_produced/__init__.py#L214 >>>> >>>> On Sat, 2021-11-20 at 13:58 +0100, TeXmacs wrote: >>>>> Dear all, >>>>> >>>>> Maybe we can move the technical ArXiv discussion to texmacs-dev. >>>>> It is a very interesting one, but end-users only need to know how >>>>> they can participate to the petition, once we worked out >>>>> the precise steps that are needed for this. >>>>> >>>>> Best wishes, --Joris >>>>> >>>>> >>>>> On Sat, Nov 20, 2021 at 12:07:22PM +0000, Frank wrote: >>>>>> No, there is no such statement, but I inferred it from their >>>>>> attitudes. >>>>>> >>>>>> Best, >>>>>> Frank >>>>>> >>>>>> 于 2021年11月20日 UTC 上午11:48:25, Giovanni Piredda >>>>>> <[email protected]> >>>>>> 写到: >>>>>>> I did not find that statement in the linked page. Where is it? >>>>>>> >>>>>>> G. >>>>>>> >>>>>>> On 20.11.21 12:45, Frank wrote: >>>>>>>> And it looks like they would not accept PR before receiving >>>>>>>> responses from help: >>>>>>>> >>>>>>>> https://github.com/arXiv/arxiv-submission-core/issues/80 >>>>>>>> >>>>>>>> Best, >>>>>>>> Frank >>>>>>>> >>>>>>>> 于 2021年11月20日 UTC 上午11:41:14, Frank <[email protected]> 写到: >>>>>>>>> I am not familiar with git, but seemingly this code is not >>>>>>>>> in >>>>>>>>> the default branch (develop). How is that working? >>>>>>>>> >>>>>>>>> Best, >>>>>>>>> Frank >>>>>>>>> >>>>>>>>> 于 2021年11月20日 UTC 上午11:20:38, Giovanni Piredda >>>>>>>>> <[email protected]> 写到: >>>>>>>>>> On 20.11.21 12:14, Giovanni Piredda wrote: >>>>>>>>>>> On 20.11.21 12:07, Frank wrote: >>>>>>>>>>>> Meanwhile, I searched among the source code, but I >>>>>>>>>>>> failed >>>>>>>>>>>> to locate >>>>>>>>>>>> the checker. There is a line related: >>>>>>>>>>>> https://github.com/arXiv/arxiv-submission-ui/blob/5cd67e15db72bb8aa4acf686fb3aa8b41727580a/submit/controllers/ui/new/process.py#L202 >>>>>>>>>>>> >>>>>>>>>>>> but I don't see where the code could raise an error >>>>>>>>>>>> with >>>>>>>>>>>> reason >>>>>>>>>>>> containing "from TeX", say, in >>>>>>>>>>>> https://github.com/arXiv/arxiv-submission-core/blob/develop/core/arxiv/submission/process/process_source.py >>>>>>>>>>>> >>>>>>>>>>> Perhaps there is some code here: >>>>>>>>>>> https://github.com/arXiv/arxiv-submission-core/pull/77 >>>>>>>>>> e.g. here >>>>>>>>>> https://github.com/arXiv/arxiv-submission-core/pull/77/commits/647be11c8e5409107371699586271dfabdf9b15e >>>>>>>>>> >>>>>>>>>> I do not know whether this pull request is part of the >>>>>>>>>> current code (I >>>>>>>>>> need to learn how to check for that) and which place this >>>>>>>>>> part takes in >>>>>>>>>> the overall code. >>>>>>>>>> >>>>>>>>>> >>>>>> -- >>>>>> 使用 K-9 Mail 发送自我的Android设备。 >>>> >>>> _______________________________________________ >>>> Texmacs-dev mailing list >>>> [email protected] >>>> https://lists.gnu.org/mailman/listinfo/texmacs-dev >>> _______________________________________________ >>> Texmacs-dev mailing list >>> [email protected] >>> https://lists.gnu.org/mailman/listinfo/texmacs-dev >> >> _______________________________________________ >> Texmacs-dev mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/texmacs-dev > _______________________________________________ > Texmacs-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/texmacs-dev