On 9/13/22 17:28, Eloi Torrents wrote: > If I run `pandoc lgem.md -o lgem.ltx` I get: > > \hypertarget{pelluxedcules}{% > \section{Pel·lícules}\label{pelluxedcules}} > > I think it is a problem of the font, I tried adding > > I'm on void linux, I have dejavu-fonts-ttf and texlive-fontsextra > installd. How can I check if I'm missing some important package? Sorry, but last time I used pdflatex it was (almost) two decades ago. Its updated version is called lualatex. > Using xelatex I don't get the error, but the output is still spaced. > > Thank you for the proposal of using "ŀ", I'll use it for now, but I > would like to not have any problem with "l·l". In that case, you could use the following (sorry, ConTeXt source, since I don’t use LaTeX [but read below]): \startluacode fonts.handlers.otf.addfeature { name = "liga", type = "ligature", data = { ['ŀ'] = { "l", "·" }, ['Ŀ'] = { "L", "·" }, } } \stopluacode \setupbodyfont[termes, 48pt] \starttext \startTEXpage[offset=1em, align=middle] cel·la ceŀla\\ CEL·LA CEĿLA\\ \feature[+][smallcaps] cel·la ceŀla \stopTEXpage \stoptext It works only for LuaTeX. https://tex.stackexchange.com/q/312154 explains how to use this in LuaLaTeX. Copy right after "\usepackage{fontspec}" in your LaTeX source (I have no idea on how to add this automatically when converting Markdown sources): \directlua { fonts.handlers.otf.addfeature { name = "liga", type = "ligature", data = { ['ŀ'] = { "l", "·" }, ['Ŀ'] = { "L", "·" }, } } } BTW, as showed in the PDF document, this won’t work with small caps (either OT feature, or special font). Just in case it might help, Pablo -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/35bbc615-41f4-841a-697d-e689aed0a763%40web.de.