# Tag Info

23

Personal Statement I am a command-line human and (blissfully) ignorant of LaTeX IDEs (front ends) and editor specific compilations. I do my typing in emacs using AUCTeX, and compile in a terminal. So, my answer is focused in the command-line area. The Solution Actually, there is a civilized way to kill LaTeX, as asked by you. Enter x at the prompt, ...

4

There are basically two classes of warnings issued by LaTeX; those issued by the typesetting engine, for instance Overfull \hbox (153.62823pt too wide) in paragraph at lines 10--10 and warning issued by LaTeX, for instance LaTeX Warning: Float too large for page by 275.0pt on input line 17. The first kind of warning can't be turned into an error ...

4

This isn't latexmk automagic, but it avoids recompiling if the source .tex file hasn't changed: latexmk -pdf file.tex make -n -f file.makefile > /dev/null | grep pdflatex > /dev/null if [ \$? -eq 0 ] ; then make -f file.makefile latexmk -g -pdf file.tex fi If the auto-generated makefile isn't actually going to compile any figures, the string ...

2

This is not a straight forward answer to your question, but another way of achieving your overall goal: Outsourcing TikZ-pictures and rebuilding them only if they have changed. This can be done using the standalone class: documentclass{article} \usepackage[mode=buildnew]{standalone} \begin{filecontents}{plot.tex} \documentclass[tikz]{standalone} ...

2

May I recommend the tool "arara"? Just use the following MWE: % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass{article} %other packages \usepackage{nomencl} \renewcommand{\nomname}{Abbreviations} \makenomenclature \begin{document} \printnomenclature \section{Experimental Part} \textit{Synthesis of some compound ...

2

Here is a MWE which employs the standalone package. The main file main.tex is the following: \documentclass{article} \usepackage{standalone} \begin{document} \input{file1} \pagebreak \input{file2} \end{document} In turn, file1.tex is: \documentclass{standalone} \begin{document} Hello world! \end{document} and file2.tex is: ...

2

With the LaTeX toolbar you can use the "Next Error (F9)" and "Previous Error (Shift+F9)" buttons to jump from one error to the next/previous. The same goes for jumping between warnings and bad boxes.

1

In TeXShop, the Typeset menu includes a line Pdftex. Make sure that is ticked to run pdflatex instead of latex. If you wish to supply a bounding box explicitly to an \includegraphics command whilst specifying the width the syntax is \includegraphics[width=0.8\linewdith,bb=0 0 100 100]{figurefile} with options one set of square brackets and separated ...

1

The problem is that latexdiff wraps \intertext{Then} with the command \DIFadd{...}, which marks the stuff you add in the new version. But since \DIFadd is not a legitimate command inside align*, TeX throws an error. To make the code compile, replace \DIFadd{\intertext{Then}} with \intertext{\DIFadd{Then}} The last bit of output should look like this: ...

1

This problem was tackled successfully on NeXTstep where the TeX process would allow access to a .dvi file after a complete page was written to it via IPC (InterProcess Communication). This feature seems to now be part of pytex and the TeX Daemon --- one can improve TeX performance by: not loading unnecessary packages selectively processing only a portion ...

1

This would be a reply to the OP's comment, but for the need for formatting (and probably length). Create a file containing the following, call it hw.tex \documentclass{article} \begin{document} Hello World \end{document} from the command line, in the folder where that file is saved, type pdflatex hw. Does it work? then move hw.tex to c:\, and run ...

1

This answer has been tested and it works as expected. Step 1: Create a batch file To avoid recompiling the C# source code to be in sync with the (La)TeX compiler you want to use, it will be convenient to create a batch file. The batch file executes (La)TeX compiler behind the scene. Save the batch file anywhere and set the PATH system variable to the batch ...

Only top voted, non community-wiki answers of a minimum length are eligible