<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I’ve had a similar question some time ago.</DIV>
<DIV>Herbert Schulz suggested “latexmk” to me.</DIV>
<DIV>This script does exactly what you want...</DIV>
<DIV>For my use i added the following lines to tools.ini (in your texworks
configuration folder): </DIV>
<DIV> </DIV>
<DIV> [003] (<- change number according to your other
entries)</DIV>
<DIV> name=LaTeXmk</DIV>
<DIV> program=latexmk.exe</DIV>
<DIV> arguments=-e, "$pdflatex=q/pdflatex %O %S/\n", -xelatex,
"$synctexoption ", $fullname</DIV>
<DIV> showPdf=true</DIV>
<DIV> </DIV>
<DIV>LaTeXmk should recognize which programs need to be run to “texify” your
document.</DIV>
<DIV> </DIV>
<DIV>Greetings,</DIV>
<DIV>Johannes</DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM-COLOR: #000000; BORDER-LEFT: #000000 4px solid; BORDER-TOP-COLOR: #000000; PADDING-LEFT: 5px; BORDER-RIGHT-COLOR: #000000; MARGIN-LEFT: 5px">
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV style="font-color: black"><B>From:</B> <A title=buptjiwei@gmail.com
href="mailto:buptjiwei@gmail.com">张纪伟</A> </DIV>
<DIV><B>Sent:</B> Monday, June 04, 2012 11:50 AM</DIV>
<DIV><B>To:</B> <A title=texworks@tug.org
href="mailto:texworks@tug.org">texworks@tug.org</A> </DIV>
<DIV><B>Subject:</B> [texworks] How to realize the pdftexify function in
Texworks</DIV></DIV></DIV></DIV>
<DIV
style="BORDER-BOTTOM-COLOR: #000000; BORDER-LEFT: #000000 4px solid; BORDER-TOP-COLOR: #000000; PADDING-LEFT: 5px; BORDER-RIGHT-COLOR: #000000; MARGIN-LEFT: 5px">
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hi,
<DIV> </DIV>
<DIV>I am using Texworks and it is really awesome for a new user like me.</DIV>
<DIV> </DIV>
<DIV>I have a question while using it. Can you help me with it?</DIV>
<DIV> </DIV>
<DIV>In the "Typeset" function, I can press the green button to run "pdfLaTex"
to generate the pdf file.</DIV>
<DIV> </DIV>
<DIV>however, when I am writing my thesis I need index and references, which
means I have to press 4 times to run "pdfLatex"+"bibtex"+"makeindex"+"pdfLatex".
The Winedit have a function named "pdfTexify" which can do latex+bib+latex
</DIV>
<DIV> </DIV>
<DIV>Can I configure the similar function in Texworks? how to do it?
thanks~~~~ </DIV>
<DIV>
<DIV> </DIV>-- <BR><BR>Zhang Jiwei<BR>School of Information and
Communications Engineering @ BUPT
<DIV><BR><BR></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>