[TxMt] Re: Complete Run

Christof Janssen c.janssen at mpi-hd.mpg.de
Wed Mar 1 14:30:57 UTC 2006


Hi,

thanks for looking into it. Your script is running "almost" perfect.  
Unfortunately, I get a pdf error when I include the pdfsync package.  
If I don't, the run is latex bibtex latex latex without errors/ 
problems. Otherwise I get the following error (from the log file):

pdfTeX error (\pdfsavepos): used while \pdfoutput is not set.  
\@PDFSYNC ->\relax \ifPDFSYNCOK \pdfsavepos \immediate \write \PDFPOS  
{l\spa... l.40 \begin{document}
No pages of output. Transcript written on rkarticle.log.

Christof

Am 1. Mrz 2006 um 14:47 schrieb Guray Erkol:

> Hi,
> Does this help:
> i) Go to Window > Show Bundle Editor and choose Latex on the left  
> pane.
> ii) Highlight "Run Bibtex" and click on the middle button which
> stands on the lower left hand corner of the window. This looks like
> double plus sign "++" which will create a copy of the bundle "Run  
> Bibtex".
> iii) Click on "Run Bibtex copy" bundle which you have created above  
> and write
> the following code in the  right hand pane:
> #----------------------------------
> "# Latex-Bibtex-Latex-Latex-dvipdf-show file
> # Variables
> V=${TM_LATEX_VIEWER:=preview}
> M=${TM_LATEX_MASTER:=$TM_FILEPATH}
> DIR=`dirname "$M"`
> FILE=`basename -s.tex "$M"`
> DVI="${FILE%.tex}.dvi"
> PDF="${FILE%.tex}.pdf"
> CWD="`pwd`/"
>
> # Switch to the right directory.
> cd "$TM_PROJECT_DIRECTORY"
> cd "$DIR"
>
> latex "$FILE"
> bibtex "$FILE"|pre
> latex "$FILE"
> latex "$FILE"
> dvipdf "$DVI"
>
> # View...
> open -a "$V" "$PDF"
> #----------------------------------
>
> iv) Rename the bundle and run it on your file. See what happens.
> Success,
> Guray.
>
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list