Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-22 Thread Hans Hagen

Barry Schwartz wrote:


Are there fonts that have a or b in the numr and dnom features but
where they do not work in frac?


that is unrelated, the replacement rules refer to glyphs an doften they 
stick to digits so you get a/b with a large a and b and the fractional 
slash which then gives an ugly overlap


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
___


Re: [NTG-context] Performance and fonts issues

2009-09-22 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

Startup time is 0.531 seconds. OK. Then, why on the Earth all these 
lmxxx fonts are loaded, if I use Minion Pro typescript? 2.7sec... Hmmm. 
Seems like a root of evil. What can I do to get rid of all of them?


those fonts are loaded for math (and only once as fonts are shared)


My typescript:
\starttypescript [serif] [MinionPro]
\definefontsynonym [Serif][MinionPro-Regular.otf][features=default]
\definefontsynonym [SerifBold][MinionPro-Bold.otf][features=default]
\definefontsynonym [SerifItalic][MinionPro-It.otf][features=default]
\definefontsynonym 
[SerifBoldItalic][MinionPro-BoldIt.otf][features=default]

\stoptypescript

\starttypescript [MinionPro]
\definetypeface [MinionPro][rm][serif][MinionPro][default]
\stoptypescript


this takes 2.5 seconds on my machine

\starttext
\usetypescript[palatino]   \setupbodyfont[palatino] test\par
\usetypescript[postscript] \setupbodyfont[postscript]   test\par
\usetypescript[cambria]\setupbodyfont[cambria]  test\par
\stoptext

(there is a way to prevent initial loading but it does not save that 
much time)


two cores is less important than a big 2 level cache (influences lua 
runtime) and memory (so that files are cached in mem)


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
___


Re: [NTG-context] vardef with @# not working within context

2009-09-22 Thread Matthijs Kooijman
Hi Hans,

 it's more that tex likes to duplicate the # internally
Ah, yes, I've seen some mentions on @## in error messages, but I thought that
was just part of the way metapost handled @#. Apparently not :-)

 how about adding

 let @## = @# ;

 to mp-tool.mp (you need to remake the context format in mkiv or the  
 metafun format in mkii)
This worked for me in MkIV. Will this be included in the next beta?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] vardef with @# not working within context

2009-09-22 Thread Hans Hagen

Matthijs Kooijman wrote:

Hi Hans,


it's more that tex likes to duplicate the # internally

Ah, yes, I've seen some mentions on @## in error messages, but I thought that
was just part of the way metapost handled @#. Apparently not :-)


how about adding

let @## = @# ;

to mp-tool.mp (you need to remake the context format in mkiv or the  
metafun format in mkii)

This worked for me in MkIV. Will this be included in the next beta?


sure

-
  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
___


[NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-22 Thread Mika Ritola
Hello again,

I just discovered another weird problem with small caps when using some
fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro.

When old-style figures are enabled, the code below generates GEOff instead
of GEOFF. Another ligature bug, it seems -- which is strange because I
don't see why old-style figures should affect ligatures at all (not that I
know anything about these things), and also because the second line should
disable ligatures in small caps altogether.

\usemodule[simplefonts]
\definefontfeature[smallcaps][smallcaps][liga=no]
\setfontfeature{oldstyle}
\setmainfont[Adobe Jenson Pro]

\starttext
{\sc Geoff}
\stoptext

I'm using the latest beta from yesterday. Again, I'd appreciate a workaround
for this, apart from disabling old-style figures.

Thanks,

Mika

P.S. Thanks to everyone who's replied to my bibliography questions. I'll get
back to it as soon as I've had time to try out the suggestions.
___
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
___


Re: [NTG-context] Performance and fonts issues

2009-09-22 Thread Vyatcheslav Yatskovsky

Hi,

1)

those fonts are loaded for math (and only once as fonts are shared)
   
Don't understand what 'shared' fonts mean, but how can I prevent these 
math fonts from loading? Maybe elaborate the typescript?


