From khoi at bknguyen.be Sat Feb 7 22:26:43 2015 From: khoi at bknguyen.be (Binh-Khoi Nguyen) Date: Sat, 7 Feb 2015 22:26:43 +0000 Subject: [Assist] Pandoc and Tex Message-ID: <20150207222643.GA20408@libreboot.studentcom.co.uk> Hi, When I attempt to convert a markdown file to LaTeX/beamer, I get the following error: ! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found. relax l.100 \fontencoding\encodingdefault\selectfont pandoc: Error producing PDF from TeX source I assume pandoc is attempting to load a non-free font (I have all the texlive packages installed). How do you work your way around this? -- Binh-Khoi NGUYEN khoi at member.fsf.org b.nguyen12 at imperial.ac.uk GPG Key: https://bknguyen.be/gpg.html From khoi at bknguyen.be Sun Feb 8 21:32:56 2015 From: khoi at bknguyen.be (Binh-Khoi Nguyen) Date: Sun, 8 Feb 2015 21:32:56 +0000 Subject: [Assist] Pandoc and Tex In-Reply-To: <20150207222643.GA20408@libreboot.studentcom.co.uk> References: <20150207222643.GA20408@libreboot.studentcom.co.uk> Message-ID: <20150208213256.GA9646@bkn.studentcom.co.uk> Actually, I found the solution by myself.. I just added --latex-engine=xelatex... Sorry for the stupid question :) On Sat, Feb 07, 2015 at 10:26:43PM +0000, Binh-Khoi Nguyen wrote: >Hi, > >When I attempt to convert a markdown file to LaTeX/beamer, I get the >following error: > >! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found. > relax l.100 \fontencoding\encodingdefault\selectfont > >pandoc: Error producing PDF from TeX source > >I assume pandoc is attempting to load a non-free font (I have all the >texlive packages installed). > >How do you work your way around this? > >-- >Binh-Khoi NGUYEN >khoi at member.fsf.org >b.nguyen12 at imperial.ac.uk >GPG Key: https://bknguyen.be/gpg.html >_______________________________________________ >Assist mailing list >Assist at lists.parabola.nu >https://lists.parabola.nu/mailman/listinfo/assist -- Binh-Khoi NGUYEN khoi at member.fsf.org b.nguyen12 at imperial.ac.uk GPG Key: https://bknguyen.be/gpg.html From theroarofthedragon at gmail.com Mon Feb 9 15:09:00 2015 From: theroarofthedragon at gmail.com (Arun I) Date: Mon, 9 Feb 2015 20:39:00 +0530 Subject: [Assist] Pandoc and Tex In-Reply-To: <20150208213256.GA9646@bkn.studentcom.co.uk> References: <20150207222643.GA20408@libreboot.studentcom.co.uk> <20150208213256.GA9646@bkn.studentcom.co.uk> Message-ID: <20150209203900.10df9865@steel> I think you are talking about the same problem in the following thread: https://lists.parabola.nu/pipermail/assist/2014-November/000329.html I faced the same problem earlier and it was fixed by switching to a unicode TeX engine such as XeTeX or LuaTeX. Some programs (like dblatex and pandoc) let you switch the engine easily with a nice command line argument, whereas in other programs (like sphinx), I don't think there are any easy ways. You can also read more about the use of the XeTeX and LuaTeX engines here in this wikibook: https://en.wikibooks.org/wiki/LaTeX/Fonts#Using_arbitrary_system_fonts From khoi at bknguyen.be Mon Feb 9 17:21:58 2015 From: khoi at bknguyen.be (Binh-Khoi Nguyen) Date: Mon, 9 Feb 2015 17:21:58 +0000 Subject: [Assist] Pandoc and Tex In-Reply-To: <20150209203900.10df9865@steel> References: <20150207222643.GA20408@libreboot.studentcom.co.uk> <20150208213256.GA9646@bkn.studentcom.co.uk> <20150209203900.10df9865@steel> Message-ID: <20150209172158.GA19460@libreboot.studentcom.co.uk> Hi, Thanks for your reply, it was really useful :) Khoi On Mon, Feb 09, 2015 at 08:39:00PM +0530, Arun I wrote: >I think you are talking about the same problem in the following thread: > >https://lists.parabola.nu/pipermail/assist/2014-November/000329.html > >I faced the same problem earlier and it was fixed by switching to a >unicode TeX engine such as XeTeX or LuaTeX. > >Some programs (like dblatex and pandoc) let you switch the engine >easily with a nice command line argument, whereas in other programs >(like sphinx), I don't think there are any easy ways. > >You can also read more about the use of the XeTeX and LuaTeX engines >here in this wikibook: > >https://en.wikibooks.org/wiki/LaTeX/Fonts#Using_arbitrary_system_fonts >_______________________________________________ >Assist mailing list >Assist at lists.parabola.nu >https://lists.parabola.nu/mailman/listinfo/assist -- Binh-Khoi NGUYEN khoi at member.fsf.org b.nguyen12 at imperial.ac.uk GPG Key: https://bknguyen.be/gpg.html