[NTG-context] More MathML problems

2005-10-20 Thread Christopher Creutzig
Salvete,

 I know the MathML spec is inconsistent.  I believe the following should
be changed, though:



mfencedmix/mimiy/mi/mfenced currently renders as $(xy)$,
while the spec says (3.3.8.1) it should be $(x,y)$.  Fix: xtag-mmp.tex,
line 105, change from

\def\MMLpFENCED#1#2%
  {\getXMLarguments{mfenced}{open=( close=) separators= #1}%

to

\def\MMLpFENCED#1#2%
  {\getXMLarguments{mfenced}{open=( close=) separators=, #1}%




mo#8289;/mo and its equivalent forms should not produce output.



mfenced open=mix/mi/mfenced leads to an error, since the
\left. at the beginning is missing.  (Unlikely to appear in everyday
maths, but can happen.)



In my reading of 3.2.3.2, mia/mi should be italic, but miabc/mi
should be upright.  (I would be happy if I had to switch this on at only
one place, to keep backward compatibility.)



regards,
Christopher Creutzig

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] strange (?) exporting from pdf

2005-10-20 Thread andrea valle

Yes, but the main problem is the something completely different.
I should implement rtf format as the output of XSLT (XHTML would be 
feasible).



-a-

On 18 Oct 2005, at 10:07, Henning Hraban Ramm wrote:


Am 2005-10-18 um 01:10 schrieb andrea valle:

Thanks to all. I'm still struggling to find a way to share easily 
common documents with non-Context world. I thought I would have 
solved passing directly form the final pdf output to doc/rtf format, 
but it seems that I will have to give up.


Seems like the best way would be a XML source that you can process 
with ConTeXt to PDF or with XSLT to something completely different...



Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] New Context Installation on Windows XP

2005-10-20 Thread Erik Van Eynde

Gegroet contexts wizards,

I try to install  the last CONTEXT  on a XP Windows:
Miktex distribution, Winedt;  Perl.

-For LaTeX no problemt at all.

-For context:

   texexec --make gives me

unknown  filetype texmfscripts ...

for output:

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 current path : F:/Context_Folder/example
locating ini file : kpsewhiching texexec.ini on scripts
locating ini file : kpsewhiching texexec.ini elsewhere
locating ini file : found by kpsewhich
  reading : d:/ludittex/texmf/context/config/texexec.ini
  setting : 'TeXShell' to 'miktex' for 'all'
  setting : 'UseEnginePath' to 'true' for 'all'
  setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 
'all'

  setting : 'UserInterface' to 'en' for 'all'
  setting : 'TeXExecutable' to 'tex' for 'all'
  setting : 'MpExecutable' to 'mpost' for 'all'
  setting : 'MpToTeXExecutable' to 'mpto' for 'all'
  setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
  setting : 'DviSpecialScript' to 'dvispec' for 'all'
  setting : 'MpFormat' to 'metafun' for 'all'
  setting : 'TeXFormatFlag' to '' for 'all'
  setting : 'MpFormatFlag' to '' for 'all'
  setting : 'TeXHashExecutable' to 'initexmf --update-fndb' 
for 'miktex'

  setting : 'TeXExecutable' to 'pdfetex' for 'miktex'
  setting : 'TeXVirginFlag' to '--initialize' for 'miktex'
  setting : 'TeXPassString' to '--alias=context 
--translate-file=natural.tcx' for 'miktex'
  setting : 'TeXBatchFlag' to '--interaction=batchmode' for 
'miktex'
  setting : 'TeXNonStopFlag' to '--interaction=nonstopmode' 
for 'miktex'

  setting : 'MpToTeXExecutable' to 'mptotex' for 'miktex'
  setting : 'MpVirginFlag' to '--initialize' for 'miktex'
  setting : 'MpPassString' to '--alias=mpost 
--translate-file=natural.tcx' for 'miktex'
  setting : 'MpBatchFlag' to '--interaction=batchmode' for 
'miktex'
  setting : 'MpNonStopFlag' to '--interaction=nonstopmode' 
for 'miktex'

  setting : 'TeXFormatFlag' to '--undump=' for 'miktex'
  setting : 'MpFormatFlag' to '--undump=' for 'miktex'

 used setting : TeXShell = miktex
 used setting : SetupPath =
 used setting : UserInterface = en
 used setting : UsedInterfaces = en nl metafun mptopdf
 used setting : TeXFontsPath = .
 used setting : MpExecutable = mpost
 used setting : MpToTeXExecutable = mptotex
 used setting : DviToMpExecutable = dvitomp
 used setting : TeXProgramPath =
 used setting : TeXFormatPath =
 used setting : ConTeXtPath =
 used setting : TeXScriptsPath =
 used setting : TeXHashExecutable = initexmf --update-fndb
 used setting : TeXExecutable = pdfetex
 used setting : TeXVirginFlag = --initialize
 used setting : TeXBatchFlag = --interaction=batchmode
 used setting : TeXNonStopFlag = --interaction=nonstopmode
 used setting : MpBatchFlag = --interaction=batchmode
 used setting : MpNonStopFlag = --interaction=nonstopmode
 used setting : TeXPassString = --alias=context 
--translate-file=natural.tcx

 used setting : TeXFormatFlag = --undump=
 used setting : MpFormatFlag = --undump=
 used setting : MpVirginFlag = --initialize
 used setting : MpPassString = --alias=mpost 
--translate-file=natural.tcx

 used setting : MpFormat = metafun
 used setting : MpFormatPath =
 used setting : UseEnginePath = 1
 used setting : FmtLanguage =
 used setting : FmtBodyFont =
 used setting : FmtResponse =
 used setting : TcXPath =
 used setting : SetFile =

applications will use :

   --help   overview of all options and their values
   --help all   all about all options
 --help short   just the main options
  --help mode ... pdf   all about a few options
   --help '*.pdf'   all about options containing 'pdf'

   more info
http://www.pragma-ade.com/general/manuals/mtexexec.pdf

http://www.ntg.nl/mailman/listinfo/ntg-context

   total run time : 0 seconds



Afterwards I run a small sample file 


compiling stops with ...

Runaway argument?
\c!directory ={\setupsystem [\c!n =1] \setupsystem [inputfile=test.te\ETC.
! File ended while scanning use of \dosetupsystem.
inserted text
   \par
to be read again
I 
What wriong here


--
--ooOoo--- (~) ooOoo
Erik Van Eynde  -
  LUDIT
  Leuvens Universitair Dienstencentrum voor Informatica en
Telematica
  W. de Croylaan 52aphone: +32 16 322-243
  

[NTG-context] distance with \godown

2005-10-20 Thread Jessica Holle

Hi

I have a problem... I I don't know in which way I should solve...

I've make a presentation. It's not very fine done but I'm proud that
this works :-)
I've made a graphic in metafun and make a overlay with this as the
background.
Then I defined a framed box with the same values as the graphic, use
the overlay as a background and nice I have my menu.
But then I make a small space with \godown and now the framed
section goes down and up from page to page.
This phenomenon is only when I do the link (\goto) on the whole
framed. When I put the link on the text there is no problem.
Hope aou understand my problem it's difficult to understand.

I think you can compile this and look to the left side, hope it
works to compile
here is my tex file (not nice but works)

%///
%   Präsentation für einfache Gelegenheiten :-)
%
%   erstellt von Jessica Holle
%   benötigt wird eine teTeX Installation mit dem
ConTeXt Zusatz
%   14/10/2005
%///
%///
%   Generalle Formationen
%///
\setupoutput[pdftex]
\usemodule[pre-general]
\setupcolors[state=start]
\setupcolor[rgb]
\definecolor[back][white]%s=.95]
\definecolor[back2][r=.6,g=.7,b=.8]
\definecolor[migr][r=0,g=.8,b=0]
\definecolor[hegr][r=0,g=0,b=0]
\definepapersize[PP][width=24cm,height=18cm]
\setuppapersize[PP][PP]
\setupbodyfont[sansserif,22pt]
\setuplayout
[width=220mm,
height=147mm,
backspace=10mm,
topspace=23mm,
top=00mm,
header=00mm,
footer=0mm,
bottom=0mm,
margin=0mm]

%//
%   Die Praesi wird im Vollbildmodus gestartet
%//
%\setupinteractionscreen[option=max]

%//
%   Unglaubliche Option für interaktive Schaltflächen
%//
\setupinteraction[state=start]
%
%   Grafiken mit Metafun erstellt
%
%\startuseMPgraphic{teilstrich}
%path p ; p := (0cm,0cm)--(21cm,0cm)--(21cm,0.1cm)--(0cm,0.1cm)
--cycle ;
%drawoptions(withpen pencircle scaled 0.1mm withcolor
\MPcolor{migr}) ;
%fill p ;
%\stopuseMPgraphic
\startuseMPgraphic{teilstrich}
path p ; p := (0cm,0cm)--(21.5cm,0.1cm)--(0.0cm,0.15cm)--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr})
;
fill p ;
\stopuseMPgraphic