2)

this takes 2.5 seconds on my machine

\starttext
  \usetypescript[palatino]   \setupbodyfont[palatino] test\par
  \usetypescript[postscript] \setupbodyfont[postscript]   test\par
  \usetypescript[cambria]\setupbodyfont[cambria]  test\par
\stoptext
   
Mine is 2.656sec, but actual time is  5 sec (I had a lot of complaints 
about math issues like
'math virtual | unicode point U+1D6EB has no index 004B in vector tex-mi 
for font rtxmi' )


3)
Would it be reasonable to have ConTeXt as a service sitting in the 
memory and processing documents on demand?
I believe that 2sec for processing a single page plain text document is 
ridiculous. Given modern computer power, I suppose it can be done 
instantly. (Or am I are mistaken?)


Regards,
Vyatcheslav
___
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
___


[NTG-context] Metapost and mkiv

2009-09-22 Thread Otared Kavian

Hi all,

The following minimal example used to work with mkiv (until last May,  
I would guess…) but now it doesn't work with the latest

ConTeXt version 2009.09.21 17:39

Can any one tell me please what am I doing wrong?

Best regards: OK
%% begin

\setupcolors[state=start]
\starttext

\startbuffer[axes-1]
numeric u ; u := .5cm ;
path xox ; xox := (-u,0)--(8u,0) ;
path yoy ; yoy := (0,-u)--(0,7u) ;
draw xox withcolor blue ;
draw yoy withcolor blue ;
\stopbuffer

This MetaPost graphic is  \doifmodeelse{mkiv}{not shown with mkiv} 
{shown with mkii}:


\placefigure[middle][-]{}{\processMPbuffer[axes-1]} {}

\stoptext


%% end
___
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
___


Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-22 Thread Wolfgang Schuster


Am 22.09.2009 um 12:43 schrieb Mika Ritola:


Hello again,

I just discovered another weird problem with small caps when using  
some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro.


When old-style figures are enabled, the code below generates GEOff  
instead of GEOFF. Another ligature bug, it seems -- which is  
strange because I don't see why old-style figures should affect  
ligatures at all (not that I know anything about these things), and  
also because the second line should disable ligatures in small caps  
altogether.


\definefontfeature[smallcaps][smallcaps][liga=no]


Did it work with this redefinition of the smallcaps feature?

\definefontfeature[smallcaps][smallcaps][mode=node]


\setfontfeature{oldstyle}
\setmainfont[Adobe Jenson Pro]


\setmainfont[Adobe Jenson Pro][oldstylefigures=yes]

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
___


Re: [NTG-context] Performance and fonts issues

2009-09-22 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

