Bug 903015 - pdftex can't process it's own etex initialization file, erroring out while processing language-specific hyphenation rules
Summary: pdftex can't process it's own etex initialization file, erroring out while pr...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 22:51 UTC by Steve Holland
Modified: 2015-03-05 01:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-05 15:39:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve Holland 2013-01-22 22:51:42 UTC
Description of problem:
pdftex can't process it's own etex initialization file.

Running : pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx "*pdfetex.ini"  (which is an internally generated command) errors out (error messages pasted below). The problem seems to arise from /usr/share/texlive/texmf/tex/generic/config/language.def line 60 where
\addlanguage{arabic}{zerohyph.tex}{}{}{} has no number supplied in the fourth
or fifth arguments. 

Commenting out this line in /usr/share/texlive/texmf/tex/generic/config/language.def and the other similar lines (for farsi and persian) works around the problem. 

Error messages
...
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.t
ex)
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-zh-latn-
pinyin.tex))
! Missing number, treated as zero.
<to be read again> 
                   \chardef 
<to be read again> 
                   \rhm@arabic 
\addlanguage ...\chardef \csname rhm@#1\endcsname 
                                                  =#5 \uselanguage {#1}\inpu...
l.60 \addlanguage{arabic}{zerohyph.tex}{}{}{}
                                             
? 


Version-Release number of selected component (if applicable):
texlive-hyphen-base-0.svn26846-10.fc18.noarch


How reproducible:
Always

Steps to Reproduce:
1.run pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx "*pdfetex.ini"
  
Actual results:
Errors out 

Expected results:
Does not error out.

Comment 2 Gavin Simpson 2013-08-23 17:15:30 UTC
I have the same problem which is stopping me from building PDF documentation for several R packages I develop on. This is on Fedora 19 however and with

Installed Packages
Name        : texlive-hyphen-base
Arch        : noarch
Epoch       : 3
Version     : svn30797.0
Release     : 0.1.fc19
Size        : 62 k
Repo        : installed
From repo   : updates
Summary     : hyphen-base package
URL         : http://tug.org/texlive/
License     : LPPL
Description : hyphen-base package

The line numbers in the files are however different; here is what i get when I run `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx "*pdfetex.ini"`:

! Missing number, treated as zero.
<to be read again> 
                   \chardef 
<to be read again> 
                   \rhm@arabic 
\addlanguage ...\chardef \csname rhm@#1\endcsname 
                                                  =#5 \uselanguage {#1}\inpu...
l.110 \addlanguage{arabic}{zerohyph.tex}{}{}{}
                                              
? 
(/usr/share/texlive/texmf-dist/tex/generic/hyphen/zerohyph.tex)
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-bg.tex
T2A Bulgarian hyphenation patterns
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex))
(/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-hy.tex
No Armenian hyphenation patterns - only for Unicode engines)
! Missing number, treated as zero.
<to be read again> 
                   \chardef 
<to be read again> 
                   \rhm@farsi 
\addlanguage ...\chardef \csname rhm@#1\endcsname 
                                                  =#5 \uselanguage {#1}\inpu...
l.113 \addlanguage{farsi}{zerohyph.tex}{}{}{}
                                             
? 
(/usr/share/texlive/texmf-dist/tex/generic/hyphen/zerohyph.tex)
! Missing number, treated as zero.
<to be read again> 
                   \chardef 
<to be read again> 
                   \rhm@persian 
\addlanguage ...\chardef \csname rhm@#1\endcsname 
                                                  =#5 \uselanguage {#1}\inpu...
l.114 \addlanguage{persian}{zerohyph.tex}{}{}{}
                                               
? 
(/usr/share/texlive/texmf-dist/tex/generic/hyphen/zerohyph.tex)

Comment 3 Fedora End Of Life 2013-12-21 10:43:12 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2014-02-05 15:40:00 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.