\startuseMPgraphic{teilstrich2}
path p ; p := (0cm,0cm)--(0.1cm,0cm)--(0.1cm,12.5cm)--(0cm,12.5cm)
--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr})
;
fill p ;
\stopuseMPgraphic

\startuseMPgraphic{grund}
path p ; p := (0cm,0cm)--(24cm,0cm)--(24cm,18cm)--(0cm,18cm)--cycle
;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{hegr})
;
fill p ;
\stopuseMPgraphic

\definelayer[grund]
\setuplayer[grund][state=repeat]
\setlayer[grund][present=righttop,width=\textwidth,height
=\textheight]{\useMPgraphic{grund}}
%///
%   senkrechter grauer Strich auf der rechten und linken
Seite
%///
\startuseMPgraphic{senkstrich}
path p ; p := (0cm,0cm)--(17.6cm,0cm)--(17.6cm,0.1cm)--(0cm,0.1cm)
--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor lightgray) ;
fill p rotated 90 ;
\stopuseMPgraphic

\definelayer[senkstrich]
\setuplayer[senkstrich][state=repeat]
\setlayer[senkstrich][present=left,x=0.6cm,y=0.2cm]
{\useMPgraphic{senkstrich}}

\definelayer[senkstrich2]
\setuplayer[senkstrich2][state=repeat]
\setlayer[senkstrich2][present=right,x=23.3cm,y=0.2cm]
{\useMPgraphic{senkstrich}}
%///
%   waagerechter grauer Strich oben und unten
%///
\startuseMPgraphic{waagestrich}
path p ; p := (0cm,0cm)--(23.6cm,0cm)--(23.6cm,0.1cm)--(0cm,0.1cm)
--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor lightgray) ;
fill p ;
\stopuseMPgraphic
\definelayer[waagestrich]
\setuplayer[waagestrich][state=repeat]
\setlayer[waagestrich][present=lefttop,x=0.2cm,y=0.6cm]
{\useMPgraphic{waagestrich}}


