Tag Info

New answers tagged errors

1

There are two things causing errors: In the center environment you have an opening brace ({) without a closing brace. As it stands, you can just remove that brace. titlesec is apparently not compatible with the KOMA-classes. I don't know if there is a way to use both, but the simplest solutions is either Remove \usepackage[clearempty]{titlesec}, or Use ...

0

I can reproduce your issue with this minimal document: \documentclass{report} \usepackage[magyar]{babel} \usepackage{amsthm} \newtheorem{definition}{Definíció}[section] \begin{document} \begin{definition} Az $S\in[a,b]$ \end{definition} \end{document} but only compiling with TeX Live 2012. Here is the console output, note the error message. > ...

1

Your code \innerblock[\titlecenter, \roundedcorners]{Cosheaves} {Let $\mathscr{X}$ be a topological space and $\mathscr{J}$ an abelian category. [...]} is wrong: there must not be a backslash in front of titlecenter and roundedcorners; moreover the latter option must be accompanied by a value. So it should be something like \innerblock[titlecenter, ...

0

The entry Faer2014 has both a Date and a Year field; remove one of them, preferably Date. Some other entries have unescaped # characters: edit them to be like @Misc{TSG-SA-WG3-44-Jul, Title = {Draft Report of SA3 meeting \#44}, Author = {{Secretary of 3GPP TSG-SA WG3}}, Note = {Abgerufen am ...

1

You've somehow got your Build System set to Python instead of LaTeX. You can change this from the menu under Tools > Build System which can be set to either LaTeX or Automatic. A likely culprit for this is the Anaconda plugin for SublimeText which seems to like to automatically change your builder to a Python builder. You can disable that behaviour through ...

2

In the preferences of TeXShop you need to make sure that the path settings are correct. They should be: /Library/TeX/texbin As in the image below.

2

Most likely the error is labelsep=emdash. Either the declaration has been forgotten or it's easy to define emdash: \DeclareCaptionLabelSeparator{emdash}{\textemdash} \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{setspace} \DeclareCaptionLabelSeparator{emdash}{\textemdash} ...

6

The definition of \MakeSentenceCase needs to allow for math mode. A possible fix is \makeatletter \def\blx@mksc@init{% \blx@mkcp@init \def\blx@mkcp@nil{\noexpand\blx@mkcp@nil\noexpand}% \def\i{\blx@mkcp@nil\i}\def\j{\blx@mkcp@nil\j}% \def\do##1{% \ifx##1\relax \else \def##1{\blx@mkcp@nil##1}% \expandafter\do \fi}% ...

0

On a Mac, you can change the mode of LaTeXiT by clicking on one of the buttons above the main window. It should avoid problems with the preamble and postamble.

6

You mustn't have align environments inside an equation* environment. No exceptions. Trying to compile your code as is simply won't work, and cannot work. I think that what's needed is to replace the align environments with array environments. By the way, there's no point in loading babel twice with the same language option. ...

2

The problem is in the automath feature of gb4e and the issue can be reproduced with the following minimal example: \documentclass[12pt,twoside]{report} \usepackage{media9} % sound files \usepackage{gb4e} % gloss \usepackage{cgloss4e} % gloss \begin{document} \section{Test} \includemedia[ addresource=click.mp3, transparent, ...

0

Here is a working way to execute latex from PHP. The point is that functions as exec, shell_exec, passthru, etc. get no or a vary limited PATH variable. However, latex, pdflatex and others use the path variable to call other programs. We therefore need to set the path appropriately, for example as follows: passthru('PATH=/usr/bin:PATH pdflatex file.tex'); ... 0 \documentclass[3p,authoryear,times]{elsarticle}%document class file \usepackage{amssymb,natbib} \begin{document} \begin{frontmatter} \title{TITLE TEXT} \author[1,2]{Mark\corref{cor1}} \address[1]{First address} \address[2]{second address} \cortext[cor1]{Corresponding author} \begin{abstract} abstract text \end{abstract} \begin{keyword} keyword1 \sep ... 0 Another future-proof answer, albeit rather tedious, is suggested here: Change all occurrences of _ in the URL field of your .bib file to their html character code equivalent %5F 0 I deleted the \usepackage{caption} line in the preamble and it runs without error. 0 The solution for the error prompted for \usepackage[spanish]{babel} : ! Package babel Error: Unknown option spanish'. Either you misspelled it Install the texlive-babel-spanish package via yum/dnf: sudo dnf install texlive-babel-spanish 1 The problem is that you have a semicolon (;) in your folder name and this is causing the error. The path isn't recognised by pdflatex because it contains the semicolon. 5 Chemistry: The letters for the atoms are set in math italics, if used in math mode. I would use a dedicated package (e.g., the example uses chemmacros) to get proper typesetting of the chemical formula. Numbers and units: The example uses package siunitx for the numbers with units. The package takes care of the symbols (degree celsius), the spacing between ... 0 Use \usepackage{bibnames} then add the following lines before \end{document} \bibliographystyle{splncs03} \bibliography{bib-file-name} 0 FWIW, my Float(s) lost error seemed to have been due to introducing a todo in a footnote probably because the package I use for adding todos uses marginpar internally. 3 The problem is that the newest version of the standalone.cls reads the aux-file with \globaldefs=-1, and this breaks the internal command \renew@command which relies on an \xdef inside a group. As hyperref inserts \providecommand in the aux-file (which uses the \renew@command) one gets errors. Avoiding hyperref could help, but there is no garanty that not ... 1 I would strongly recommend that you (a) use inline fractions instead of \frac and (b) use an align* environment to organize the material. Something like the following, then (note that I've modified some of your algebra): \documentclass{article} \usepackage{amsmath} % for 'align*' environment \begin{document} \begin{enumerate} \setcounter{enumi}{2} % ... 3 The error log shows \int #1->\csname i-#1 some code that you have not shown has defined \int by something equivalent to \renewcommand\int[1]{\csname i-#1} so it no longer denotes an integral sign, and you get the errors that you state. 2 I've compiled your document, and the main problem comes from the fact you seem to consider that in a maths formula, only the variables have to be enclosed between a pair of$…$. Example: (2$x$ + 5)^{2} instead of $(2x+5)^2$. While some symbols can be understood in text mode, such as + (with a bad spacing), most of them are understood by the compiler only ...

2

I have commented out the downright wrong code, with regards to LaTeX being able to compile it. As it stands, this code do compile, but the output result is not good. As mentioned in the comments to the question you are doing a lot of classic newbie mistakes (as we all have done at some point), and you should definitely read some basic LaTeX introductory ...

2

Sounds as if the map file has not been updated. Run on a command line updmap. Remark: This is often necessary -- if you don't kill the installation -- as the admin package manager can not update user map files.

1

The reason can be found in the log file: Class scrbook Info: Deactivating the titlesec workaround, (scrbook) because package is newer than expected on input line 4. There was an update of package titlesec. If you really want to use the new version together with a KOMA-Script class you have to install the prerelease of version KOMA-Script ...

1

I've given the log file a closer look and found the following hint: Class scrbook Warning: Usage of package titlesec' together (scrbook) with a KOMA-Script class is not recommended. (scrbook) I'd suggest to use the package only (scrbook) if you really need it, because it breaks several (scrbook) ...

0

As Werner stated already: The packages enumitem and enumerate do not like each other, but it's still possible to use the enumerate package code syntax by applying the shortlabels package option to enumitem. (I've reduced the not needed packages here, especially the sectsty etc. issues here -- that's worth another question) \documentclass[14pt]{extarticle} ...

-2

I had to rename the file. that was all. When the log says Please type another output file name one should do so.

Top 50 recent answers are included