Mine is 2.656sec, but actual time is  5 sec (I had a lot of complaints 
about math issues like
'math virtual | unicode point U+1D6EB has no index 004B in vector tex-mi 
for font rtxmi' )


if you run from the console (cmd), then consider switching to 'console2' 
 which is faster wrt refresh (windows consoles have a high refresh rate)


Would it be reasonable to have ConTeXt as a service sitting in the 
memory and processing documents on demand?
I believe that 2sec for processing a single page plain text document is 
ridiculous. Given modern computer power, I suppose it can be done 
instantly. (Or am I are mistaken?)


one still would need to initialize .. and in most cases docs are more 
than one page


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
___


Re: [NTG-context] Metapost and mkiv

2009-09-22 Thread Hans Hagen

Otared Kavian wrote:

Hi all,

The following minimal example used to work with mkiv (until last May, I 
would guess…) but now it doesn't work with the latest

ConTeXt version 2009.09.21 17:39

Can any one tell me please what am I doing wrong?


shows ok here


-
  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
___


Re: [NTG-context] Metapost and mkiv

2009-09-22 Thread Aditya Mahajan

On Tue, 22 Sep 2009, Hans Hagen wrote:


Otared Kavian wrote:

Hi all,

The following minimal example used to work with mkiv (until last May, I 
would guess…) but now it doesn't work with the latest

ConTeXt version 2009.09.21 17:39

Can any one tell me please what am I doing wrong?


shows ok here


It also works for me with 2009.09.18. Do normal MP figures work (those 
inside \startMPcode...\stopMPcode)



Aditya___
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
___


[NTG-context] [OT] CMap Resources

2009-09-22 Thread luigi scarso
http://opensource.adobe.com/wiki/display/cmap



Welcome to CMap Resources! CMap (Character Map) resources are used to
unidirectionally map character codes, such as a Unicode encoding form,
to CIDs (Characters IDs, meaning glyphs) of a CIDFont resource. CMap
resources, like CIDFont resources, include a /CIDSystemInfo dictionary
that specifies /Registry and /Ordering strings that must match for
compatibility between the two resources. In other words, a CMap
resource can be used with a CIDFont resource only if their /Registry
and /Ordering strings match.

Although originally designed for use with CIDFont resources, CMap
resources are also used for other purposes, such as by AFDKO's MakeOTF
tool for building 'cmap' tables for OpenType fonts when the source
font is a CIDFont resource.

The CMap resources that are available are for the latest character
collections, specifically Adobe-Identity-0, Adobe-GB1-5, Adobe-CNS1-5,
Adobe-Japan1-6, and Adobe-Korea1-2. All of the CMap resources that are
associated with each character collection are included.


-- 
luigi
___
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
___


[NTG-context] bibtex referencelist doesn't show up with mkiv

2009-09-22 Thread Janneman

Hi All!

It seems to be broken in some way when I try this

example

\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=7titlar]



\starttext
\cite[Carlsen2008amt]
\cite[Dash2008fik]
\cite[Häggström2008tso]
\cite[Klisinska2009tft]
\cite[Lantz-Andersson2009fie]
\cite[Långström2008msf]
\cite[Sumpter2009oao]

\completepublications



\stoptext

The result is that citations do work but no publicationlist under 
References heading.


I've attached the logs and bib and also the generated bbl file
and is running
ConTeXt  ver: 2009.09.14 12:39 MKIV  fmt: 2009.9.14  int: english/english



Regards

Janneman
@book{Carlsen2008amt,
author={Carlsen, Martin},
title={Appropriating mathematical tools through problem solving in collaborative smallgroup settings},
publisher={University of Agder},
address={Kristiansand},
year={2008},
ISBN={978-82-7117-639-6},
keywords={Matematikutbildning -- gymnasieskolan},
note={Diss. (sammanfattning) Kristiansand : University of Agder, 2008},
}



@book{Dash2008fik,
author={Dash, Ingrid},
title={Flexibility in knowing school mathematics in the contexts of a Swedish and an Indian school class [Elektronisk resurs]},
publisher={Department of Education, Lund University},
address={Lund},
year={2008},
keywords={Matematikundervisning -- Sverige Matematikundervisning -- Indien Pedagogisk metodik},
note={Diss. Lund : Lunds universitet, 2009},
}



@book{Häggström2008tso,
author={H{\a}ggstr{\o}m, Johan},
title={Teaching systems of linear equations in Sweden and China : what is made possible to learn?},
publisher={Acta Universitatis Gothoburgensis},
address={G{\o}teborg},
year={2008},
ISBN={978-91-7346-621-9},
keywords={Matematikundervisning -- Sverige Matematikundervisning -- Kina Ekvationer},
note={Diss. G{\o}teborg : G{\o}teborgs universitet, 2008},
}



@book{Klisinska2009tft,
author={Klisińska, Anna},
title={The fundamental theorem of calculus : a case study into the didactic transposition of proof},
publisher={Lule{\aa} Tekniska Universitet},
address={Lule{\aa}},
year={2009},
ISBN={978-91-86233-46-4},
keywords={Matematikundervisning},
note={Diss. Lule{\aa} : Lule{\aa} universitet, 2009},
}



