Hot answers tagged

9

With the freshly released TeX Live 2016, there are a couple of options to achieve reproducible builds: For pdfTeX only (version ≥1.40.17), there are three new primitives: \pdfinfoomitdate, which removes the /CreationDate and /ModDate entries in the document info dictionary. By default, these entries would be set to the date when the document was compiled. ...


7

Don't take up LEd. That project has deprecated long time ago and the editor is quite buggy though I wish they continued. Because it had really nice ideas implemented as beta. There are much more recent and advanced editors out there for each OS and LEd is just a historical artifact.


6

You should protect commands in a \addcontentsline argument so that they don't break when are written to the toc. In your case (the other commands are robust): \addcontentsline{toc}{chapter}{{\normalfont\itshape #1}\vspace{1ex}\newline% \protect\hspace*{1em}\protect\parbox{\textwidth}{#2 \protect\dotfill}}


6

when TeX opens a file for input it adds ( to the log and when it closes it it adds ) so you can tell which file is open at the point the error is detected by seeing which file path is by the nearest unmatched (. In both cases here the error is detected in the top level input file. If you use test1.tex \documentclass{article} \input{test2} \begin{document}...


4

Your issue is due to the fact that LaTeX 'flounders' a bit* between the old entries in the table of content that do not exist anymore (\addcontentsline{toc}{section}{sectionname}), and the new ones that have the same name (generated by the \section{} macros). The solution is thus to delete the auxiliary files to have a fresh start (actually, just the .aux ...


4

The tocdepth must be set again to 1, lately at the end of the document. This can be done either manually or in the \AtEndDocument hook. This must be written to the .toc. In addition the tocdepth counter must be set to 0 before using the various blabla sections. \documentclass[11pt]{article} \usepackage[left=2cm,top=2cm,right=2cm,bottom=2cm]{geometry} \...


3

Classicthesis does already load the scrlayer-scrpage which is the successor to scrpage2. Your document compiles after removing the \usepackage{scrpage2}. Proof: ftp://ftp.mpi-sb.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/classicthesis/classicthesis.sty


3

The reason for your problem is a Windows reason: you can not copy an installed program from computer A to computer B. That can be possible with UNIX, but not with Windows. Windows needs to install several files into a special system drive. Theese files are missing when you did your copy. So please delete all this files, download the MiKTeX installer you ...


2

I have made a live preview plugin for WinEdt. It will show the preview of current paragraph in the upper right corner of WinEdt. Furthermore it will update the preview automatically if current paragraph has been changed.


2

The apacite manual clearly states on page 47, Section 8.2: The hyperref package turns (cross-) references into hypertext links. This can be used in conjunction with a program such as LATEX2HTML to compose .html les with clickable links, to internet pages or within the same document, or it can be used to create a .pdf document with clickable ...


2

Here is a solution Notes The solution use (la)TeX loop. File names changed 1_1_1 -->1+1+1 (this is easier) \documentclass{article} \usepackage{lipsum} \setcounter{secnumdepth}{4} \newif\ifmoreinput \newcounter{sec} \newcounter{ssec}[sec] \newcounter{sssec}[ssec] \newcounter{parg}[sssec] \begin{document} \loop \stepcounter{section}% \stepcounter{sec}...


2

This approach may not be a good idea, LaTeX is designed to take care of the numbering for you (for example when you decide later to add a section between 1 and 2). If you want to do it anyway, a scripting language is probably the easiest way. Example in Perl: use File::Find; use Cwd; # get working directory for script $cwd1 = getcwd(); # find all tex ...


1

You can try to make your compilation more verbose using \message: \newcommand{\myinput}[1]{\message{[START input of #1}\input{#1}\message{END input of #1]}} \myinput{test2}


1

Looking at revision 147 of moderncv, I am using following workaround with version 1.5.1 of moderncv as included in TeXLive 2015: \def\faCircleBlank{{\faCircleO}}. Make sure to place that directly after \documentclass, before \moderncvstyle or similar! Another solution would be to update to version 2.0.0 of moderncv.


1

I experienced the same problem but figured out that it was simply a conflict with Google Drive, trying to sync the file before texmaker managed to finish compiling. So if you have continuous backups with Google Drive, Dropbox or similar, try to close them and compile again.


1

You can use ShareLaTeX on public repos, but the problem is that you can compile only one file in a repo. Or you can use a payed version and sync your ShareLaTeX account with GitHub too.



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