Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to print to LaTeX console output ?

2,261 views
Skip to first unread message

Louis

unread,
Oct 3, 2003, 4:34:52 PM10/3/03
to
Are there any LaTeX commands to print messages or values to output console
during compilation of a .tex file ?
(the same console output where overfull boxes error messages are printed
out)

Thank you


Marc Olschok

unread,
Oct 3, 2003, 4:55:36 PM10/3/03
to

With plain TeX you can use something like

\write0{message}

for writing output.
I do not have the TeXbook nearby and do not remember the exact meaning
of the output channel number (0 in the above example).

However, the actual output will occur when the current page is shipped
out, so this might not be exactly what you need.

Marc

Asbjørn Sæbø

unread,
Oct 3, 2003, 5:10:04 PM10/3/03
to
"Louis" <lo...@louis.yu> writes:

I think you can use \showthe{<something>} to print f.i. the value of
\textwidth.

Asbj.S.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Donald Arseneau

unread,
Oct 3, 2003, 6:04:32 PM10/3/03
to
Asbjørn Sæbø <as...@stud.ntnu.no> writes:

> I think you can use \showthe{<something>} to print f.i. the value of
> \textwidth.

No braces.

Donald Arseneau as...@triumf.ca

Peter Wilson

unread,
Oct 3, 2003, 8:06:42 PM10/3/03
to
"Louis" <lo...@louis.yu> wrote in message
news:3f7ddd5f$0$20138$79c1...@nan-newsreader-01.noos.net...

\typeout{This is a message}

Peter W.
--
The English FAQ is at: http://www.tex.ac.uk/faq
Examples of all symbols:
http://www.ctan.org/tex-archive/info/symbols/comprehensive
PostScript fonts:
http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide.pdf
Graphics & floats: http://www.ctan.org/tex-archive/info/epslatex.pdf


Louis

unread,
Oct 4, 2003, 4:52:34 AM10/4/03
to
Actually \message{...} works fine . Thank you for all your answers


"Peter Wilson" <peter.r...@boeing.com> wrote in message
news:HM7Hn...@news.boeing.com...

0 new messages