[XeTeX] How to reduce terminal output from xelatex?
ShreeDevi Kumar
shreeshrii at gmail.com
Mon Aug 1 13:42:26 CEST 2016
To summarize, I had been using some unrecognized options and was giving
them within quotes, so they were not taking effect.
I am now using the following:
* xelatex -interaction=batchmode -halt-on-error *
**-interaction=batchmode makes TeX 'quieter', so in a batch file that plus
> -halt-on-error can make sense for 'either make the PDF or abort early'
> runs.
>
>
> (
>
> http://tex.stackexchange.com/questions/258814/what-is-the-difference-between-interaction-nonstopmode-and-halt-on-error
> )
>
> **
ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Mon, Aug 1, 2016 at 4:49 PM, ShreeDevi Kumar <shreeshrii at gmail.com>
wrote:
>
>> xelatex: unrecognized option '-max-print-line=2048'
>
> xelatex: unrecognized option '-c-style-errors'
>
> This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded
>> format=xelatex)
>
> restricted \write18 enabled.
>
> entering extended mode
>
>
>>
>
> So using the following minimises the ouput:
>
> xelatex -interaction=batchmode "\def\isnormal{1}
> \input{./tmpmyfile.tex} "
>
> Using the following eliminates all output.
>
> xelatex "\def\istwocol{1} \input{./tmpmyfile.tex}
> -max-print-line=2048 -c-style-errors -interaction=batchmode" >/dev/null
>
> I had tried the 'silence' package but that did not reduce the terminal
> output (at least not visibly). I did not compre the log files to see
> whether the messages were reduced therein.
>
> Thank you all for your prompt replies and help.
>
> ShreeDevi
> ____________________________________________________________
> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>
> On Mon, Aug 1, 2016 at 4:33 PM, Bruno Le Floch <blflatex at gmail.com> wrote:
>
>> On 08/01/2016 12:51 PM, Zdenek Wagner wrote:
>> > Append >/dev/null in unix systems or >null in Windows, it will send
>> > all terminal output to a black hole.
>> >
>> > Zdeněk Wagner
>> > http://ttsm.icpf.cas.cz/team/wagner.shtml
>> > http://icebearsoft.euweb.cz
>> >
>> >
>> > 2016-08-01 12:42 GMT+02:00 ShreeDevi Kumar <shreeshrii at gmail.com>:
>> >> Hi,
>> >>
>> >> I am using commands similar to the following for processing the
>> sanskrit
>> >> documents using xelatex -
>> >>
>> >> xelatex "\def\istwocol{1} \input{./tmpmyfile.tex}
>> -max-print-line=2048
>> >> -c-style-errors -interaction=batchmode"
>>
>> xelatex sees the options as being part of the tex to run. Putting the
>> options first should fix this:
>>
>> xelatex -max-print-line=2048 -c-style-errors -interaction=batchmode
>> "\def\istwocol{1} \input{./tmpmyfile.tex}"
>>
>> Bruno
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>> http://tug.org/mailman/listinfo/xetex
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160801/b0015dcc/attachment.html>
More information about the XeTeX
mailing list