# Tag Info

## New answers tagged include

0

It seems like the basic \include and \includeonly commands are all you need, but perhaps I misunderstand. If you create the following files and compile main.tex twice with the \includeonly line commented out, LaTeX will process the whole document and produce the table of contents with accurate page numbers. If you then uncomment the \includeonly line, ...

1

I figured it out by messing around: I tried using the same keyword "include" as in TeX, but with Asymptote syntax. And it worked. If I wanted to include a file named toupie.asy, located in the Figures folder, I'd write: \begin{asy} include '../Figures/toupie'; \end{asy} The only trouble is that my editor, TeXStudio, doesn't seem to recognise Asymptote's ...

0

It took me some time to figure this out, but as I just wanted to do the exact same thing, here you go 9 months later: Copy sphinx.sty to your main projects folder Add the following packages to your main file preamble: \usepackage{standalone} \usepackage{sphinx} Include your sphinx documentation like this: \part*{Appendix} \phantomsection ...

2

If you put \listfiles as the very first line of the master file, the name of every used file is dumped to standard output, including style and font definition files. This is plain old LaTeX.

7

Interesting. Not seen that before, I'd work around it as follows but we should probably make it not do that (not sure if it's graphics or pdftex.def at present) \documentclass{article} \usepackage{graphicx,fancyhdr} \newbox\zzz \sbox\zzz{\includegraphics[height=2cm]{example-image-a}} \fancypagestyle{xxx}{\fancyhead[C]{\usebox\zzz}} ...

Top 50 recent answers are included