[texhax] Latex on command line

Ron RJF Fehd ron.fehd.macro.maven at gmail.com
Mon Sep 4 15:42:48 CEST 2017


I have this Windows DOS setup for my LaTeX papers

- - - 03-set-filename.bat - - -
set filename=A

set filename-handout=%filename%-handout
set filename-paper=%filename%-paper
set filename-ppt=%filename%-ppt

rem note: no space surrounding equal sign in assignment statement

- - - 01-LaTeX-paper.bat - - -
call 03-set-filename
call pdfLaTeX  %filename-paper%

- - - 01-LaTeX-ppt.bat - - -
call 03-set-filename
call pdfLaTeX  %filename-ppt%

- - - 02-TeX-procs-paper.bat - - -
call     03-set-filename
call pdfLaTeX  %filename-paper%
call   bibTeX  %filename-paper%
call makeindex %filename-paper%
call pdfLaTeX  %filename-paper%
call pdfLaTeX  %filename-paper%
call pdfLaTeX  %filename-paper%

- - - 04-LaTeX-handout.bat - - -
call 03-set-filename
call pdfLaTeX  %filename-handout%

- - - A-paper.tex
\documentclass{refart}%Reference Manual: article
%etc

- - - A-paper.ltx
\input{\jobname}
%nice trick: opens the TeXworks editor

- - - A-ppt.tex
\documentclass{beamer}
%etc

- - - A-handout.tex - - -
\documentclass{beamer}
\usepackage{pgfpages}%Beamer User Guide pg 31
\pgfpagesuselayout{4 on 1}[letterpaper,border shrink=5mm,landscape]
%etc

I use the commercial text editor UltraEdit

http://www.ultraedit.com/

UltraEdit has commands to submit Windows batch programs,
after which my program, or document, log is updated

I switched from NotePad --- sometime around the turn of the millennium ---
which allows multiple instances
to open the same file and will overwrite updates
when other instances are closed.
And it does not auto-update a changed (log) file.

for the record I still have an XP laptop with TeXlive.2015 on it.

Ron Fehd  DOS maven
          {SAS} programmer and author
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20170904/15bb73d8/attachment.html>


More information about the texhax mailing list