ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* troubles with latin modern and mutool
@ 2020-03-23 11:12 Damien Thiriet
  2020-03-24  9:18 ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Thiriet @ 2020-03-23 11:12 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: troubles with latin modern and mutool
  2020-03-23 11:12 troubles with latin modern and mutool Damien Thiriet
@ 2020-03-24  9:18 ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2020-03-24  9:18 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: troubles with latin modern and mutool
       [not found] <mailman.1696.1585233091.1332.ntg-context@ntg.nl>
@ 2020-03-26 19:45 ` Damien Thiriet
  0 siblings, 0 replies; 4+ messages in thread
From: Damien Thiriet @ 2020-03-26 19:45 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* troubles with latin modern and mutool
@ 2020-03-23 11:47 Damien Thiriet
  0 siblings, 0 replies; 4+ messages in thread
From: Damien Thiriet @ 2020-03-23 11:47 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-26 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 11:12 troubles with latin modern and mutool Damien Thiriet
2020-03-24  9:18 ` Pablo Rodriguez
2020-03-23 11:47 Damien Thiriet
     [not found] <mailman.1696.1585233091.1332.ntg-context@ntg.nl>
2020-03-26 19:45 ` Damien Thiriet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).