Hot answers tagged

3

In an earlier version used variable \makecvtitlenamewidth has been renamed to \makecvheadnamewidth in the current version of moderncv, version 2.0.0. So you have to change the variable name in your code. See the following MWE (changes marked with <==============): \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} ...


2

I just remembered: I added some time ago this in my the UserData-texmf tree in ...\fontconfig\config\localfonts2.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <selectfont> <rejectfont> <glob>D:/MiKTeX2.9/fonts/type1/public/fontawesome/*</glob> </rejectfont> &...


2

there is a line Output written on thesis.pdf (14 pages, 126299 bytes). about 25 lines from the end that reports the successful completion of the latex process. the failure here is in the attempt to process the bibliography with bibtex. this failure has short-circuited the "extended" compile procedure defined by miktex. (this contradicts your statement that ...


2

If you pass \newcommand{\home}{$HOME} in the command line, then the shell will interpret the variable, but in a TeX file it would not work. You can use catchfile and kpsewhich that, I believe, also works in MiKTeX. \documentclass{article} \usepackage{catchfile} \CatchFileEdef{\home}{|"kpsewhich -var-value=HOME"}{\endlinechar=-1 } \begin{document} \...


1

I can't really believe that $HOME works, but on windows you can use something like this (to avoid problems with the backslash in pathes, one should print the path with another catcode table): \documentclass{article} % \usepackage{graphicx} %log all values of os.env: \directlua{for k, v in pairs( os.env ) do texio.write_nl ("key: "..k .. " value: ".. v)...


1

There is os.getenv function provided by Lua, so I would use that: \documentclass{article} \newcommand\home{\directlua{tex.print(-2,os.getenv("HOME"))}} \begin{document} this is home: \home \end{document}


1

As mentioned in a comment in the question you linked too, one can allow miktex to write to absolute pathes by creating the environment variable MIKTEX_ALLOWUNSAFEOUTPUTFILES and setting it to the value 1. Then externalization to an absolute path works fine for me if I avoid to use a path with spaces in it. But I don't recommend this. This is very ...


1

I use WinEdt, and here is what works for me: "C:\Program Files\WinEdt Team\WinEdt 10\WinEdt.exe" "[Open(|%f|);SelPar(%l,10);]" In Sumatra click Menu/Settings/Options, then in the last box on that dialog box copy and paste the above.


1

I am not sure in which version this feature was introduced, but TeXstudio now allows entering an additional search path for commands. The benefit of this is that it will also allow TeXstudio to find "texdoc.exe", allowing the user to access package documentations from within TeXstudio. This solution does not apply to DVI, PS and external PDF viewers as well ...


1

In my expirience, the best way to learn LaTeX (or any programming language for this matter) is to have concrete project to work at. So If you studding math, physics, computer science or anything of this kind, just start doing you homework, papers or anything in latex, and ask if you have questions. As it comes to resources: I don't know any page better than ...


1

I have found out that downloading dummy-space.pfb and dummy-space.tfm from here and storing them next to my tex file makes my second MWE compile successfully. The line \pdfmapline{+dummy-space <dummy-space.pfb} seems to be required -- it does not compile without it. Of course, I would be interested in a more automated solution available through the ...


1

There are several errors here. First: a path for windows 64 bit has to look like c:\Program Files\MiKTeX 2.9\doc\bibtex\apalike\apalike.doc and not yours path="C/program Files/MiKTeX 2.9\doc/bibitex/apalike/apalike.doc. you missed : and mixed \ and /. In LaTeX it could be that the path is printed with the linux path delimiter /. But if there is a mixing ...



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