The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
29 views

How to configure $PATH (for LaTeX) and run commands in Terminal?

I have run into an issue with citations in LaTeX. While the coding is right, I only get a question mark instead of the correct citation. I am using the following template: ...
3
votes
1answer
63 views

Running .ins file with terminal and user command

I'm using a portable version of MiKTeX 2.9 on an external hard drive on a pc without admin rights. I try running an .ins file with TeXmaker terminal using 'latex NameOfPackage.ins', but it says can't ...
0
votes
1answer
57 views

How to edit errors instantaneously in TEX

I would like to know how to edit the errors indicated by the TEX compiler instataneously using the i option as said in wikibooks.I know that there would be no error if you edit the file and replace ^i ...
2
votes
1answer
306 views

How to print Hello World in terminal using the command tex

While I went through the tutorial on Latex I couldn't get how to print "Hello World" using command tex as illustrated in wikibooks.The command I would like to execute in terminal is: tex '\empty ...
0
votes
1answer
46 views

Possible problem with TexLive in Ubuntu

I was compiling documents in Ubuntu using the Terminal with TexLive-full without any issue until now. Today I performed a format in my PC and after the compiling procedure I get the following which is ...
2
votes
2answers
59 views

Print “Box drawing characters” from shell in lstlisting

I have some output from the tree command, which looks something like this: . ├── Maildir/ └── scripts/ ├── backup.sh* └── OLD/ ├── backup_cleanup.sh.old └── backup.sh.old* ...
2
votes
0answers
72 views

GNU Readline- like history, for the latex terminal shell?

I find myself more than often willing to use the (pdf)latex shell, and \typeout commands there directly - unfortunately, there is one deal breaker: there is no command line history. I think that in ...
0
votes
0answers
1k views

pdflatex (command not found) on terminal for mac

I just started college and this is our first assignment so please be patient with explaining this to me, guys. I've been trying to compile what I made on TeXShop but all I got is -bash: pdflatex ...
2
votes
0answers
72 views

How to use sed to comment some lines in tex files (has “%” a particular meaning for sed ?)

I've been reading something in Most useful sed one-liners for TeX users which is related to my problem, but albeit interesting, it is not what I need. I have many tex (beamer class) files in ...
12
votes
2answers
169 views

Is there a way to typeout to the console using ANSI colors?

I'm trying to colorize diagnostic outputs to the console in order to make my stuff more visible in the endless stream of messages that LaTeX spits out. Example However, all of my efforts like, for ...
1
vote
0answers
45 views

Program to display/rewrite/reformat log file in the terminal

I usually compile my .tex files from the terminal without the -interaction=nonstopmode, so that it stops at every error, but of course I still need to look at the .log file from time to time, but ...
2
votes
1answer
115 views

Running latex (pdf) interactively in AucTeX

When I am Running latex interactively, as I like, emacs is opening a new buffer-window with output from the LaTeX compiling process. Fine! -- I like to see the processing outut. BUT I am used to that ...
5
votes
1answer
189 views

Using \show in nonstopmode causes TeXmaker to raise false alarms. Any fix?

I'm currently reading the TeXbook, and I use \show a lot to see how Knuth defined plain-TeX macros in terms of TeX primitives. For instance, to have access to the definition of \centerline, I would ...
4
votes
0answers
87 views

Error arising when using \typeout & \meaning with \midrule

In order to facilitate debugging some experimental code, I created a version of \typeout that will break its content into multiple lines: %% dummy macro for simulating newlines in output to terminal ...
5
votes
0answers
102 views

Command line *before* \documentclass & relation with output-directory

This question has to do with changing the output directory on a file I am trying to compile (using Kile, though I hope the solution isn't editor-specific). If I type pdflatex -output-directory ...
5
votes
1answer
174 views

Setting variables in LuaTeX texconfig?

The LuaTeX documentation mentions that several variables are accessible by setting a table called texconfig. In particular I want to reduce the output a bit by setting trace_file_names to false. ...
1
vote
0answers
338 views

Texmaker user commands: output to log/messages [closed]

I'm using several User Commands with texmaker on Mac OS X. My problem is, that some of the commands are just shellscripts, or other programs like texcount that produces output to the STDOUT. Is there ...
11
votes
1answer
136 views

Accessing to .log messages from LuaTeX. Is it possible?

Reading the question How to visualize the underfull box in final ouput PDF files I thought that it could be possible to use LuaTeX to intercept the "Underfull vbox" message and draw some kind of ...
6
votes
2answers
157 views

How do you signal an error from within an expandable function?

I would like to do some error checking from within an expandable function. But my attempts at signalling an error are not processed correctly, but rather returned to the input stream---contrary to my ...
5
votes
1answer
443 views

Find errors and warnings in pdflatex output: highlight terminal output?

I'm using cmake to compile a document. For a clean, built-from-scratch compile, this outputs around 1800 lines in my terminal. The Document.log file is just over 1000 lines long. Scrolling back over ...
1
vote
0answers
34 views

output of pdflatex in the command line is too narrow? [duplicate]

Possible Duplicate: Avoid linebreaks in LaTeX console / log output (in the mac) I find quite annoying that for example running: $ /usr/textbin/pdflatex MyDocument.text Results in an 80 ...
2
votes
1answer
228 views

Reducing output garbage [duplicate]

Possible Duplicate: Reducing the console output of LaTeX running: C:\Program Files\Text\MiKTeX 2.9\miktex\bin\x64\lualatex.exe -interaction=batchmodesrc-specials main.tex lualatex.exe> ...
3
votes
1answer
2k views

LaTeX Command line in OS X

I need to run latex from command line for a project on OS X. LaTeX is installed in: /usr/local/texlive/2010 in the bin folder there are three folders: ...
10
votes
2answers
139 views

^^M garbles my terminal output

Contrarily to pdfTeX and XeTeX, which send ^^M to the terminal for the character 13, LuaTeX sends the character 13 itself. This garbles the output of my terminal (bash under Ubuntu 10.04). ...
7
votes
1answer
1k views

A \typeout (or expandable command) that can expand once - or with variable levels of expansion?

Consider the following MWE: \documentclass[12pt]{article} \begin{document} \def\aaa{something} \typeout{=1==\aaa==} \typeout{=1==\meaning\aaa==} \typeout{} \def\bbb{else \aaa, else} ...
5
votes
2answers
1k views

Output ASCII code as character on terminal in Latex?

If I have a letter/character, I can output its ASCII value using \number and backtick command: *\typeout{\number`a} 97 What do I do if I have "97", and I want to show "a" in terminal? I have ...
4
votes
1answer
337 views

Generating a catcode table in Latex (with \typeout to terminal)?

I often need to look up a catcode table, and quick searches on the web are rarely satisfying. So I thought, it must be (in the long term) easier to use a Latex function of sorts, to loop through all ...
17
votes
2answers
589 views

Avoid linebreaks in LaTeX console / log output

Is it possible to tell the LaTeX command not to use line breaks in its console / log output? This would make it easier to automate the processing of the log file, e.g. extracting the names of missing ...
6
votes
2answers
492 views

Deciding Boolean operation in LaTeX via Linux Terminal

How do I decide a Boolean operation in LaTeX via Linux terminal? That is, I have: %myfile.tex \documentclass{article} if parameter=true is true else is false \begin{document} parameter ...
6
votes
2answers
386 views

Backspace in terminal output

Is there a way to insert a backspace character while writing to the terminal? I'd like to remove the space character that is automatically inserted between two calls of \message{}: ...