Here is the (just tested!) procedure to submit ConTeXt documents to
arxiv.org and also provide source.

Suppose that document.tex is the source file, and has fig.mp as the
figure file that produces fig.1, etc.

1. Generate document.ps using 

  texexec --dvi --nobackend document.tex
  dvips -Ppdf document.dvi -o document.ps 
  /* the -o in case of stupid systems that send the output to lpr by default */

2. Make a directory src/ with document.tex and fig.mp.  Then make a
   .tgz file for uploading.  It is produced from this file structure

    document.ps
    src/
      fig.mp
      document.tex

   e.g. by 
   
   tar -czvf arxiv.tgz document.ps src/

3. arxiv.org will generate PDF from the PS using ghostscript, so make
   sure that ps2pdf on document.ps produces a working PDF.

4. If all is well, upload arxiv.tgz as your submission using the usual
   arxiv.org submission (or replacement) procedure.  Ideally you'll do
   step 4 at least 15 minutes (ideally an hour) before the 4pm (US
   Eastern) weekday deadline, so that you get back the submission date and
   preprint number from arxiv, leaving time for step 5

5. Incorporate the preprint number (or URL) and submission date into
   your document and produce an arxiv stampline along the left.  Then
   remake document.ps and arxiv.tgz in step 2, and replace the
   previous submission with the new arxiv.tgz.

6. Check that all is well.

When the paper becomes official (8pm US Eastern time), users should
get three choices for format: PS (what you provided), PDF (generated
by arxiv.org from the PS), and 'Other formats', which will offer an
option to download source.

Of course, all of the remaking should be done by a Makefile.  You can
see <http://www.arxiv.org/abs/0704.1854> for an example with a
Makefile.

All of the above is wikified at
<http://wiki.contextgarden.net/Posting_on_arxiv.org>

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to