@book{Lantz-Andersson2009fie,
author={Lantz-Andersson, Annika},
title={Framing in educational practices : learning activity, digital technology and the logic of situated action},
publisher={Acta Universitatis Gothoburgensis},
address={G{\o}teborg},
year={2009},
ISBN={978-91-7346-654-7},
keywords={Utbildning via Internet Matematikundervisning -- gymnasieskolan Interaktiva multimedier},
note={Diss. G{\o}teborg : G{\o}teborgs universitet, 2009},
}



@book{Långström2008msf,
author={L{\aa}ngstr{\o}m, Peder},
title={Matematikelevers strategier f{\o}r fel- och hj{\a}lps{\o}kning},
publisher={Department of Mathematics and Mathematics Statistics, Ume{\aa} University},
address={Ume{\aa}},
year={2008},
ISBN={978-91-7264-554-7},
keywords={Matematikundervisning -- gymnasieskolan},
note={Licentiatavhandling Ume{\aa} : Ume{\aa} universitet, 2008},
}



@book{Sumpter2009oao,
author={Sumpter, Lovisa},
title={On aspects of mathematical reasoning : affect and gender},
publisher={Department of Mathematics and Mathematical Statistics, Ume{\aa} Universitet},
address={Ume{\aa}},
year={2009},
ISBN={978-91-7264-791-6},
keywords={Matematikundervisning -- gymnasieskolan Matematiskt t{\a}nkande -- genusaspekter},
note={Diss. (sammanfattning) Ume{\aa} : Ume{\aa} universitet, 2009},
}
\setuppublicationlist[samplesize={Sum09},totalnumber=7]

\startpublication[k=Carlsen2008amt,t=book,
a={{Carlsen}},y=2008,
n=1,s=Car08]
\author[]{Martin}[M.]{}{Carlsen}
\pubyear{2008}
\title{Appropriating mathematical tools through problem solving in
  collaborative smallgroup settings}
\isbn{978-82-7117-639-6}
\city{Kristiansand}
\pubname{University of Agder}
\note{Diss. (sammanfattning) Kristiansand : University of Agder, 2008}
\keywords{Matematikutbildning -- gymnasieskolan}
\stoppublication

\startpublication[k=Dash2008fik,t=book,
a={{Dash}},y=2008,
n=2,s=Das08]
\author[]{Ingrid}[I.]{}{Dash}
\pubyear{2008}
\title{Flexibility in knowing school mathematics in the contexts of a Swedish
  and an Indian school class [Elektronisk resurs]}
\city{Lund}
\pubname{Department of Education, Lund University}
\note{Diss. Lund : Lunds universitet, 2009}
\keywords{Matematikundervisning -- Sverige Matematikundervisning -- Indien
  Pedagogisk metodik}
\stoppublication

\startpublication[k=Häggström2008tso,t=book,
a={{H{\a}ggstr{\o}m}},y=2008,
n=3,s=H{\a}g08]
\author[]{Johan}[J.]{}{H{\a}ggstr{\o}m}
\pubyear{2008}
\title{Teaching systems of linear equations in Sweden and China : what is made
  possible to learn?}
\isbn{978-91-7346-621-9}
\city{G{\o}teborg}
\pubname{Acta Universitatis Gothoburgensis}
\note{Diss. G{\o}teborg : G{\o}teborgs universitet, 2008}
\keywords{Matematikundervisning -- Sverige Matematikundervisning -- Kina
  Ekvationer}
\stoppublication

\startpublication[k=Klisinska2009tft,t=book,
a={{Klisińska}},y=2009,
n=4,s=Kli09]

Re: [NTG-context] bibtex referencelist doesn't show up with mkiv

2009-09-22 Thread Thomas A. Schmitz


On Sep 22, 2009, at 9:17 PM, Janneman wrote:


Hi All!

