From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/792 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: Searching Date: Thu, 02 Sep 1999 22:32:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37CEDEC2.C27D745C@gmx.de> References: <3.0.5.32.19990902130139.00b38100@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391634 27136 80.91.224.250 (23 Oct 2002 16:47:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:47:14 +0000 (UTC) Cc: NTG-ConTeXt Original-To: David Arnold Xref: main.gmane.org gmane.comp.tex.context:792 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:792 Hi David, > I'd like to try to implement this, but I am not sure to insert the switch > --src in light of I am using texexec. The best situation for me would be > able to put something on the first line of master.tex that texexec would > interpret. How about something like this (untested): --- /usr/bin/texexec Fri Jul 23 03:52:50 1999 +++ texexec Thu Sep 2 22:30:13 1999 @@ -100,13 +100,15 @@ "color" => \$UseColor , "environment=s" => \$Environment , "result=s" => \$Result , - "mptex" => \$DoMPTeX ) ; + "mptex" => \$DoMPTeX , + "miktex-src" => \$MikTeXSrc ) ; $SIG{INT} = "IGNORE" ; if ($ProducePdf) { $OutputFormat = "pdf" } -if ($RunOnce) { $NOfRuns = 1 } -if ($Pages) { $NOfRuns = 1 } +if ($RunOnce) { $NOfRuns = 1 } +if ($Pages) { $NOfRuns = 1 } +if ($MikTeXSrc) { $MikTeXSrc = "--src" } $Program = " TeXExec 1.2 - ConTeXt / PRAGMA ADE 1997-1999" ; @@ -211,7 +213,7 @@ $ConTeXtInterfaces{en} = "en" ; $ConTeXtInterfaces{english} = "en" ; $ConTeXtInterfaces{de} = "de" ; $ConTeXtInterfaces{german} = "de" ; $ConTeXtInterfaces{cz} = "cz" ; $ConTeXtInterfaces{czech} = "cz" ; -$ConTeXtInterfaces{uk} = "uk" ; $ConTeXtInterfaces{brittish} = "uk" ; +$ConTeXtInterfaces{uk} = "uk" ; $ConTeXtInterfaces{british} = "uk" ; $Help{HELP} = " --help show this or more, e.g. '--help interface'\n" ; @@ -278,7 +280,7 @@ " =nl : dutch \n" . " =de : german \n" . " =cz : czech \n" . - " =uk : brittish \n" ; + " =uk : british \n" ; $Help{RUNS} = " --runs maximum number of TeX runs \n" ; @@ -524,7 +527,7 @@ { $TeXProgNameFlag = "-progname=context" } } $cmd = "$TeXProgramPath$TeXExecutable " . "$TeXProgNameFlag " . - "$TeXFormatFlag$TeXFormatPath$Format $JobName" ; + "$TeXFormatFlag$TeXFormatPath$Format $MikTeXSrc $JobName" ; $Problems = system ( "$cmd" ) ; my $StopTime = time - $StartTime ; print "\n run time : $StopTime seconds\n" ; Tobias