Re: [NTG-context] troubles with latin modern and mutool

2020-03-26 Thread Damien Thiriet
Hi Pablo, Hi list,

\filterpages made the job and saved me a lot of nerves, another ConTeXt
great command!

Many thanks for the tips,


Damien Thiriet

___
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
___


Re: [NTG-context] troubles with latin modern and mutool

2020-03-24 Thread Pablo Rodriguez
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
___


[NTG-context] troubles with latin modern and mutool

2020-03-23 Thread Damien Thiriet
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

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?
Regards,

Damien Thiriet 

___
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
___


[NTG-context] troubles with latin modern and mutool

2020-03-23 Thread Damien Thiriet
As an addition to my mail. 
I tried poppler pdfseparate and pdfunite,
but the resolution is too high and my extract is much eavier than the
original file.

As an alternative,
Is there a way to compile just a part of a context file, keeping the
whole toc? My college pupils will get lost if my 3) is changed to a 1)
(don't whether this is only typicall for French pupils).

Regards,

Damien Thiriet

___
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
___