It seems to be broken in some way when I try this

example


This works here:

\setuppublications[state=start]
\setupbibtex[database=testbib]

\starttext

\section{one} % or \chapter or \subsection or whatever

\cite[Carlsen2008amt]
\cite[Dash2008fik]
\cite[Haggstrom2008tso]
\cite[Klisinska2009tft]
\cite[Lantz-Andersson2009fie]
\cite[Langstrom2008msf]
\cite[Sumpter2009oao]

\completepublications

\stoptext

Hans, we talked about this a while ago: should we put this in the docu  
(i.e. bib needs some sort of structure before the first references),  
or should this be fixed? Not that it matters much, I think...


Jannemann: I'm still not quite sure about the restrictions of bibtex  
and 8-bit characters, but I would at least for the labels stick to  
ASCII.


Thomas
___
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
___


Re: [NTG-context] bibtex referencelist doesn't show up with mkiv

2009-09-22 Thread Aditya Mahajan

On Tue, 22 Sep 2009, Thomas A. Schmitz wrote:



On Sep 22, 2009, at 9:17 PM, Janneman wrote:


Hi All!

It seems to be broken in some way when I try this

example


This works here:

\setuppublications[state=start]
\setupbibtex[database=testbib]

\starttext

\section{one} % or \chapter or \subsection or whatever

\cite[Carlsen2008amt]
\cite[Dash2008fik]
\cite[Haggstrom2008tso]
\cite[Klisinska2009tft]
\cite[Lantz-Andersson2009fie]
\cite[Langstrom2008msf]
\cite[Sumpter2009oao]

\completepublications

\stoptext

Hans, we talked about this a while ago: should we put this in the docu (i.e. 
bib needs some sort of structure before the first references), or should this 
be fixed? Not that it matters much, I think...


Or just say

\completepublications[criterium=all]

Aditya
___
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
___


[NTG-context] Fonts loaded

2009-09-22 Thread Vyatcheslav Yatskovsky

Hello Hans,

Sorry for my insistence, but...

mkiv lua stats : loaded fonts  - 37 files: 
lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf 
lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf 
lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf 
lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf 
lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf 
lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm 
msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm 
lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm 
lmsy9.tfm minionpro-bold.otf minionpro-it.otf minionpro-regular.otf


How can I get rid of all of these fonts except last three?

Vyatcheslav
___
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
___


[NTG-context] Mark IV

2009-09-22 Thread David Arnold

All,

Hans recommended I contact the list with my inquiry. I'm running  
Leopard on a Mac, using Mactex, texlive 2008. I've updated my context  
with:


sudo ctxtools --updatecontext

On a first run of ctxtools, I get this error:

loading : ConTeXt Core Macros / Environments
! Undefined control sequence.
argument ...def \...@ea \noexpand \csname \e!start
  \v!setups  
\endcsname {\beg...


\expanded ...\long \xdef \@@expanded {\noexpand #1
  }\@@expanded
l.212 ...xpand\csname\e!stop\v!setups\endcsname}}}

I hit s several time to scroll through the errors til it finishes,  
then run the command again:


sudo ctxtools --updatecontext

This time it seems to complete with no errors. This seem OK to folks?

Now, I'd like to give MKIV a try. I see the following instructions:

http://wiki.contextgarden.net/Running_Mark_IV

Are they adequate for my platform? That is, will they work if I follow  
them to the letter? Or do folks have other advice?


Thanks.


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://msemac.redwoods.edu/~darnold/index.php



___
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
___


Re: [NTG-context] Fonts loaded

2009-09-22 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

Hello Hans,

Sorry for my insistence, but...

mkiv lua stats : loaded fonts  - 37 files: 
lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf 
lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf 
lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf 
lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf 
lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf 
lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm 
msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm 
lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm 
lmsy9.tfm minionpro-bold.otf minionpro-it.otf minionpro-regular.otf


How can I get rid of all of these fonts except last three?


