ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gmx.de>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: Searching
Date: Thu, 02 Sep 1999 22:32:02 +0200	[thread overview]
Message-ID: <37CEDEC2.C27D745C@gmx.de> (raw)
In-Reply-To: <3.0.5.32.19990902130139.00b38100@mail.northcoast.com>

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


  reply	other threads:[~1999-09-02 20:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-02 20:01 Searching David Arnold
1999-09-02 20:32 ` Tobias Burnus [this message]
1999-09-02 21:59 ` Searching Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37CEDEC2.C27D745C@gmx.de \
    --to=burnus@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).