Re: [NTG-context] Units and XML

2006-04-11 Thread Hans Hagen
Johannes Graumann wrote: Something else: How to define a custom unit (basepairs, bp) with physml/units? something \unit [Basepairs] {bp} {Base Pairs} \defineXMLsingular [Basepairs] {\handlePMLunit\Basepairs} -

Re: [NTG-context] Units and XML

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: Hans, Since you seem to be working on this: when using inline physml I noticed that physapplyunit/cn1/cncsymbolMicro/Gram/Per/Milli/Liter//csymbol/apply/phys when used in a figure caption formated like this: \setupcaptions[style=small,width=\textwidth] does not

Re: [NTG-context] Units and XML

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: what you need is a full switch: style=smallbodyfont (or as command \smallbodyfont) \setupcaptions[style=smallbodyfont,width=\textwidth] did it. Thanks. ... wikify ... Thesis first than this ;0) How would I add singlespacedness to the command above? Joh

Re: [NTG-context] Units and XML

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: How would I add singlespacedness to the command above? i dunno what that is Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] Units and XML

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: How would I add singlespacedness to the command above? i dunno what that is Serves me right ... coming up with my own lingo ... my document is doubly spaced (\setupinterlinespace[line=2\bodyfontsize]) and I was trying to get the float captions singly spaced. Have stuffed

Re: [NTG-context] Units and XML

2006-04-10 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: How would I add singlespacedness to the command above? i dunno what that is Serves me right ... coming up with my own lingo ... my document is doubly spaced (\setupinterlinespace[line=2\bodyfontsize]) and I was trying to get the

Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
Hans Hagen wrote: newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling using stacks versus xml-tex expansion] system : module newpml not found system : module newmml not

Re: [NTG-context] Units and XML

2006-04-09 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling using stacks versus xml-tex expansion] system : module newpml not found

Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
Hans, Since you seem to be working on this: when using inline physml I noticed that physapplyunit/cn1/cncsymbolMicro/Gram/Per/Milli/Liter//csymbol/apply/phys when used in a figure caption formated like this: \setupcaptions[style=small,width=\textwidth] does not scale properly - it remains at

Re: [NTG-context] Units and XML

2006-04-08 Thread Hans Hagen
Johannes Graumann wrote: physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling

[NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
Hello, Has anyone come up with a sense making way of coding units in XML and mapping them onto ConTeXt's 'units' module ... makes a knot in my brain ... Thnaks, Joh ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Units and XML

2006-04-07 Thread Hans Hagen
Johannes Graumann wrote: Hello, Has anyone come up with a sense making way of coding units in XML and mapping them onto ConTeXt's 'units' module ... makes a knot in my brain ... there is a manual on the website ... physml the old module: \usemodule[physml] the new one (newmml):

Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. Geee, looks like I'm starting to find things in the guts of this ;0) Joh P.S.: What's your favorite beer/drink? Joh ___ ntg-context mailing list

Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
Something else: How to define a custom unit (basepairs, bp) with physml/units? Joh Johannes Graumann wrote: physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. Geee, looks like I'm starting to find things in the guts of this ;0) Joh