New answers tagged

1

Here is a solution. With \pagenumbering{gobble} and \pagenumbering{arabic} \documentclass[12pt]{report} \usepackage{hyperref} \usepackage{pdfpages} \begin{document} \pagenumbering{gobble} \input{./texfrontpage.tex} \includepdf[pages={1,2}]{./pdf/information-page-one.pdf, ./pdf/information-page-two.pdf} \begin{abstract} Interesting stuff. ...


1

You can probably arrange to store each page in a box instead of shipping it out, and then sorting the boxes at the end, something like this: \documentclass[openany]{scrbook} \newcount\zzz \newif\ifdone \let\zzshipout\shipout \makeatletter \def\shipout\vbox#1{% \edef\x{\noexpand\typeout{page \thepage\space is box \the\zzz}}\x \global\setbox\zzz\vbox{#1}% ...


0

As egreg has pointed out, TeX is disallowed writing in directories above the current one or those specified with an absolute path. Relative paths are alowed, so we could do it by using \include{mydir/mytex} Provided mydir is located in the same directory as the main .tex file.


2

Complete example, using the \tooltip macro from this post (go there for further information about its usage and PDF reader compatibility): \documentclass[12pt]{scrbook} \usepackage{mwe} %example images \usepackage{tikz} %for building a graph %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % optimized for Adobe Reader ...


3

\include is really intended for the inclusion of chunks of a document which you might want to compile on their own while working on them e.g. chapters which are part of a book. As such, it is designed for that kind of case and comes with certain restrictions. It should not be used in the preamble, it cannot be nested and so on. \input is intended to read in ...


5

Under Linux, you can use the facilities of bash. First, you make an array—a list of .tex files in the current folder (based on a wonderful StackOverflow answer): arr=( $(find ./ -maxdepth 1 -iname "*.tex" | cut -c3- | sort | rev | cut -c5- | rev ) ) The cutlery removes the ./ at the beginning of each file (but we still want to preserve the relative file ...


4

You can't use \include in the preamble since it always issues a \clearpage -- which is 'typesetting' effectively. \input{} is possible for literal text content in the document body without formatting, but the usual empty lines etc. are regarded as start of new paragraphs. Another way is \lstinputlisting{filename} from listings package. ...


4

The warning is directly thrown by pdfTeX. The TeX macro level is not involved, thus package like silence do not work for this case. The warning can be suppressed by changing the source code of pdfTeX and recompiling.



Top 50 recent answers are included