Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291498 - dev-texlive/texlive-latexextra-2008-r1 have broken circ
Summary: dev-texlive/texlive-latexextra-2008-r1 have broken circ
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 22:26 UTC by Maciej Piechotka
Modified: 2010-01-12 21:19 UTC (History)
1 user (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 Maciej Piechotka 2009-11-01 22:26:28 UTC
LaTeX 2008 have broken circ packag. Solution which works is to override the fonts for circ by circ fonts CTAN. It would be nice if it was patched in Gentoo (google shows it is popular problem)

Reproducible: Always

Steps to Reproduce:

\documentclass{article}
\usepackage[basic,box,gate,oldgate,ic,optics,physics]{circ}
\begin{document}
\begin{circuit}{0}
\.1
\end{circuit}
\end{document}

Actual Results:  
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, polish, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/home/uzytkownik/Sources/circ/circ.sty
(/home/uzytkownik/Sources/circ/basic.def)
(/home/uzytkownik/Sources/circ/box.def) (/home/uzytkownik/Sources/circ/gate.def
) (/home/uzytkownik/Sources/circ/oldgate.def)
(/home/uzytkownik/Sources/circ/ic.def)
(/home/uzytkownik/Sources/circ/optics.def)
(/home/uzytkownik/Sources/circ/physics.def)) (./test.aux)
kpathsea: Running mktextfm cibimos
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cibimos
This is METAFONT, Version 2.718281 (Web2C 7.5.7)

(/usr/share/texmf-dist/fonts/source/public/circ/cibimos.mf
(/usr/share/texmf-dist/fonts/source/public/circ/defcirc.mf
CIRC %<*cibimos>
CIRC \freecirc
CIRC \addCIRCfont cibimos
CIRC %</cibimos>
CIRC %<+doc> \optionline 
CIRC %<*cibimos,doc>
Runaway definition?
message("CIRC %</"&font_identifier_&",doc>");message("CIRC %<*"&font_identifier
_ ETC.
! Forbidden token found while scanning the definition of endCIRCfont.
<inserted text> 
                enddef
<to be read again> 
                   bye
l.45   bye
          ;
 ) )
(see the transcript file for additional information)
Font metrics written on cibimos.tfm.
Transcript written on cibimos.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cibimos' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \c*fntt=cibimos not loadable: Metric (TFM) file not found.
\*mag ->\@m 
            \relax 
l.4 \begin{circuit}{0}
                      
? 
! Emergency stop.
\*mag ->\@m 
            \relax 
l.4 \begin{circuit}{0}
                      
No pages of output.
Transcript written on test.log.

Expected Results:  
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, polish, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/circ/circ.sty
(/usr/share/texmf-dist/tex/latex/circ/basic.def)
(/usr/share/texmf-dist/tex/latex/circ/box.def)
(/usr/share/texmf-dist/tex/latex/circ/gate.def)
(/usr/share/texmf-dist/tex/latex/circ/oldgate.def)
(/usr/share/texmf-dist/tex/latex/circ/ic.def)
(/usr/share/texmf-dist/tex/latex/circ/optics.def)
(/usr/share/texmf-dist/tex/latex/circ/physics.def)) (./test.aux)
kpathsea: Running mktextfm cibimos
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cibimos
This is METAFONT, Version 2.718281 (Web2C 7.5.7)