- you can try --mode=*nofonts but keep in mind that this is meant for 
special cases where styles are loaded immediately on the command line


- it will not save much time; eventually we will have opentype lm math 
anyway; and half of those fonts are small anyway


- it will result in errors when you don't immediately load a typeface 
especially if spacing is being set up


- you need a math font because some symbols come from math (like bullets)

- delaying math setup would result in way more overhead as then it needs 
to be set up inside math (and then it happens grouped)


- also, reported problems resulting from not having load a base font set 
are unlikely to be looked into


- as i keep optimnizing code, i expect the reported times to drop a bit 
 in the future;


- a resident run might save some load time, but this is compensated by 
the need to reinitialize all subsystems (apart from a mess)


- computers will become faster anyway and in most runs the startup time 
is small compared to the other runtime


Hans

ps. it's no problem to get a 100-300 page per second througput for 
stupid documents but anything fancy will drop that to 1-20 pps


-
  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
___


[NTG-context] How can I input Join?

2009-09-22 Thread Yue Wang
Hi,

I am doing my logic homework using ConTeXt.  the command \Join (ref.
http://w2.syronex.com/jmr/tex/texsym.old.html) seems to be missing in
ConTeXt.  (I searched showmathcharacters in context)
How can I input that?

Thanks

Yue Wang
___
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
___


Re: [NTG-context] How can I input Join?

2009-09-22 Thread Yue Wang
Hi,

Sorry for my stupid question... The command does exist in ConTeXt.
It's name is \Join.
I wonder it should be added to \showmathcharacters output.

Thanks

Yue Wang

On Tue, Sep 22, 2009 at 8:53 PM, Yue Wang yuleo...@gmail.com wrote:
 Hi,

 I am doing my logic homework using ConTeXt.  the command \Join (ref.
 http://w2.syronex.com/jmr/tex/texsym.old.html) seems to be missing in
 ConTeXt.  (I searched showmathcharacters in context)
 How can I input that?

 Thanks

 Yue Wang

___
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
___


[NTG-context] MKIV in TL2009

2009-09-22 Thread Aditya Mahajan

Hi Hans and Taco,

Perphas you guys already know this, but mkiv does not run in TL09. 
I tried generating the format and I get


: Your luatex binary is way too old, you need at least version 0.42.


The included luatex binary is (the date seems wrong?)

Version beta-0.40.6-2009090923 (TeX Live 2009/Arch Linux) luatex.web = v14240

Does this basically mean that in order to use mkiv with TL, I have to 
manually update the luatex binary?


Aditya
___
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
___


Re: [NTG-context] MKIV in TL2009

2009-09-22 Thread Arthur Reutenauer
 The included luatex binary is (the date seems wrong?)

 Version beta-0.40.6-2009090923 (TeX Live 2009/Arch Linux) luatex.web = v14240

  The appended date and time in the version number is always the compilation
date, it does not reflect anything about the sources that were used.

 Does this basically mean that in order to use mkiv with TL, I have to  
 manually update the luatex binary?

  Yes, this is the assumption.  It has just been discussed on the TeX Live
list, see http://tug.org/pipermail/tex-live/2009-September/022524.html

Arthur
___
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
___


[NTG-context] MKIV on Mactex Texlive 2008

2009-09-22 Thread David Arnold

All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext

After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried:

sudo rsync -av rsync://contextgarden.net/minimals/current/context/ 
current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/ 
osx-universal/bin/luatex /usr/local/texlive/2008/bin/

Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel6 May 13 17:46 lualatex - luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel   49 May 13 17:46 luatools - ../../ 
texmf-dist/scripts/context/lua/luatools.lua


And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/ 
scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/ 
context/lua/luatools.lua


And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf- 
dist/scripts/context/lua/luatools.lua


Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on  
and on. Can someone give a more universal cure? Is there an entire  
directory of scripts that need to be executable?


Thanks.

David

___
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
___