Re: [NTG-context] strange (?) exporting from pdf

2005-10-20 Thread andrea valle
(sorry, the last one was a message sent tow days ago by a wrong 
address.)


Yes, in case of something useful, I will surely keep the list informed.

Best

-a-




On 18 Oct 2005, at 22:09, Henning Hraban Ramm wrote:

I'm not a XML guru (never tried XML with ConTeXt), but I guess if 
you use a XML format like DocBook (or even OpenOffice's) there'd be 
a ready-to-use way for RTF.

Thanks a lot, I was in fact investigating OO.


If you make up something useful from OpenDocumentFormat (or OOo's old 
format), please share it – I guess an OOo to ConTeXt converter would 
help some people.


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] accents inside text mode inside math

2005-10-20 Thread Mojca Miklavec

Hello,

thera were some problems concerning accented characters in math (mathml) 
a while ago (as far as I remember they were solved). But some tiny bugs 
apparently remained there.


Minimal example:
$\cases{\ccaron}$

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] xml and context

2005-10-20 Thread Wolfgang Zillig


Hello,

I'am starting with a PhD and I'm thinking about using xml/mathml and
context. I'm a bit confused with all the different ways to combine xml
and context, native xml, fo, xslt, texml, docbook, ...
What is the most promising way to do this?

Is it possible to use mechanisms like bibtex when going that way?
 
Thanks for any suggestions.

Wolfgang


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] New Context Installation on Windows XP

2005-10-20 Thread Willi Egger

Hoi Erik,

Ik heb helaas geen ervaring met Miktex. Heb je geprobeerd om texmfstart 
texexec.pl --make te gebruiken i.p.v. texexec alleen?


Groet Willi


Erik Van Eynde wrote:


Gegroet contexts wizards,

I try to install  the last CONTEXT  on a XP Windows:
Miktex distribution, Winedt;  Perl.

-For LaTeX no problemt at all.

-For context:

   texexec --make gives me

unknown  filetype texmfscripts ...

