Questions tagged [terminal-output]

This tag shall be used for questions related to the terminal, e.g. using `\typeout` or interacting with the command-line from within a LaTeX document. It should not be used for questions just using a terminal-output to describe their error message.

5
votes
1answer
74 views

How to halt compilation and output error message to the console with expl3?

How to stop compliation and output an error message if conditional statement resolves to true? \documentclass[varwidth]{standalone} \usepackage{expl3} \begin{document} \ExplSyntaxOn \...
0
votes
0answers
43 views

Better latex output, instead of being wrapped on Terminal?

Latex output is being wrapped, even if there is space on Terminal: While if I list the files ls command output seems normal (as expected): I checked Avoid linebreaks in LaTeX console / log output (...
0
votes
2answers
36 views

Output formatting within \message

Is there a list or overview of character codes that can be used within \message or \typeout to format the printed string in pdfTeX, Version 3.14159265-… (TeX Live 2017)? I know of ^^J which does a ...
1
vote
1answer
44 views

Is there way to reconfigure LyX from terminal?

I can't find anything on the wiki. I'm using a Mac OS X 10.11.6 if that helps. https://wiki.lyx.org/Mac/Mac EDIT: I was trying to find a shortcut for the tedious Tools > Reconfigure.
1
vote
1answer
62 views

Do latex cli tools exists

I get really annoyed when I have to go find my tex template or download the template or recreate one from memory. Do Latex cli tools exist for linux where, in the terminal, I can write something like:...
1
vote
1answer
414 views

Copy Output table in Jupyter for LaTex Dument

I am trying to write a report for my project in LaTex. I am able to put code onto my LaTex Document, but I wanted to know if it is possible to import my output cell which is a table onto my LaTex ...
1
vote
0answers
13 views

copy code from beamer-pdf into terminal [duplicate]

I want to talk about git and created some slides, where I use a listings enviroment to mark code that can be typed into the terminal (see minimal example). Unfortunately, when I want to copy the code ...
2
votes
2answers
89 views

suppressing messages to standard output from package morewrites

I have to use morewrites and I do not like the fact that it writes to standardout since I miss other messages. Is it possible to suppress the messages concerning .mw? That is [1] (./debug-morewrites....
1
vote
1answer
179 views

In Luatex, how to know effective output directory?

I need to know what is the actual output directory, as set by the -outdir or -output-dir command line switch, because I am executing external programs and I need to give them the exact location of the ...
1
vote
1answer
275 views

Is there a way to suppress all LuaTeX output except errors?

Basically, TeX has a lot to say, and I'm not really interested in most of it. If I were, I'd read the log. The silence package suppresses output, but it suppresses output to the log as well, and ...
2
votes
2answers
162 views

Chapter names from terminal

Is there out of the box way how to list chapters of Book document from terminal via MacTex? I want to keep list of chapters somewhere aside from the actual chapter files. Like one independent ...
2
votes
3answers
985 views

Too many alphabets, how to avoid this error?

I'm having a problem when I try to use too many different types of math symbols in LaTeX, such as in this example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{latexsym} \...
4
votes
1answer
57 views

Can Bibulous be run from the terminal?

I want to use Bibulous to create custom bbl files. However, I don't use the programs for which Bibulous was designed to integrating with. Is it possible to run the program from the terminal? I would ...
3
votes
1answer
67 views

How to output a repetitive string on console using typeout

I'm trying to create an easy macro to trace - on the console - the source files of my input. In first intention, I want to create a new command called "TraceHere" that will output the current filename ...
0
votes
1answer
49 views

Click on the output of the tex file [closed]

When i click on the output of the my Tex file, instead of opens in the my Tex file, It opens in a notepad file. I would greatly appreciate for any suggestions. I find the following option in the PDF ...
1
vote
0answers
103 views

Display Ubuntu terminal output [duplicate]

I am writing a memoir in latex. I have lot of output from Ubuntu terminal and I have tried to put in verbatim, but this is really not pretty. I was wandering if there is a latex tip to put Linux ...
2
votes
0answers
1k views

LaTeX can't find .cls files

I recently downloaded MacTeX-2015 and wrote a very short file which I called test.tex: \documentclass{article} \begin{document} Hello world. \[ e^{2\pi i} = 1. \] \end{document} I opened the file ...
14
votes
3answers
3k views

Terminal screenshot generator

I would like to document work in console while I also think that bitmap images are not the best way to do it. They do not scale well and after all what I am trying to document is text. Therefore I ...
2
votes
2answers
546 views

How to print the content of a macro to the terminal

I am writing letters of application to various companies and to speed up the process I have few macros defined in my .tex file i.e. \def\company{ Company name ABCDEF } I know that one can do \...
0
votes
2answers
3k views

Latex labels in gnuplot and pdf output

I was wondering if is possible to have latex labels in Gnuplot but with pdf output instead .tex Thanks.
4
votes
1answer
3k views

What is a terminal in LaTeX? And why are there so many?

As I am reading through the LaTeX literature available on the net I am comming across all this different terminal names, such as: latex, tikz, eepic, gnuplot, epslatex, cairolatex, emtex, pslatex, ...
4
votes
1answer
394 views

What's the difference between terminal application of XeLaTex and XeTex?

On my Mac I wanted to create the PDF via terminal, and I found I cannot use xetex filename.tex, but xelatex filename.tex works just fine. I checked the file, xelatex is actually an alias pointed to ...
4
votes
2answers
261 views

Unescape commands argument in typeout

I have a macro which uses \typeout to print messages. I would like to unescape these. \newcommand{\mymessage}[1]{ \typeout{#1} } Then \mymessage{foo\#bar} should print foo#bar. Right now it prints ...
1
vote
0answers
200 views

Simple .tex file not compiling using terminal [closed]

I am using Mac and I am trying to compile a .tex file using the terminal (it should work the same way as in linux, as far as I know). However, I have been trying to include a picture to my code but ...
3
votes
1answer
464 views

Select/copy text form TexShop Console

I use TexShop and would like to be able to copy text from the console of TeXShop to post it for instance in this forum. I cannot do that. One cannot select text from the console. Is there a way to ...
2
votes
2answers
5k views

Latex by using command lines in a terminal

Sorry for my silly question but I've always used latex from an editor and also with the most basic commands to write my math homework. Now that I need a few more resources to apply in my documents I ...
1
vote
0answers
327 views

Run pdflatex from external application

I use a Mac. When I open up the Terminal and run commands like pdflatex Preface.tex, all is well. I'd like, however, to trigger this command from within MatLab. When I do so, it doesn't recognise "...
0
votes
0answers
46 views

How to disable showing log on terminal in latex [duplicate]

How do I disable showing all information to the terminal? Is possible to only show errors not log,warnings etc.?
4
votes
1answer
13k 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
833 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
1k 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
109 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 ...
3
votes
1answer
614 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* ...
4
votes
1answer
207 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 ...
1
vote
0answers
5k views

pdflatex (command not found) on terminal for mac [closed]

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
137 views

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

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 ...
16
votes
2answers
608 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
79 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 ...
11
votes
4answers
5k views

pdflatex commandline hide compilation output

My program produces multiple outputs: I have a .tex file compiled, and some of them are produced in the command-line. The compilation info of pdf-latex is useless to me and I would like to hide it to ...
3
votes
1answer
393 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 ...
7
votes
1answer
404 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
1answer
187 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 \...
4
votes
0answers
165 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
408 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
613 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 ...
12
votes
1answer
401 views

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

Reading the question How to visualize the underfull box in final output 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
250 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 ...
7
votes
1answer
1k 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
42 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 ...
3
votes
1answer
694 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> This ...