Hi i uploaded a beta with a few structure fixes; upcoming mkiv betas will also have an experimental new vertical spacing mechanism (which also demands some adaptions to structure related code) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans Hi all,
with the most recent beta (ConTeXt ver: 2009.04.21 09:00 MKIV) and LuaTeX
(Version snapshot-0.39.0-2009042023)
i can't use LucidaBright fonts anymore.
My file is:
\usetypescriptfile[type-buy]
\usetypescript[lucida][texnansi]
\setupbodyfont[lucida]
\starttext
\input knuth
\stoptext
I get following output:
(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex)
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm*
systems : begin file lucida at line 4
(C:/contextminimal/texmf-context/tex/context/sample/knuth.tex)
fonts : resetting map file list
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts : using map file: texnansi-bh-lucida
LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file
[1.1]
Isn't texnansi-bh-lucida.map part of context minimal anymore?
Miss I something else?
Greetings Lutz
2009/4/21 Hans Hagen
Hi
i uploaded a beta with a few structure fixes; upcoming mkiv betas will also have an experimental new vertical spacing mechanism (which also demands some adaptions to structure related code)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Lutz Haseloff wrote:
Hi Hans Hi all,
with the most recent beta (ConTeXt ver: 2009.04.21 09:00 MKIV) and LuaTeX (Version snapshot-0.39.0-2009042023) i can't use LucidaBright fonts anymore. My file is:
\usetypescriptfile[type-buy] \usetypescript[lucida][texnansi] \setupbodyfont[lucida] \starttext \input knuth \stoptext
I get following output:
(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex) define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm* systems : begin file lucida at line 4 (C:/contextminimal/texmf-context/tex/context/sample/knuth.tex) fonts : resetting map file list {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: texnansi-bh-lucida
LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file [1.1]
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
what happens if you delete the names database? (in the cache under fonts/data) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Exactly the same errors and the directory ...\fonts\data remains empty.
2009/4/21 Hans Hagen
Lutz Haseloff wrote:
Hi Hans Hi all,
with the most recent beta (ConTeXt ver: 2009.04.21 09:00 MKIV) and LuaTeX (Version snapshot-0.39.0-2009042023) i can't use LucidaBright fonts anymore. My file is:
\usetypescriptfile[type-buy] \usetypescript[lucida][texnansi] \setupbodyfont[lucida] \starttext \input knuth \stoptext
I get following output:
(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex) define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm* systems : begin file lucida at line 4 (C:/contextminimal/texmf-context/tex/context/sample/knuth.tex) fonts : resetting map file list
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: texnansi-bh-lucida
LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file [1.1]
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
what happens if you delete the names database? (in the cache under fonts/data)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Hi Hans, hi all,
with LuaTeX 0.40 the names database is written again and with Wolfgang's
type-lucida.tex
i can use LucidaBright. Is there any chance to get the Lucida Math fonts
working in
mkiv?
Greetings and a big Thanks
Lutz
2009/4/21 Hans Hagen
Lutz Haseloff wrote:
Hi Hans Hi all,
with the most recent beta (ConTeXt ver: 2009.04.21 09:00 MKIV) and LuaTeX (Version snapshot-0.39.0-2009042023) i can't use LucidaBright fonts anymore. My file is:
\usetypescriptfile[type-buy] \usetypescript[lucida][texnansi] \setupbodyfont[lucida] \starttext \input knuth \stoptext
I get following output:
(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex) define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm* define font | font with name texnansi-lbr is not found define font | unknown font texnansi-lbr, loading aborted define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm* systems : begin file lucida at line 4 (C:/contextminimal/texmf-context/tex/context/sample/knuth.tex) fonts : resetting map file list
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-math {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: texnansi-bh-lucida
LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file [1.1]
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
what happens if you delete the names database? (in the cache under fonts/data)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On Apr 23, 2009, at 7:18 AM, Lutz Haseloff wrote:
Hi Hans, hi all,
with LuaTeX 0.40 the names database is written again and with Wolfgang's type-lucida.tex i can use LucidaBright. Is there any chance to get the Lucida Math fonts working in mkiv?
Not here, unfortunately. I just compiled 0.40 from trunk and get the same errors and the same behavior as with 0.39. Thomas
Am 23.04.2009 um 07:18 schrieb Lutz Haseloff:
Hi Hans, hi all,
with LuaTeX 0.40 the names database is written again and with Wolfgang's type-lucida.tex i can use LucidaBright. Is there any chance to get the Lucida Math fonts working in mkiv?
Add the following at the end of my typescript I send in my last mail, I tested it with a few simple equations but it would help if we have a real test document like the one from AMS. \startluacode mathematics.make_font ( "lucida-math", { { name = "lbr.afm", features = "virtualmath", main = true }, { name = "hlcrim", vector = "traditional-mi", skewchar=0x7F }, { name = "hlcry", vector = "traditional-sy", skewchar=0x30, parameters = true }, { name = "hlcrv", vector = "traditional-ex", extension = true }, { name = "msam10", vector = "traditional-ma" }, { name = "msbm10", vector = "traditional-mb" }, } ) \stopluacode \starttypescript [math] [lucida] [all] \definefontsynonym[MathRoman][lucidamath@lucida-math] \loadmapfile[lucida.map] \stoptypescript \starttypescript [lucida] \definetypeface [lucida] [rm] [serif] [lucida] [default] \definetypeface [lucida] [ss] [sans] [lucida] [default] \definetypeface [lucida] [tt] [mono] [lucida] [default] \definetypeface [lucida] [mm] [math] [lucida] [default] \definetypeface [lucida] [hw] [handwriting] [lucida] [default] \definetypeface [lucida] [cg] [calligraphy] [lucida] [default] \stoptypescript Wolfgang
Thanks Wolfgang,
but I got following error:
define font | font with name hlcrim is not found
math virtual | loading font lucidamath subfont 2 with name hlcrim at 458752
is skipped, not found
define font | font with name hlcry is not found
math virtual | loading font lucidamath subfont 3 with name hlcry at 458752
is skipped, not found
define font | font with name hlcrv is not found
math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752
is skipped, not found
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85:
attempt to index field '?' (a nil value)
stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function
'arrow'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in function
'alas'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in function
<...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function
'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function
'command_2'
<main ctx instance>:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
\edef \somefontspec {at
\s...
\xxdododefinefont ...efont {#4}\newfontidentifier
\let
\localrelativefontsiz...
\dodosetmathfamily ...family \fontsize \endcsname
\else \ifcsname
\fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
\let \currentmathsize
\plu...
\synchronizemath ...athfonts \the \mathstrategies
\fi
<inserted text> ...chronizefonts \synchronizemath
\synchronizefont \fi
\spac...
...
l.3 \setupbodyfont[lucida]
Installing the tfm and vf fontfiles from CTAN did not help.
after adapting your script to:
\startluacode
mathematics.make_font ( "lucida-math", {
{ name = "lbr.afm", features = "virtualmath", main = true },
{ name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F },
{ name = "lbms.afm", vector = "traditional-sy", skewchar=0x30, parameters
= true },
{ name = "lbme.afm", vector = "traditional-ex", extension = true },
{ name = "msam10", vector = "traditional-ma" },
{ name = "msbm10", vector = "traditional-mb" },
} )
\stopluacode
ConTeXt found the fonts but gaves:
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464:
attempt to index local 'fci' (a nil value)
stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in function
<...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function
'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function
'command_2'
<main ctx instance>:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
\edef \somefontspec {at
\s...
\xxdododefinefont ...efont {#4}\newfontidentifier
\let
\localrelativefontsiz...
\dodosetmathfamily ...family \fontsize \endcsname
\else \ifcsname
\fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
\let \currentmathsize
\plu...
\synchronizemath ...athfonts \the \mathstrategies
\fi
<inserted text> ...chronizefonts \synchronizemath
\synchronizefont \fi
\spac...
...
l.3 \setupbodyfont[lucida]
No success so far...
Greetings Lutz
2009/4/23 Wolfgang Schuster
Am 23.04.2009 um 07:18 schrieb Lutz Haseloff:
Hi Hans, hi all,
with LuaTeX 0.40 the names database is written again and with Wolfgang's type-lucida.tex i can use LucidaBright. Is there any chance to get the Lucida Math fonts working in mkiv?
Add the following at the end of my typescript I send in my last mail, I tested it with a few simple equations but it would help if we have a real test document like the one from AMS.
\startluacode mathematics.make_font ( "lucida-math", { { name = "lbr.afm", features = "virtualmath", main = true }, { name = "hlcrim", vector = "traditional-mi", skewchar=0x7F }, { name = "hlcry", vector = "traditional-sy", skewchar=0x30, parameters = true }, { name = "hlcrv", vector = "traditional-ex", extension = true }, { name = "msam10", vector = "traditional-ma" }, { name = "msbm10", vector = "traditional-mb" }, } ) \stopluacode
\starttypescript [math] [lucida] [all] \definefontsynonym[MathRoman][lucidamath@lucida-math] \loadmapfile[lucida.map] \stoptypescript
\starttypescript [lucida] \definetypeface [lucida] [rm] [serif] [lucida] [default] \definetypeface [lucida] [ss] [sans] [lucida] [default] \definetypeface [lucida] [tt] [mono] [lucida] [default] \definetypeface [lucida] [mm] [math] [lucida] [default] \definetypeface [lucida] [hw] [handwriting] [lucida] [default] \definetypeface [lucida] [cg] [calligraphy] [lucida] [default] \stoptypescript
Wolfgang
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Hi Lutz, the tfm's and map file I used in my typescript are part of the lucida package from TUG. Wolfgang Am 23.04.2009 um 11:51 schrieb Lutz Haseloff:
Thanks Wolfgang,
but I got following error: define font | font with name hlcrim is not found math virtual | loading font lucidamath subfont 2 with name hlcrim at 458752 is skipped, not found define font | font with name hlcry is not found math virtual | loading font lucidamath subfont 3 with name hlcry at 458752 is skipped, not found define font | font with name hlcrv is not found math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752 is skipped, not found ! LuaTeX error ...tminimal/texmf-context/tex/context/base/math- vfu.lua:85: attempt to index field '?' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function 'arrow' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in function 'alas' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi <inserted text> ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida]
Installing the tfm and vf fontfiles from CTAN did not help.
after adapting your script to:
\startluacode mathematics.make_font ( "lucida-math", { { name = "lbr.afm", features = "virtualmath", main = true }, { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F }, { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30, parameters = true }, { name = "lbme.afm", vector = "traditional-ex", extension = true }, { name = "msam10", vector = "traditional-ma" }, { name = "msbm10", vector = "traditional-mb" }, } ) \stopluacode
ConTeXt found the fonts but gaves:
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math- vfu.lua:464: attempt to index local 'fci' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi <inserted text> ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida]
No success so far...
Greetings Lutz
Hi Wolfgang,
Thank You very much, Lucida Math works now with your original
type-lucida.tex.
Greetings Lutz
2009/4/23 Wolfgang Schuster
Hi Lutz,
the tfm's and map file I used in my typescript are part of the lucida package from TUG.
Wolfgang
Am 23.04.2009 um 11:51 schrieb Lutz Haseloff:
Thanks Wolfgang,
but I got following error: define font | font with name hlcrim is not found math virtual | loading font lucidamath subfont 2 with name hlcrim at 458752 is skipped, not found define font | font with name hlcry is not found math virtual | loading font lucidamath subfont 3 with name hlcry at 458752 is skipped, not found define font | font with name hlcrv is not found math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752 is skipped, not found ! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: attempt to index field '?' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function 'arrow' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in function 'alas' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi <inserted text> ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida]
Installing the tfm and vf fontfiles from CTAN did not help.
after adapting your script to:
\startluacode mathematics.make_font ( "lucida-math", { { name = "lbr.afm", features = "virtualmath", main = true }, { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F }, { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30, parameters = true }, { name = "lbme.afm", vector = "traditional-ex", extension = true }, { name = "msam10", vector = "traditional-ma" }, { name = "msbm10", vector = "traditional-mb" }, } ) \stopluacode
ConTeXt found the fonts but gaves:
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: attempt to index local 'fci' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi <inserted text> ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida]
No success so far...
Greetings Lutz
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On Tue, Apr 21, 2009 at 10:38, Lutz Haseloff wrote:
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
I have created the new distribution from scratch. There might be quite some font files missing. Which files are still needed? One option would be to pack support files for commercial fonts into a package under ConTeXt modules and then fetch from there (or any other idea welcome). Mojca
2009/4/22 Mojca Miklavec
On Tue, Apr 21, 2009 at 10:38, Lutz Haseloff wrote:
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
I have created the new distribution from scratch. There might be quite some font files missing.
Where can i find the files for testing? I will immediately test them when "mtxrun --script fonts --reload" works again.
Which files are still needed? One option would be to pack support files for commercial fonts into a package under ConTeXt modules and then fetch from there (or any other idea welcome).
Mojca
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On Wed, Apr 22, 2009 at 09:09, Lutz Haseloff wrote:
2009/4/22 Mojca Miklavec
On Tue, Apr 21, 2009 at 10:38, Lutz Haseloff wrote:
Isn't texnansi-bh-lucida.map part of context minimal anymore? Miss I something else?
I have created the new distribution from scratch. There might be quite some font files missing.
Where can i find the files for testing? I will immediately test them when "mtxrun --script fonts --reload" works again.
I don't know. Maybe Hans has them, maybe they are on some older TeX Live DVDs or maybe some other user still has the old distribution lying around. Mojca
Am 21.04.2009 um 10:38 schrieb Lutz Haseloff:
Hi Hans Hi all,
with the most recent beta (ConTeXt ver: 2009.04.21 09:00 MKIV) and LuaTeX (Version snapshot-0.39.0-2009042023) i can't use LucidaBright fonts anymore.
You can use my own Lucida typescripts (math support is missing), I thought about splitting type-buy in mkii/mkiv files but this will only help pdfTeX and LuaTeX users but not XeTeX ones. I think a separate file for XeTeX/LuaTeX only could help (with mkii/ mkiv files for math) or we include them in type-otf if Hans has no problem with this. Wolfgang
On Apr 21, 2009, at 9:22 AM, Hans Hagen wrote:
Hi
i uploaded a beta with a few structure fixes; upcoming mkiv betas will also have an experimental new vertical spacing mechanism (which also demands some adaptions to structure related code)
Hans
Hi Hans, just a few very short tests (I have to teach in an hour, so can't do much today in terms of testing): 1. The problem with the bib module persists. I don't get any errors anymore about undefined control sequences, the bbl file is loaded, but no output is produced. I hope I can produce a minimal test file tomorrow, unless you already have a test. 2. The problem with font tables persists as well. mtxrun version 1.21 does not produce names.tma and names.tmc, mtxrun --script fonts -- reload does not produce any output and fails silently. A workaround is copying the names.tm* files over from another cache instance. 3. Page numbering is still a bit flaky. test file (don't know if this is quite minimal): \setuphead [section] [page=yes, style=normal] \setupuserpagenumber[state=start,way=bysection] \setupfootertexts[{\getmarking[sectionnumber]} – \userpagenumber] \starttext \section{One} \input tufte \page \input linden \section{Two} \input bryson \page \input davis \stoptext More to follow (some weird things with xml setups). Best Thomas
Thomas A. Schmitz wrote:
1. The problem with the bib module persists. I don't get any errors anymore about undefined control sequences, the bbl file is loaded, but no output is produced. I hope I can produce a minimal test file tomorrow, unless you already have a test.
a test file would be handy indeed as i have no clue how to invoke the bug ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
With the following versions of ConTeXt, LuaTeX, and t-bib:
MTXrun | main context file:
/opt/context/beta/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2009.04.21 16:11
This is LuaTeX, Version beta-0.40.0-2009042222 luatex.web >= v2344
%D \module
%D [ file=t-bib,
%D version=2009.04.17,
Using the following in a file named bibliography.bib:
@TechReport{WhoAmI2009,
author = {Who Am I},
title = {Foo, Bar, Baz},
institution = {Boo},
year = {2009},
number = {42},
month = {January}
}
With the following as my test file:
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=./bibliography]
\setuppublications[sorttype=bbl,criterium=all]
\setuppublications[numbering=short,autohang=yes,refcommand=key]
\starttext
\input knuth \cite[WhoAmI2009]
\stoptext
I get the following error:
! Undefined control sequence.
<argument> ... [\bibrefprefix ][\sectionseparator
]
\expanded ...\long \xdef \@@expanded {\noexpand #1
}\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
\storeitem
\gotobiblink ...brefprefix \preparebibreflist {#2}
\global \bibreffoundfalse
...
\next1 #1,->\dobibkeyref {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance
\...
...
l.9 \stoptext
If I change \cite[WhoAmI2009] to \cite[short][WhoAmI2009], then the document
will build without errors if there are no intermediate files but without
actually inserting the citation key: I just get the empty pair []. If there
are intermediate files, then I get the familiar:
! Undefined control sequence.
<argument> ... [\bibrefprefix ][\sectionseparator
]
\expanded ...\long \xdef \@@expanded {\noexpand #1
}\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
\storeitem
\gotobiblink ...brefprefix \preparebibreflist {#2}
\global \bibreffoundfalse
...
\next1 #1,->\dobibshortref {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance
\...
...
l.8 \input knuth \cite[short][WhoAmI2009]
I hope this helps!
Kevin
On Tue, Apr 21, 2009 at 8:12 AM, Hans Hagen
Thomas A. Schmitz wrote:
1. The problem with the bib module persists. I don't get any errors
anymore about undefined control sequences, the bbl file is loaded, but no output is produced. I hope I can produce a minimal test file tomorrow, unless you already have a test.
a test file would be handy indeed as i have no clue how to invoke the bug
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On Fri, 24 Apr 2009, Kevin D. Robbins wrote:
With the following versions of ConTeXt, LuaTeX, and t-bib:
MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.21 16:11 This is LuaTeX, Version beta-0.40.0-2009042222 luatex.web >= v2344 %D \module %D [ file=t-bib, %D version=2009.04.17,
Using the following in a file named bibliography.bib:
@TechReport{WhoAmI2009, author = {Who Am I}, title = {Foo, Bar, Baz}, institution = {Boo}, year = {2009}, number = {42}, month = {January} }
With the following as my test file:
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=./bibliography] \setuppublications[sorttype=bbl,criterium=all] \setuppublications[numbering=short,autohang=yes,refcommand=key]
\starttext \input knuth \cite[WhoAmI2009] \stoptext
This works fine here. I have the same setup as you have. Does doing a context --purge --all and then recompiling help?
On Fri, 24 Apr 2009, Aditya Mahajan wrote:
On Fri, 24 Apr 2009, Kevin D. Robbins wrote:
With the following versions of ConTeXt, LuaTeX, and t-bib:
MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.21 16:11 This is LuaTeX, Version beta-0.40.0-2009042222 luatex.web >= v2344 %D \module %D [ file=t-bib, %D version=2009.04.17,
Using the following in a file named bibliography.bib:
@TechReport{WhoAmI2009, author = {Who Am I}, title = {Foo, Bar, Baz}, institution = {Boo}, year = {2009}, number = {42}, month = {January} }
With the following as my test file:
\usemodule[bib] \usemodule[bibltx] \setupbibtex[database=./bibliography] \setuppublications[sorttype=bbl,criterium=all] \setuppublications[numbering=short,autohang=yes,refcommand=key]
\starttext \input knuth \cite[WhoAmI2009] \stoptext
This works fine here. I have the same setup as you have.
Sorry, I have the same error here. Missed a comma while reformatting your example. Taco, here is a (slightly smaller) minimal example: \usemodule[bib] \setupbibtex[database=./bibliography] \setuppublications[refcommand=key] \starttext \cite[WhoAmI2009] \placepublications \stoptext with bibliography.bib \usemodule[bib] \setupbibtex[database=./bibliography] \setuppublications[refcommand=key] \starttext \input knuth \cite[WhoAmI2009] \placepublications \stoptext I get the same error as Kevin: ! Undefined control sequence. <argument> ... [\bibrefprefix ][\sectionseparator ] \expanded ...\long \xdef \@@expanded {\noexpand #1 }\@@expanded \preparebibreflist ...refix ][\sectionseparator ]} \storeitem \gotobiblink ...brefprefix \preparebibreflist {#2} \global \bibreffoundfalse ... \next1 #1,->\dobibkeyref {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.7 Aditya
Aditya Mahajan wrote:
I get the same error as Kevin:
! Undefined control sequence. <argument> ... [\bibrefprefix ][\sectionseparator ]
Add this to fix the error: \def\preparebibreflist#1{\def\bibreflist{#1}}% see attached files. For Hans: the attached test file demonstates one of the reasons why this is still broken. Both pages now have a link to a publication, but because of the over-simplication of \preparebibrefprefix and \preparebibreflist, these both point to the same label (the one on page one), and luatex complains: LuaTeX warning (ext4): destination with the same identifier (name{WhoAmI2009}) has been already used, duplicate ignored That is the problem these two macros were addressing, and I have no idea how to do the same in the new structure code. Best wishes, Taco @TechReport{WhoAmI2009, author = {Who Am I}, title = {Foo, Bar, Baz}, institution = {Boo}, year = {2009}, number = {42}, month = {January} }
Hi, Taco Hoekwater wrote:
Aditya Mahajan wrote:
I get the same error as Kevin:
! Undefined control sequence. <argument> ... [\bibrefprefix ][\sectionseparator ]
Add this to fix the error:
\def\preparebibreflist#1{\def\bibreflist{#1}}%
see attached files.
For Hans: the attached test file demonstates one of the reasons why this is still broken.
Meanwhile, Hans has sent me a patch that should be good enough to make people be able to use the bib module again, so I will upload a new version soon (monday morning). Best wishes, Taco
Taco Hoekwater wrote:
For Hans: the attached test file demonstates one of the reasons why this is still broken.
Meanwhile, Hans has sent me a patch that should be good enough to make people be able to use the bib module again, so I will upload a new version soon (monday morning).
New version here: http://modules.contextgarden.net/bib Please give it a go. Best wishes, Taco
On Apr 27, 2009, at 9:20 AM, Taco Hoekwater wrote:
New version here:
http://modules.contextgarden.net/bib
Please give it a go.
Best wishes, Taco
Hi Taco, thanks for looking into it and for the new version! Very appreciated and sorely needed here. After a very quick test (regenerated cache and formats to be safe): 1. I get a publication list again! Hooray! 2. \cite commands do not work. I get errors like this: LuaTeX warning (ext4): destination with the same identifier (name{6:fsstraub}) has been already used, duplicate ignored <to be read again> \egroup \thisisdestination ... \dostartthisislocation {#1} \dostopthisislocation \fi ... l.2 \thisisdestination{6:fsstraub} \dosetreference ...ls ",\nextinternalreference ) } \fi \fi <argument> ...ibrefprefix fsstraub]{\bibcounter }} \strut \dotypesetapublicat... \listtextcommand #1->\begstrut #1 \endstrut ... l.184 ...lications[criterium=cite,option=continue] So all \cite commands come up empty. All best Thomas
Thomas A. Schmitz wrote:
On Apr 27, 2009, at 9:20 AM, Taco Hoekwater wrote:
New version here:
http://modules.contextgarden.net/bib
Please give it a go.
Best wishes, Taco
Hi Taco,
thanks for looking into it and for the new version! Very appreciated and sorely needed here.
After a very quick test (regenerated cache and formats to be safe):
small test set needed then ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Apr 27, 2009, at 10:14 AM, Hans Hagen wrote:
small test set needed then
OK, trying to compile the test file I sent last week: \usemodule[bib] \startpublication[k=kasselpoeticedition,t=book, a={{Aristoteles}},y=1965, n=1046,s=Ari65] \author[]{}[]{}{Aristoteles} \pubyear{1965} \title{De arte poetica liber} \city{Oxford} \pubname{Oxford UP} \stoppublication \starttext Hello world! \nocite[kasselpoeticedition] \placepublications[criterium=cite] \stoptext I get this: ! Undefined control sequence. \setstructuresynchronization ...rereferenceprefix ","\currentstructurerefere... \dostructurelistinject ...tion \currentlistnumber \currentstructuresynchroni... \next1 #1,->\docitation {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... l.17 \nocite[kasselpoeticedition] Not yet the error I was looking for, but let's begin at the beginning... :-) Thomas
Thomas A. Schmitz wrote:
On Apr 27, 2009, at 10:14 AM, Hans Hagen wrote:
small test set needed then
OK, trying to compile the test file I sent last week:
no crash any more in beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Apr 27, 2009, at 11:06 PM, Hans Hagen wrote:
OK, trying to compile the test file I sent last week:
no crash any more in beta
Well, it'll have to wait till you come back from Bachotek. I still get this: ! Undefined control sequence. \preparebibrefprefix ...lltoclevels \alltoclevels \let \savedcurrentlevel \c... \typesetpubslist ... {}\else \preparebibrefprefix \fi \ifsortbycite \fillloc... \dodoplacepublications ...sttrue \typesetpubslist \inpublistfalse \endgroup l.19 \placepublications[criterium=cite] Have fun in Poland! Best Thomas
Thomas A. Schmitz wrote:
On Apr 27, 2009, at 11:06 PM, Hans Hagen wrote:
OK, trying to compile the test file I sent last week:
no crash any more in beta
Well, it'll have to wait till you come back from Bachotek. I still get this:
! Undefined control sequence. \preparebibrefprefix ...lltoclevels \alltoclevels
are you sure that you use tacos latest zip? -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thomas A. Schmitz wrote:
2. \cite commands do not work. I get errors like this:
LuaTeX warning (ext4): destination with the same identifier (name{6:fsstraub}) has been already used, duplicate ignored
Hans will probably want a test file for that. (I still do not understand what Hans' patch actually does) Best wishes, Taco
\setupinteractionscreen[option=max] will make the document failed to compile.
On Tue, Apr 21, 2009 at 3:22 PM, Hans Hagen
Hi
i uploaded a beta with a few structure fixes; upcoming mkiv betas will also have an experimental new vertical spacing mechanism (which also demands some adaptions to structure related code)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (9)
-
Aditya Mahajan
-
Hans Hagen
-
Kevin D. Robbins
-
Lutz Haseloff
-
Mojca Miklavec
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Wolfgang Schuster
-
Yue Wang