for output:

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 current path : F:/Context_Folder/example
locating ini file : kpsewhiching texexec.ini on scripts
locating ini file : kpsewhiching texexec.ini elsewhere
locating ini file : found by kpsewhich
  reading : d:/ludittex/texmf/context/config/texexec.ini
  setting : 'TeXShell' to 'miktex' for 'all'
  setting : 'UseEnginePath' to 'true' for 'all'
  setting : 'UsedInterfaces' to 'en nl metafun mptopdf' 
for 'all'

  setting : 'UserInterface' to 'en' for 'all'
  setting : 'TeXExecutable' to 'tex' for 'all'
  setting : 'MpExecutable' to 'mpost' for 'all'
  setting : 'MpToTeXExecutable' to 'mpto' for 'all'
  setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
  setting : 'DviSpecialScript' to 'dvispec' for 'all'
  setting : 'MpFormat' to 'metafun' for 'all'
  setting : 'TeXFormatFlag' to '' for 'all'
  setting : 'MpFormatFlag' to '' for 'all'
  setting : 'TeXHashExecutable' to 'initexmf 
--update-fndb' for 'miktex'

  setting : 'TeXExecutable' to 'pdfetex' for 'miktex'
  setting : 'TeXVirginFlag' to '--initialize' for 'miktex'
  setting : 'TeXPassString' to '--alias=context 
--translate-file=natural.tcx' for 'miktex'
  setting : 'TeXBatchFlag' to '--interaction=batchmode' 
for 'miktex'
  setting : 'TeXNonStopFlag' to 
'--interaction=nonstopmode' for 'miktex'

  setting : 'MpToTeXExecutable' to 'mptotex' for 'miktex'
  setting : 'MpVirginFlag' to '--initialize' for 'miktex'
  setting : 'MpPassString' to '--alias=mpost 
--translate-file=natural.tcx' for 'miktex'
  setting : 'MpBatchFlag' to '--interaction=batchmode' for 
'miktex'
  setting : 'MpNonStopFlag' to '--interaction=nonstopmode' 
for 'miktex'

  setting : 'TeXFormatFlag' to '--undump=' for 'miktex'
  setting : 'MpFormatFlag' to '--undump=' for 'miktex'

 used setting : TeXShell = miktex
 used setting : SetupPath =
 used setting : UserInterface = en
 used setting : UsedInterfaces = en nl metafun mptopdf
 used setting : TeXFontsPath = .
 used setting : MpExecutable = mpost
 used setting : MpToTeXExecutable = mptotex
 used setting : DviToMpExecutable = dvitomp
 used setting : TeXProgramPath =
 used setting : TeXFormatPath =
 used setting : ConTeXtPath =
 used setting : TeXScriptsPath =
 used setting : TeXHashExecutable = initexmf --update-fndb
 used setting : TeXExecutable = pdfetex
 used setting : TeXVirginFlag = --initialize
 used setting : TeXBatchFlag = --interaction=batchmode
 used setting : TeXNonStopFlag = --interaction=nonstopmode
 used setting : MpBatchFlag = --interaction=batchmode
 used setting : MpNonStopFlag = --interaction=nonstopmode
 used setting : TeXPassString = --alias=context 
--translate-file=natural.tcx

 used setting : TeXFormatFlag = --undump=
 used setting : MpFormatFlag = --undump=
 used setting : MpVirginFlag = --initialize
 used setting : MpPassString = --alias=mpost 
--translate-file=natural.tcx

 used setting : MpFormat = metafun
 used setting : MpFormatPath =
 used setting : UseEnginePath = 1
 used setting : FmtLanguage =
 used setting : FmtBodyFont =
 used setting : FmtResponse =
 used setting : TcXPath =
 used setting : SetFile =

applications will use :

   --help   overview of all options and their values
   --help all   all about all options
 --help short   just the main options
  --help mode ... pdf   all about a few options
   --help '*.pdf'   all about options containing 'pdf'

   more info
http://www.pragma-ade.com/general/manuals/mtexexec.pdf

http://www.ntg.nl/mailman/listinfo/ntg-context

   total run time : 0 seconds



Afterwards I run a small sample file
compiling stops with ...

