On 3/23/20 12:12 PM, Damien Thiriet wrote: > Hello, > > I am facing some unexpected troubles while splitting my lessons to send > them to my pupils. > My idea was to use mutool draw to extract only the pages of my > presentations relevant to my lesson of the day. > Unfortunately, when I do for example > > mutool draw -o file-beginning.pdf file.pdf 2,5 > This extracts pages 2 to 5 > I got those warnings > > warning: cannot create ToUnicode mapping for GWKFXT+LMSans10-Regular
Hi Damien, I don’t get these warnings with the following sample: \setupbodyfont[sans] \starttext \dorecurse{5}{% \recurselevel\footnote{\recurselevel}\page} \stoptext I use LuaTeX 2.05 20200229 + ConTeXt MkIV 2020.03.10 14:52, but I remember that I built mupdf from git sources (so my version is later than 1.16.1 [to be released yet]). > The resulting pdf is perfectly readable on my computer, but some pupils > claimed they received garbage encoding and an unreadable pdf (on OSX at > least). > This might be a mutool bug, so I don't send any MWE. > > Do you know any alternative to mutool draw to send clean pdf from pages > of my presentations? PDFtk, Multivalent or ConTeXt itself (\filterpages or something similar). I hope it helps, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________