unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Manual PDF and translation (modular texlive?)
Date: Thu, 22 Oct 2020 22:36:36 +0200	[thread overview]
Message-ID: <87ft66t2uj.fsf@elephly.net> (raw)
In-Reply-To: <87o8kut4vm.fsf@elephly.net>


Ricardo Wurmus <rekado@elephly.net> writes:

> I suspect that the build environment doesn’t have locales set up so the
> format dumping tool assumes that we want to us Latin-1 encoding for
> everything.

It’s not that, but I have another clue.

This is the relevant line from fmtutil.cfg:

    pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini

Here’s output from building pdftex.fmt (from the build log of
texlive-latex-base):

--8<---------------cut here---------------start------------->8---
fmtutil [INFO]: --- remaking pdftex with pdftex
fmtutil: running `pdftex -ini   -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' ...
warning: Could not open char translation file `cp227.tcx'.
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (INITEX)
 restricted \write18 enabled.
entering extended mode
(/gnu/store/4k3na5c6wpbp87lrq7aj8bbppxl805jm-texlive-tex-plain-51265/share/texmf-dist/tex/plain/config/pdfetex.ini (/gnu/store/01fpijdjxffhq3rn8jdj2bdfmhqa56ad-texlive-tex-ini-files-51265/share/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex) (/gnu/store/4k3na5c6wpbp87lrq7aj8bbppxl805jm-texlive-tex-plain-51265/share/texmf-dist/tex/plain/etex/etex.src (/gnu/store/4k3na5c6wpbp87lrq7aj8bbppxl805jm-texlive-tex-plain-51265/share/texmf-dist/tex/plain/base/plain.tex Preloading the plain format: codes, registers, parameters, fonts, more fonts, macros, math definitions, output routines, hyphenation (/gnu/store/awsj27jah4yiwyxz53ghdpss7v4kyspi-texlive-hyphen-base-51265/share/texmf-dist/tex/generic/hyphen/hyphen.tex [skipping from \patterns to end-of-file...])) (/gnu/store/4k3na5c6wpbp87lrq7aj8bbppxl805jm-texlive-tex-plain-51265/share/texmf-dist/tex/plain/etex/etexdefs.lib Skipping module "grouptypes"; Loading module "interactionmodes"; Skipping module "nodetypes";
Skipping module "iftypes";)
(/gnu/store/awsj27jah4yiwyxz53ghdpss7v4kyspi-texlive-hyphen-base-51265/share/texmf-dist/tex/generic/config/language.def
(/gnu/store/awsj27jah4yiwyxz53ghdpss7v4kyspi-texlive-hyphen-base-51265/share/texmf-dist/tex/generic/hyphen/hyphen.tex)
(/gnu/store/8lsza6zyrcp7iivlpb5zfzprmfsc214r-texlive-dehyph-exptl-51265/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2019-04-04.tex
dehyph-exptl: using an 8-bit TeX engine.
[…]
Beginning to dump on file pdftex.fmt
 (preloaded format=pdftex 2020.10.22)
5456 strings of total length 140996
13424 memory locations dumped; current usage is 203&10315
1681 multiletter control sequences
[…]
fmtutil [INFO]: /tmp/guix-build-texlive-latex-base-51265.drv-0/source/web2c/pdftex/pdftex.fmt installed.
--8<---------------cut here---------------end--------------->8---

Two things here:

“warning: Could not open char translation file `cp227.tcx'.” – Oh?  It’s
in the union, but maybe a search path in the configuration file is
misconfigured.

“dehyph-exptl: using an 8-bit TeX engine.” — hmm.  Probably correct,
because pdftex doesn’t natively support multibyte characters.  But maybe
a problem.

So the next step for me is to figure out how I can make pdftex find
cp227.tcx.

-- 
Ricardo


  parent reply	other threads:[~2020-10-22 20:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 14:50 Manual PDF and translation (modular texlive?) zimoun
2020-10-16 19:28 ` Ricardo Wurmus
2020-10-16 20:10   ` Ricardo Wurmus
2020-10-17 20:09     ` zimoun
2020-10-17 21:57       ` Ricardo Wurmus
2020-10-17 22:18         ` zimoun
2020-10-18  6:47           ` Ricardo Wurmus
2020-10-21 10:24     ` Ludovic Courtès
2020-10-21 22:10       ` Ricardo Wurmus
2020-10-22 12:02         ` Ricardo Wurmus
2020-10-22 12:50           ` Ricardo Wurmus
2020-10-22 19:52             ` Ricardo Wurmus
2020-10-22 20:20               ` zimoun
2020-10-22 20:28                 ` Ricardo Wurmus
2020-10-22 20:37                   ` zimoun
2020-10-22 20:36               ` Ricardo Wurmus [this message]
2020-10-22 20:40                 ` zimoun
2020-10-22 20:46                 ` zimoun
2020-10-22 21:59                   ` Ricardo Wurmus
2020-10-25 11:07                 ` Ricardo Wurmus
2020-10-26 22:50                   ` Ludovic Courtès
2020-10-27 10:34                     ` Ricardo Wurmus
2020-12-11 18:24                       ` Giovanni Biscuolo

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ft66t2uj.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).