Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168579 - app-text/ptex-3.1.10_beta3: wrong symlink makes jarticle documents uncompilable
Summary: app-text/ptex-3.1.10_beta3: wrong symlink makes jarticle documents uncompilable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 13:54 UTC by MATSUI Tetsushi
Modified: 2008-07-01 00:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2007-02-27 13:54:55 UTC
With app-text/ptex-3.1.10_beta3,  LaTeX documents with documentclasses jarticle, etc. from ascii are uncompilable.
I bet this is due to the wrong symlinks made by the ebuild.

Reproducible: Always

Steps to Reproduce:
1. install ptex-3.1.10_beta3
2. compile a document with jarticle documentclass

Actual Results:  
You will receive a message:

! LaTeX Error: This file needs format `pLaTeX2e'
               but this is `LaTeX2e'.

and the compilation stops.

Expected Results:  
Create a dvi file if the file is a valid TeX file.

/usr/share/texmf/ptex/platex/config/platex.ini is symlinked to the directory
/etc/texmf/ptex/platex/config/.
By this setting, /usr/share/texmf/tex/platex/config/platex.ini from tetex distribution
is used instead and it makes jarticle documents uncompilable.

This is caused by the line 178 of the ebuild:
        dosym /etc/texmf/${cfg%/*} /usr/share/texmf/${cfg}
${cfg%/*} should be ${cfg}.
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2008-07-01 00:10:40 UTC
dosym is removed in new ebuilds.