Runaway argument?
\c!directory ={\setupsystem [\c!n =1] \setupsystem 
[inputfile=test.te\ETC.

! File ended while scanning use of \dosetupsystem.
inserted text
   \par
to be read again
I What wriong here



This is pdfeTeX, Version 

Re: [NTG-context] distance with \godown

2005-10-20 Thread Willi Egger

Hello Jessica,

Hm, indeed your code does give a somewhat strange behaviour. - I played 
with it a bit and I changed the following things.
   1. Make alle MP-graphics which are static 
\startreusableMPgraphic..\stopreusableMPgraphic. Use in the 
layerdefinitions \reuseMPgraphic{} -- This makes the compilation a couple of
times faster, because MP must not be called for the calculation of all 
graphics at all pages.
   2. In order to get the kasten steady all lines should start with 
\gotopage{...}[]. Another point is, that you might  want to have a look 
at pp 113 of the metafun manual.


I do not know, whether this is wat you had in mind.

Kind regards Willi

Jessica Holle wrote:


Hi

I have a problem... I I don't know in which way I should solve...

I've make a presentation. It's not very fine done but I'm proud that
this works :-)
I've made a graphic in metafun and make a overlay with this as the
background.
Then I defined a framed box with the same values as the graphic, use
the overlay as a background and nice I have my menu.
But then I make a small space with \godown and now the framed
section goes down and up from page to page.
This phenomenon is only when I do the link (\goto) on the whole
framed. When I put the link on the text there is no problem.
Hope aou understand my problem it's difficult to understand.

I think you can compile this and look to the left side, hope it
works to compile
here is my tex file (not nice but works)

%///
%   Präsentation für einfache Gelegenheiten :-)
%
%   erstellt von Jessica Holle
%   benötigt wird eine teTeX Installation mit dem
ConTeXt Zusatz
%   14/10/2005
%///
%///
%   Generalle Formationen
%///
\setupoutput[pdftex]
\usemodule[pre-general]
\setupcolors[state=start]
\setupcolor[rgb]
\definecolor[back][white]%s=.95]
\definecolor[back2][r=.6,g=.7,b=.8]
\definecolor[migr][r=0,g=.8,b=0]
\definecolor[hegr][r=0,g=0,b=0]
\definepapersize[PP][width=24cm,height=18cm]
\setuppapersize[PP][PP]
\setupbodyfont[sansserif,22pt]
\setuplayout
   [width=220mm,
   height=147mm,
   backspace=10mm,
   topspace=23mm,
   top=00mm,
   header=00mm,
   footer=0mm,
   bottom=0mm,
   margin=0mm]

%//
%   Die Praesi wird im Vollbildmodus gestartet
%//
%\setupinteractionscreen[option=max]

%//
%   Unglaubliche Option für interaktive Schaltflächen
%//
\setupinteraction[state=start]
%
%   Grafiken mit Metafun erstellt
%
%\startuseMPgraphic{teilstrich}
%path p ; p := (0cm,0cm)--(21cm,0cm)--(21cm,0.1cm)--(0cm,0.1cm)
--cycle ;
%drawoptions(withpen pencircle scaled 0.1mm withcolor
\MPcolor{migr}) ;
%fill p ;
%\stopuseMPgraphic
\startuseMPgraphic{teilstrich}
path p ; p := (0cm,0cm)--(21.5cm,0.1cm)--(0.0cm,0.15cm)--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr})
;
fill p ;
\stopuseMPgraphic

\startuseMPgraphic{teilstrich2}
path p ; p := (0cm,0cm)--(0.1cm,0cm)--(0.1cm,12.5cm)--(0cm,12.5cm)
--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{migr})
;
fill p ;
\stopuseMPgraphic

\startuseMPgraphic{grund}
path p ; p := (0cm,0cm)--(24cm,0cm)--(24cm,18cm)--(0cm,18cm)--cycle
;
drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{hegr})
;
fill p ;
\stopuseMPgraphic

\definelayer[grund]
\setuplayer[grund][state=repeat]
\setlayer[grund][present=righttop,width=\textwidth,height
=\textheight]{\useMPgraphic{grund}}
%///
%   senkrechter grauer Strich auf der rechten und linken
Seite
%///
\startuseMPgraphic{senkstrich}
path p ; p := (0cm,0cm)--(17.6cm,0cm)--(17.6cm,0.1cm)--(0cm,0.1cm)
--cycle ;
drawoptions(withpen pencircle scaled 0.1mm withcolor lightgray) ;
fill p rotated 90 ;
\stopuseMPgraphic