(/usr/share/texmf-dist/fonts/source/public/circ/cibimos.mf
(/usr/share/texmf-dist/fonts/source/public/circ/defcirc.mf
CIRC %<*cibimos>
CIRC \freecirc
CIRC \addCIRCfont cibimos
CIRC %</cibimos>
CIRC %<+doc> \optionline 
CIRC %<*cibimos,doc>
) (/usr/share/texmf-dist/fonts/source/public/circ/csym.mf) [0] [1] [2] [3]
[4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
[35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64]
[65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79]
CIRC \cdefiviv npnPH T \CIRCcibimos 80 E C
CIRC %<+doc> {photo transistor}
[80] [81] [82] [83] [84] [85] [86] [87] )
Font metrics written on cibimos.tfm.
Output written on cibimos.600gf (88 characters, 57532 bytes).
Transcript written on cibimos.log.
mktextfm: /var/cache/fonts/tfm/public/circ/cibimos.tfm: successfully generated.

kpathsea: Running mktextfm ciwidko
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ciwidko
This is METAFONT, Version 2.718281 (Web2C 7.5.7)

(/usr/share/texmf-dist/fonts/source/public/circ/ciwidko.mf
(/usr/share/texmf-dist/fonts/source/public/circ/csym.mf) [0] [1] [24] [25]
[8] [9] [10] [11] [12] [13] [14] [15] [32] [33] [34] [35] [36] [37] [38]
[39] [128] [129] [130] [131] [136] [137] [138] [139] )
Font metrics written on ciwidko.tfm.
Output written on ciwidko.600gf (28 characters, 20612 bytes).
Transcript written on ciwidko.log.
mktextfm: /var/cache/fonts/tfm/public/circ/ciwidko.tfm: successfully generated.

kpathsea: Running mktextfm cisym
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cisym
This is METAFONT, Version 2.718281 (Web2C 7.5.7)

(/usr/share/texmf-dist/fonts/source/public/circ/cisym.mf
(/usr/share/texmf-dist/fonts/source/public/circ/csym.mf) [1] [2] [3] [4]
[12] [5] [13] [6] [7] [8] [9] [10] [11] [16] [17] [24] [25] )
Font metrics written on cisym.tfm.
Output written on cisym.600gf (17 characters, 4300 bytes).
Transcript written on cisym.log.
mktextfm: /var/cache/fonts/tfm/public/circ/cisym.tfm: successfully generated.

kpathsea: Running mktextfm ciphysic
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ciphysic
This is METAFONT, Version 2.718281 (Web2C 7.5.7)

(/usr/share/texmf-dist/fonts/source/public/circ/ciphysic.mf
(/usr/share/texmf-dist/fonts/source/public/circ/defcirc.mf
CIRC %<*ciphysic>
CIRC \freecirc
CIRC \addCIRCfont ciphysic
CIRC %</ciphysic>
CIRC %<+doc> \optionline physics
CIRC %<*ciphysic,doc>
)
CIRC \cdef spring k \CIRCciphysic 0
CIRC %<+doc> {spring}
[0] [1]
CIRC \cdef lspring k \CIRCciphysic 2
CIRC %<+doc> {long spring}
[2] [3]
CIRC \cdef fdmass m \CIRCciphysic 4
CIRC %<+doc> {mass with two forces; full drawn}
[4] [5]
CIRC \cdef dmass m \CIRCciphysic 6
CIRC %<+doc> {mass with two forces; outlined}
[6] [7]
CIRC \cdefiv fmass m \CIRCciphysic 8 . *
CIRC %<+doc> {mass; full drawn}
[8] [9] [10] [11]
CIRC \cdefiv mass m \CIRCciphysic 12 . *
CIRC %<+doc> {mass; outlined}
[12] [13] [14] [15]
CIRC \cdefiv wall {} \CIRCciphysic 16 . |
CIRC %<+doc> {wall}
[16] [17] [18] [19]
CIRC \cdefiv tile {} \CIRCciphysic 20 . *
CIRC %<+doc> {tile}
[20] [21] [22] [23]
CIRC \cdef spinu S \CIRCciphysic 24
CIRC %<+doc> {spin up}
[24] [25]
CIRC \cdef spind S \CIRCciphysic 26
CIRC %<+doc> {spin down}
[26] [27]
CIRC %</ciphysic,doc>
CIRC %<*ciphysic>
CIRC \protectcirc
CIRC %</ciphysic>
 )
Font metrics written on ciphysic.tfm.
Output written on ciphysic.600gf (28 characters, 12760 bytes).
Transcript written on ciphysic.log.
mktextfm: /var/cache/fonts/tfm/public/circ/ciphysic.tfm: successfully generated.
 [1{//var/lib/t
exmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) ) <//var/cache/fonts/pk/
ljfour/public/circ/cirest.600pk></usr/share/texmf-dist/fonts/type1/bluesky/cm/c
mr10.pfb>
Output written on test.pdf (1 page, 3795 bytes).
Transcript written on test.log.
Comment 1 Alexis Ballier gentoo-dev 2010-01-12 21:19:21 UTC
this is fixed in texlive-latexextra-2009 (which will be unmasked soon, hopefuly)