Tag Info

Hot answers tagged


If you compile with pdflatex you can do this: \documentclass{article} \usepackage{Alegreya} \input glyphtounicode \pdfgentounicode=1 \pdfglyphtounicode{fj}{0066 006A}% f j \begin{document} fb ffb ff fh ffh fi ffi fj ffj fk ffk fl ffl ft fft \end{document}


First of all, you absolutely need to tell whoever is in charge of the project what you’re almost saying in the comments: what you’re asking to do here is the consequence of bad decisions that you shouldn’t have to deal with. All you’re doing here is working around these bad decisions because you can’t tackle the main issue. Now, as long as you’re aware of ...


The problem is, as far as I can see, that stringstrings tries expansion and that · is a two byte character. I'd suggest expl3 and \tl_remove_all:Nn that doesn't attempt expansion. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand\mycommand{m} { \tl_set:Nn \l_tmpa_tl { #1 ...


I had the same problem in preparing bibliography and I managed to solve it with a text editor Sublime Text. Open the tex file and Ctrl+F, make sure the regular expression (first button) is on and type in [^\x00-\x7F] to find. Special characters are circled.


You can use the following: {\dn f} {\dn \399wF} for "श" and "श्री".


The bookmark text for \faWrench contains a font command \Segoe (BTW, the command is a font switch command, not a macro with an argument). Font switch commands are NOT allowed inside bookmarks. Or does a PDF viewer exists, which can make use of a LaTeX font switch command? Instead of \newfontfamily\Segoe{segoeui.ttf} ...

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