\definelayer[senkstrich]
\setuplayer[senkstrich][state=repeat]
\setlayer[senkstrich][present=left,x=0.6cm,y=0.2cm]
{\useMPgraphic{senkstrich}}

\definelayer[senkstrich2]
\setuplayer[senkstrich2][state=repeat]

[NTG-context] processing of setvariables/getvariables again

2005-10-20 Thread Thomas A. Schmitz

Hi all,

excuse me for being so pig-headed, but I'm running into the same  
problem I had two weeks ago. Peter Rolf was incredibly helpful, but I  
couldnt get things working. It is more a problem of architecture and  
general choices, IMHO, than of actual code. I tried every single part  
of what I want to achieve, and it works. The difficulty lies in  
getting the variables to work...


Basic problem: I want to refine my greek module. It provides a command

\setupgreek[font=,scale=]

which sets variables fonts and scale in the namespace Greek. The  
command is defined in the module, so in order to use it, the module  
has to be read. BUT: I want to use the result [i.e. \getvariable 
{Greek}{font} and \getvariable{Greek}{scale}] within the module  
itself. Is this possible?


Details: I want to organize the fonts in a typescript to be more  
flexible. So the module first defines the setupcommand:


\def\setupgreek{\setvariables[Greek]}

then it calls the typescript

\usetypescriptfile[type-tasgreek]

where all the Greek fonts are defined in this form:

\starttypescript [serif] [GreekGentium] [agr]
  \definefontsynonym [Greekgentium-Roman] [genagr-GentiumAlt]   
[encoding=agr]
  \definefontsynonym [Greekgentium-Italic][genagr-GentiumAItI]  
[encoding=agr]

\stoptypescript

\starttypescript [serif] [GreekGentium] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]   [Greekgentium-Roman]
  \definefontsynonym [SerifItalic] [Greekgentium-Italic]
  \definefontsynonym [SerifBold]   [Serif]
  \definefontsynonym [SerifBoldItalic] [Serif]
\stoptypescript

So the module calls the typescriptfile (or would it be more elegant  
to include these typescripts in the module itself?)


I then have the definition for the command \localgreek which  
contains, among other things, a call of the Greek font. I had been  
planning to implement it in this form:


\definetypeface [My\getvariable{Greek}{font}] [rm] [serif]  
[\getvariable{Greek}{font}] [default] [rscale = \getvariable{Greek} 
{font},encoding=agr]


and then, in the setups for \localgreek,

\switchtobodyfont[My\getvariable{Greek}{font}]

And that's where I'm banging my head against the wall: the module  
would be used like this


\usemodule[t-greek]
\setupgreek[font=GreekGentium,scale=0.9]

Which means: the entire module will be read BEFORE the \setupgreek  
command. But I would need the values of the setupgreek command WITHIN  
the module. Is that possible at all? Would I have to call a third  
file where the values are then processed? I tried to look into the  
source how \setup commands work, but I do get the impression that  
collecting the values and processing them is done in different files.  
Is this necessary? And how could I implement it in one module?


Sorry if this sounds confusing, but I'm pretty confused, and hoping  
for enlightenment from the wizzards.


All best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: strange (?) exporting from pdf

2005-10-20 Thread olivier Turlier

Henning Hraban Ramm wrote:
I'm not a XML guru (never tried XML with ConTeXt), but I guess if  
you use a XML format like DocBook (or even OpenOffice's) there'd  be 
a ready-to-use way for RTF.


Thanks a lot, I was in fact investigating OO.



If you make up something useful from OpenDocumentFormat (or OOo's old  
format), please share it – I guess an OOo to ConTeXt converter would  
help some people.


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)


There is an exporter from OO to latex  XHTML, maintained by henrik 
Jensen : writer2latex (http://www.hj-gym.dk/~hj/writer2latex/).
I've asked him if he could add context export, but he have no time to do 
it right now. So if someone is willing to ...


Regards

--
olivier Turlier

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Antwort: Re: [NTG-context] distance with \godown

2005-10-20 Thread Jessica Holle

Yes this works. Thx,
But I've testet it with godown=0pt
When I say this is to much distance between the kastens and
comment \godown=0pt out there is the same strange thing.
When I comment it on all my pages out there is a bigger distance
between the first and second kasten.
Why?
Why only on this point?
Where does it comes from?
How can I disable this?

Hope you have an answer to this :-)

thx Jessica

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context