Tag Info

Hot answers tagged compiling

7

Both Texmaker and TeXworks are able to do this. Texmaker: With the main file open, select Options --> Define Current Document as master document (How to best use and compile multiple .tex files as part of same final document?) TeXworks: At the top of the chapter file, write %!TeX root = /path/to/main/file For example, if main.tex is in the same folder ...

6

Use the command \endinput' to show the explicit end of a file. The LaTeX compiler will not read anything after this command. For clarity I would recommend you use it as follows %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput %%%%%%%%%%%%%%%%% Every thing ignored after this line %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

4

In your case the problem was using the 'Use a "build" subdirectory for output files option' of your editor. When Biber is invoked it looks for the .bcf file (in fact, Biber "compiles" the .bcf). But if the .bcf file has been moved to another subdirectory Biber is unaware of, Biber cannot find the file. For exactly this reason Biber has the --output-directory ...

4

I'm using TeXMaker to write my thesis, and after trying with include and input, that had the problem you mentioned, i ended up using the subfiles package, in this way: Main document \documentclass{report} \usepackage{subfiles} \begin{document} \subfile{./Chapter} % Chapter file's name (and position) \end{document} Chapter document ...

3

(defun yuxuan-save-and-compile (extended) "Save and run the default command. With a prefix argument, just run TeX-command-master'." (interactive "P") (save-buffer) (if extended (call-interactively #'TeX-command-master) (TeX-command TeX-command-default #'TeX-master-file nil))) Bind to whatever key you think is appropriate. With a prefix ...

3

If you are using TeX Live, you don't need to run texhash when adding files to your personal tree. However, I wouldn't add your customised texmf.cnf there. Probably TeXworks starts a new shell for a compilation run which likely doesn't read ~/.bashrc. Better would be to create the file somewhere your TeX installation will look by default anyway. On TeX ...

3

that perhaps there might be some case where that message is not generated, but the PDF file does not contain any content, or there are other catastrophic failures that can occur. This document doesn't produce any error or "no output PDF produced" warning but may be considered as perhaps an error that should be fixed. It may or may not be a case of the ...

2

If you are using XeLaTeX, a substantial amount of time is spent gzipping data with highest compression (9) in the xdvipdfmx command. ~$xdvipdfmx --help … -z number Set zlib compression level (0-9) [9] … For me, on a 90 page document: ~$ time xelatex -interaction=nonstopmode Thesis.tex … real 0m6.056s ~\$ ls -lh Thesis.pdf … 6,0M … Thesis.pdf ...

1

Biber 2.2 DEV is now updated on SourceForge with an updated PAR::Packer module which is supposed to fix this. Now, biber should be able to unpack itself properly again after any OS tmp cache cleanup.

1

The string \textit{test} consists of ASCII characters, which are not touched by package inputenc. The string only happens to appear on the line of the error. The problematic character is elsewhere on the line. Often this error is caused by an unbreakable space character U+00A0. Delete the rest of the line or rewrite the whole line and try again. Also a hex ...

1

Here is a basic tutorial for a Unix-like system (tested on Debian GNU/Linux). Yes, one can use latexmk, arara, shell scripts, or editor functions to automate much of this, but I wanted to demonstrate the simplest way to write and compile a LaTeX file "by hand" in the terminal. Open Terminal emulator Enter a directory where you will create your files. Type ...

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