ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: troubles with latin modern and mutool
Date: Tue, 24 Mar 2020 10:18:09 +0100	[thread overview]
Message-ID: <45015ab3-ca01-95b2-a4f8-990df1e1b1e3@gmx.es> (raw)
In-Reply-To: <20200323111230.GA33481@maroilles.home>

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
___________________________________________________________________________________

  reply	other threads:[~2020-03-24  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 11:12 Damien Thiriet
2020-03-24  9:18 ` Pablo Rodriguez [this message]
2020-03-23 11:47 Damien Thiriet
     [not found] <mailman.1696.1585233091.1332.ntg-context@ntg.nl>
2020-03-26 19:45 ` Damien Thiriet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45015ab3-ca01-95b2-a4f8-990df1e1b1e3@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).