# Tag Info

15

This is possible with pandoc. If the Markdown you've posted is in the file test.md you can generate a PDF called test.pdf with the following command: pandoc test.md -o test.pdf The PDF file looks like this: pandoc converts the Markdown to a PDF using LaTeX. It recognizes that the input is Markdown from the file extension, but if you use a different ...

13

the file doesn't use the missing mathdef.tex file so if you comment out that line it runs without error to produce

4

I'd use RedNotebook for notes and small documents. It's really a journal or diary, but it lets me to take quick notes with (modified) markdown and MathJax (with webkit), and then, if necessary, to export to html or pdf or LaTeX. If I type: = Title = Here is a //short document// including Markdown and Math, here is the equation: $$f(x)=x^2$$ ...

4

The xgreek package defines Greek numerals in a quite contorted way, that makes it difficult to change the representation. Here's code that should work better and allowing locally to change the representation by omitting the numeral sign. \documentclass{article} \usepackage{fontspec,xgreek,enumitem} \setmainfont{GFS Artemisia} \usepackage{polyglossia} ...

4

First of all, I noticed that you used \''\u to try to write the ü-umlaut. The shortcut for the three German umlauts and the sz ligature actually are: \"a for ä, \"A for Ä \"o for ö, \"O for Ö \"u for ü, \"U for Ü \ss{} for ß What is way easier than typing those shortcuts and leads to a cleaner source, though, is saving your files with UTF-8 encoding and ...

3

For the fun of it. See also The LaTeX runs (with varioref) never settle down to a stable final state. \documentclass[a4paper]{article} \usepackage{geometry} \begin{document} \pagenumbering{Roman} I\clearpage II\clearpage III\clearpage IV\clearpage V\clearpage VI\clearpage VII\clearpage \section{foo} xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx ...

3

The error you are getting is because you are trying to use the apacite bibliography style without loading the apacite package. Since you are using natbib citation commands you should load the package with the natbibapa option: \usepackage[natbibapa]{apacite} See the following question for more discussion: What is the relationship between natbib, ...

3

Re-running the compilation cannot be avoided. animate uses the atenddvi package, which requires at least 2 runs. Also, animate sometimes needs the number of frames in an animation, which is only known during the second run. Other packages and functionalities, unrelated to animate, may need an additional run too (hyperref or the \label/\ref mechanism come to ...

3

Your document runs without error on an updated latex. You haven't shown the start of the log which would show the latex version but it looks as if you have an inconsistent installation with ltluatex.lua coming from the October 2015 latex release but a format from the 2015/01/01 release. Most likely you have the updated files but the formats did not rebuild. ...

2

What I meant by my original comment is this: with pandoc -t html5 -o test.pdf test.md you can bypass LaTeX entirely; you are only required to install wkhtmltopdf, which is a single executable like pandoc on windows. Results as follows: You may control the output with css.

2

Quoting from the filecontents package, which in turn quotes from ltclass.dtx (the emphasis is my own) The environment filecontents is intended for passing the contents of packages, options, or other files along with a document in a single file. It has one argument, which is the name of the file to create. If that file already exists (maybe only in ...

2

Replacing if [[ -f '$1.tex' ]] with if [[ -f "$1.tex" ]] fixed the error. The double quotes were needed to expand the variable.

1

The procedure suggested by @framerius works, but requires a little hack. I will summarize his answer here as well, for completeness. The issue is that bibtex ability to write to $TEXMFOUTPUT is restricted to avoid file overwriting and the bibtex command returns an error message bibtex: Not writing to$TEXMFOUTPUT/src.blg (openout_any = p). Open the file ...

1

It's not really possible for glossaries to provide a warning for all those nested levels of dependency, but adding hyperref does give a warning if an entry has been used but doesn't appear in the glossary. Example: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage{glossaries} \makeglossaries \newglossaryentry{animal}{% name ...

1

Although there is already an answer to this question, I think it is wrong. TeXShop users are always complaining about this problem and hardly any other people are complaining. I've been a TeXShop fan almost since the first edition but this is its most annoying feature. It happens to me all the time in TeXShop and almost never in any other program I use, ...

1

Lilypond book is a Python script. You will need Python installed, and then you can run lilypond-book.py (with the file extension), or add .py to Windows' list of executable file extensions if you really want to skip adding the extension.

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