Re: [NTG-context] setuphead question
Am 30.01.2009 um 13:13 schrieb Mohamed Bana: i also have a question; why can't i use different fonts in \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}} \setuphead[part][command=\myCommand] the font commands are simply ignored. I don't want to have to resort to using numberstyle and textstyle. You code works but the style and number/textstyle values act as part of #1 and #2 and you have to set them to nothing to get your own settings. \setuphead[part][command=\myCommand,style=] 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] new experimental
Hi, Hans, please test the following formulas. All of them come from my thesis, and MKII typeset them right. MKIV produce the wrong result. I am using the nightly build from w32tex since the luatex binary in the minimals repository cannot generate the format correctly. \starttext \startformula P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} P_{{\rm bend},n} \stopformula \startformula P_{\rm straight}=\exp \left(-{pLV_{\rm d} \over AU_{\rm ave}}\right) \stopformula \startformula \eqalign{ &{Sc_{(i,j)} +R_{(i,j)}L_{(i,j)}A_{(i,j)}\over V_{(i,j)}} -{{\rm d} C_{{\rm out},(i,j)} \over {\rm d} t}-(a_{(i,j)}+n_{(i,j)}+K_{(i,j)})C_{{\rm out},(i,j)}\cr &+a_{(i,j)}P_{(i,j)}C_{\rm env} + n_{(i,j)}C_{{\rm in},(i,j)}=0\cr} \stopformula \startformula \sum_j Q_{(j,i)}=\sum_j Q_{(i,j)} \stopformula \startformula \sum_j Q_{(j,i)}C_{{\rm out},(j,i)} = \sum_j Q_{(i,j)}C_{{\rm in},(i,j)} \stopformula \startformula \cases{ \cases{ {{\rm d} C_{{\rm out},(i,j)} / {\rm d} t}=K_1C_{{\rm out},(i,j)} + K_2C_{{\rm in},(i,j)}+K_3 & if $(i,j)$ is room edge; \cr C_{{\rm out},(i,j)}=P_{(i,j)}C_{{\rm in},(i,j)} & otherwise.\cr } \cr \cases{ \left. C_{{\rm in},(i,j)}=\sum_k C_{{\rm out},(k,i)}Q_{(k,i)} \middle/ \sum_k Q_{(k,i)} \right. & for a given $(i,j)$, if $k$ exist.\cr C_{{\rm in},(i,j)}=C_{\rm env} &otherwise(fresh air duct).\cr } } \stopformula \startformula {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} \stopformula \startformula \cases{ {\partial C(x,t)\over \partial x} \left( 1+{1\over u_{\infty}}\right) + {v_{\rm d, total}P C(x,t) \over S u_\infty}=0 \cr C(0,t)=C_0 f(t)\cr} \stopformula \startformula C(x,t)=C_0 f\left(t-{x\over u_\infty}\right) \exp \left( - {v_{\rm d, total}Px\over S u_\infty}\right) \stopformula \startformula C_{{\rm out},(i,j),t} = P_{(i,j)} C_{{\rm in}, (i,j), t-L/u_\infty} \stopformula \startformula {{\rm d} C\over {\rm d}t} = aPC_{\rm env}+n\epsilon P_{\rm fs} C_{\rm env} + {Sc \over V}+ n(1-\epsilon)P_{\rm fs}C - (a+n+k) C + RL_{\rm fl}A_{\rm fl} \stopformula \startformula C_\infty = {{(aP+n\epsilon P_{\rm fs}) C_{\rm env} +{Sc\over V} + RL_{\rm fl} A_{\rm fl}}\over a+n+K-n(1-\epsilon)P_{\rm fs}} \stopformula \startformula \left| {C(t)-C_\infty \over C_\infty}\right| = AB \quad \text{where $A=\left|{C_{\rm I} / C_\infty}-1\right|$ and $B= \exp(k)$.} \stopformula \stoptext Yue Wang On Sat, Jan 31, 2009 at 12:28 AM, Hans Hagen wrote: > Yue Wang wrote: >> >> After upgrading, \chem{CO_2} still gives me: >> >> ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. > > sure, you need to wait till mojca has synced both context and luatex > > - > 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 > ___ > ___ 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 to capture a typeset page into a box instead of shipping it out
On Sat, Jan 31, 2009 at 12:34 AM, Kevin D. Robbins < krobb...@alumni.princeton.edu> wrote: > Hi all, > > I am looking for ideas of how to capture a typeset page (as it would appear > in the resulting pdf output) into a box instead of actually shipping it out > directly, if it is possible. I would like to take advantage of ConTeXt's > layout features including layers, otherwise I would just create the box with > \setbox. > It's not an answer, but I think that it's an OTR (output routine) + mutlipass problem. if you search for 'OTR' in base/* you will find what you need. Also lua offers a table serializazion which can be useful instead of \showbox . > > My intent is to draw slides using all of ConTeXt's many layout features, > but capture the rendered slide in a box so I can use it either as a full > page in the presentation output or as a scaled image included as a figure in > a full text "train the trainer" document. > Why the final pdf is not OK ? You can convert an arbitrary page to a bitmap with ghostscript . -- 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 ___
Re: [NTG-context] XeTeX and/or LuaTeX?
J.A.J. Pater wrote: I've already send a mail in reply to Hans, but it was to big since I attached the TTF. I don't know if the moderator will approve of posting fonts. But it can also be found on the web: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=EzraSIL_Home So the moderator can drop my last mail, it was to extensive anyway. Installed on my computer [Ubuntu Intrepid 8.10] /usr/share/fonts/truetype/ttf-sil-ezra/SILEOT.ttf I got the font working by adapting the ara-sty from http://wiki.contextgarden.net/Arabic_and_Hebrew to heb-sty (attached) I also adapted the example from the above link (attached as test.tex). I ran it with the minimals. Issues I still have: I don't know how to use Hebrew and Latin text next to each other. I don't like the font I get with \setlatin I don't want every word on a new page I don't have the faintest clue as to what I'm doing inside of heb-sty. What's important for me is to use hebrew text inside of latin text. I'd like to be able to do things like: \starttext This is the word for peace: \hebrew[שלם]. Isn't that what we all wish for? \stoptext Many thanks to Hans and Mojca! Adriaan. P.S. If you're interested in what I don't get in ara-sty casu quo heb-sty: 1. \mainlanguage[hebrew] The wiki: "Sets the main language to hebrew, so that translatable titles are translated to Arabic." What exactly does "translatable titles" mean in this senctence? The main language of my document is in Latin. 2a. Why all the following stuff: \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifItalic] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBold] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBoldItalic] [Ezra SIL] [features=hebrew] \stoptypescript 2b. What does serif mean? 3. I don't get the defining of the directional commands either. 4. I absolutely don't get what I'm doing here \definestartstop [hebrewpar] [commands=\Hebrew\HebrewParDir] \define[1]\RT {{\Hebrew\HebrewTextDir#1}} attached a more efficient variant btw: = there will be a more high level par direction text dir changer = you can use the hebrew font also for latin = you can combine fonts into one font *using teh font fallback mechanism) - 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 - \startenvironment heb-sty \mainlanguage[hebrew] \definefontfeature [hebrew] [mode=node,language=dflt,script=hebr, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,kern=yes,curs=yes] \starttypescript [serif] [hebrew] \definefontsynonym [EzraSIL] [file:sileot] [features=hebrew] \stoptypescript \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [EzraSIL] [features=hebrew] \stoptypescript \starttypescript [hebrew] \definetypeface [hebrew] [rm] [serif] [hebrew] [default] \stoptypescript \def\HebrewParDir {\textdir TRT\pardir TRT} \def\HebrewTextDir{\textdir TRT} \def\LatinParDir {\textdir TLT\pardir TLT} \def\LatinTextDir {\textdir TLT} \usetypescript[hebrew] \define\sethebrew{\HebrewParDir\switchtobodyfont[hebrew,20pt]} \define\setlatin {\LatinParDir \switchtobodyfont[modern,20pt]} \definestartstop[hebrewpar][commands=\hebrew\HebrewParDir] \definestartstop[latinpar] [commands=\Hebrew\LatinParDir] \define[1]\RT{\begingroup\hebrew\HebrewTextDir#1\endgroup} \define[1]\LT{\begingroup\modern\LatinTextDir #1\endgroup} \setcharactermirroring[1] \stopenvironment % engine=luatex \environment heb-sty \starttext This is a test. \sethebrew test ×Ö¸×Ö·× test \setlatin walking \stoptext ___ 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 to capture a typeset page into a box instead of shipping it out
Hi all, I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox. My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text "train the trainer" document. Thanks, Kevin Robbins ___ 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] XeTeX and/or LuaTeX?
I've already send a mail in reply to Hans, but it was to big since I attached the TTF. I don't know if the moderator will approve of posting fonts. But it can also be found on the web: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=EzraSIL_Home So the moderator can drop my last mail, it was to extensive anyway. Installed on my computer [Ubuntu Intrepid 8.10] /usr/share/fonts/truetype/ttf-sil-ezra/SILEOT.ttf I got the font working by adapting the ara-sty from http://wiki.contextgarden.net/Arabic_and_Hebrew to heb-sty (attached) I also adapted the example from the above link (attached as test.tex). I ran it with the minimals. Issues I still have: I don't know how to use Hebrew and Latin text next to each other. I don't like the font I get with \setlatin I don't want every word on a new page I don't have the faintest clue as to what I'm doing inside of heb-sty. What's important for me is to use hebrew text inside of latin text. I'd like to be able to do things like: \starttext This is the word for peace: \hebrew[שלם]. Isn't that what we all wish for? \stoptext Many thanks to Hans and Mojca! Adriaan. P.S. If you're interested in what I don't get in ara-sty casu quo heb-sty: 1. \mainlanguage[hebrew] The wiki: "Sets the main language to hebrew, so that translatable titles are translated to Arabic." What exactly does "translatable titles" mean in this senctence? The main language of my document is in Latin. 2a. Why all the following stuff: \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifItalic] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBold] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBoldItalic] [Ezra SIL] [features=hebrew] \stoptypescript 2b. What does serif mean? 3. I don't get the defining of the directional commands either. 4. I absolutely don't get what I'm doing here \definestartstop [hebrewpar] [commands=\Hebrew\HebrewParDir] \define[1]\RT {{\Hebrew\HebrewTextDir#1}} \startenvironment heb-sty \mainlanguage[hebrew] % Font setup \definefontfeature [hebrew] [mode=node,language=dflt,script=hebr, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,kern=yes,curs=yes] \starttypescript [serif] [hebrew] \definefontsynonym [Ezra SIL] [name:SILEOT] [features=hebrew] \stoptypescript \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifItalic] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBold] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBoldItalic] [Ezra SIL] [features=hebrew] \stoptypescript \starttypescript [Hebrew] \definetypeface [Hebrew] [rm] [serif] [hebrew] [default] \stoptypescript \def\HebrewGlobalDir {\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT} \def\HebrewParDir{\textdir TRT\pardir TRT} \def\HebrewTextDir {\textdir TRT} \def\LatinParDir {\textdir TLT\pardir TLT} \def\LatinTextDir{\textdir TLT} \def\LatinGlobalDir {\pagedir TLT\bodydir TLT\pardir TLT\textdir TLT} \define\sethebrew {\HebrewGlobalDir% \usetypescript[Hebrew]% \setupbodyfont[Hebrew,20pt]} \definestartstop [hebrewpar] [commands=\Hebrew\HebrewParDir] \define[1]\RT {{\Hebrew\HebrewTextDir#1}} \define\setlatin {\LatinGlobalDir% \usetypescript[lm]% \setupbodyfont[lm,20pt]} \definestartstop [latinpar] [commands=\Hebrew\LatinParDir] \define[1]\LT {{\LatinTextDir#1}} \setcharactermirroring[1] \stopenvironment % engine=luatex \environment heb-sty \starttext This is a test. \sethebrew ×Ö¸×Ö·× \setlatin walking \stoptext ___ 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] XeTeX and/or LuaTeX?
On Fri, Jan 30, 2009 at 11:29 AM, J.A.J. Pater wrote: > I'm was planning to write my master thesis in XeLaTeX until I > discovered that ConTeXt can use the XeTeX engine. > I need to use a lot of Hebrew - so Right to Left typing - and some > linguistic glyphs and stuff. > > But from the wiki I understand there are still some issues with ConTeXt's > XeTeX-awareness. > > Like the bookmarks "may result in some strangeness in certain documents" > Can someone tell me what kind of strangeness? Do not worry about bookmarks. You can probably ask Hans to fix it if it doesn't work properly. > And XeTeX can't use "certain specials and other types of features" > Can someone tell me what kind of "specials and types of features"? I would not bother too much. One of the differences is that XeLaTeX has very good high-level support for changing fonts. That one is missing, but you can still do everything you need. In particular, if you are writing your thesis, those few additional lines that you might need for properly setting the font should not be a problem. XeLaTeX also has some support for OpenType math, but you don't need that. > And now on this list there is a lot of talk about LuaTeX and Mark IV. > So I wonder: Is it possible to use MarkIV and XeTeX engine at the same time? > And if not, why should (or shouldn't) I use MarkIV over XeTeX? Minus of Mark IV: it's a bit unstable; problems are fixed quickly, but it's a bit annoying if your thesis doesn't compile one hour or day before the deadline (when you do the final run before you print the document and of course you have no backup of PDF). You can make sure that this doesn't happen by keeping two versions of ConTeXt installed just in case (one that you update and one that you don't). Plus of Mark IV: it has a very powerful programming language in the background. Fun to use (which could just as well be a minus if you become interested in playing with it or in fixing the problems instead of writing your thesis :) :) :) Very well supported. In case that you don't need advanced MKIV features, you can, at least in theory, use the same source to typeset the document with both XeTeX and LuaTeX. For documents that are not too complex this is what I usually do. If I stumble across a problem in one engine, there's still a chance that the other engine will work properly. 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 ___
Re: [NTG-context] setuphead question
i also have a question; why can't i use different fonts in \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}} \setuphead[part][command=\myCommand] the font commands are simply ignored. I don't want to have to resort to using numberstyle and textstyle. Thanks ___ 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] Minimals and dvipng
Hi all, Tomorrow I will try to modify my muse-tex2png.el file so it uses the pdf output of context (or texexec), then "convert" to make a png file, instead of dvipng: I use this already for graphics (metapost or pgf) and it will probably be a better tool. Please Mojca no hard work on dvipng until I give more news :-) !! Cheers, -- Jean ___ 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] installing fonts pdftex
Hi, > this http://wiki.contextgarden.net/otfinst did it and it actually > worked quite well, thanks a lot. good to know :-) > it even took care of the dashes > problem. do you know how to default to old style numerals the 'osf' > doesn't seem to work, and i'm certain that the font supports it. and > if you so happen to be the author, you've got a bug; I am the anonymous author :), I'll have a look into this this weekend. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ 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] new experimental
Yue Wang wrote: After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. sure, you need to wait till mojca has synced both context and luatex - 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] new experimental
After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript ...bscript {#1}{\textfont 2}{#2} \dosetsubscript {#1}{\scri... \setsubscripts ...setsubscript \mathsubnormal {.7} \dodosetsubscript \mathsub... \dosetsubscripts $\@@dochemicalstyle {\@@localchemicalstyle \stru... \chemicalinnerclip #1->{\setbox 0=\hbox {#1 }\ht 0\ht \strutbox \dp 0\dp \str... ... l.25 ...nitored three pollutants, \chemical{SO_2}, \chemical{NO_2} and \chem... ? I will test more tomorrow. On Fri, Jan 30, 2009 at 11:38 PM, Hans Hagen wrote: > Hi, > > the experimental branch of the garden distribution has a prelude to the new > math font subsystem > > - less definitions, so faster (but some things might not yet work) > > - unicode math (but mojca, aditya, taco and i are in the process of checking > and completing the definitions) > > - faster startup time of mkiv as well as less memory usage > > - using runtime virtual fonts which permits more math alphabets (as un > unicode) but not all are defined now (not all make sense) > > since this is evolving, if you use experimental, you need to update on a > regular basis (mkiv as well as the luatex bin) but mojca keeps things nicely > in sync so that should be done automatically for lin/win/osx > > > 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 > ___ > ___ 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] new experimental
Hi, the experimental branch of the garden distribution has a prelude to the new math font subsystem - less definitions, so faster (but some things might not yet work) - unicode math (but mojca, aditya, taco and i are in the process of checking and completing the definitions) - faster startup time of mkiv as well as less memory usage - using runtime virtual fonts which permits more math alphabets (as un unicode) but not all are defined now (not all make sense) since this is evolving, if you use experimental, you need to update on a regular basis (mkiv as well as the luatex bin) but mojca keeps things nicely in sync so that should be done automatically for lin/win/osx 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] XeTeX and/or LuaTeX?
J.A.J. Pater wrote: Thanks for the answers! Especially the tip about searching the mailing list! >> And if not, why should (or shouldn't) I use MarkIV over XeTeX? > > Since XeTeX does not provide most of the LuaTeX features. Does LuaTeX support right to left utf-8 Hebrew typing with ttf/otf fonts? Would it be (much) more complicated than in XeTeX? it should work; best communicate this with idris since he's the r-l expert and can help you to get started do you have example files/fonts? 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] XeTeX and/or LuaTeX?
J.A.J. Pater wrote: And now on this list there is a lot of talk about LuaTeX and Mark IV. So I wonder: Is it possible to use MarkIV and XeTeX engine at the same time? And if not, why should (or shouldn't) I use MarkIV over XeTeX? you could use both at the same time, but xetex uses mkii and luatex uses mkiv in principle mkii is frozen so new features and improvements will only happen in mkiv concerning bidi: luatex does this natively (based on omega/aleph code) while xetex does it the etex way which has some limitations (since mkiv/luatex is tested extensively in the oriental tex project it probably makes more sense to use mkiv) 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] Please fix this
Yue Wang wrote: I'm impressed if any math works at all in experimental. Hans and Taco have just switched to OpenType math and the current state looks like a nightmare to me. (You can take a look at char-def.lua, math-vfu.lua and some other files. It all needs to be improved and fixed.) Yes, the math in experimental is not working. see the attachment. However, I have a document which uses - Myriad Pro - a lot of math but I can use neither beta (failed to parse Myriad Pro) nor experimental (cannot typeset math) I use the nightly build version of LuaTeX provided by w32tex. there will be an update later today - 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] XeTeX and/or LuaTeX?
On Fri, Jan 30, 2009 at 12:12 PM, J.A.J. Pater wrote: > Does LuaTeX support right to left utf-8 Hebrew typing with ttf/otf fonts? > Would it be (much) more complicated than in XeTeX? LuaTeX has more features for RTL than XeTeX because it's one of the goals of the LuaTeX project. http://wiki.contextgarden.net/Arabic_and_Hebrew 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] XeTeX and/or LuaTeX?
Thanks for the answers! Especially the tip about searching the mailing list! >> And if not, why should (or shouldn't) I use MarkIV over XeTeX? > > Since XeTeX does not provide most of the LuaTeX features. Does LuaTeX support right to left utf-8 Hebrew typing with ttf/otf fonts? Would it be (much) more complicated than in XeTeX? Thanks again. Adriaan ___ 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] XeTeX and/or LuaTeX?
Hi, > Like the bookmarks "may result in some strangeness in certain documents" > Can someone tell me what kind of strangeness? > Many features like dvi / metapost may produce strange result. you can search the mailing list and you can find plenty of them. > And XeTeX can't use "certain specials and other types of features" > Can someone tell me what kind of "specials and types of features"? Like Lua language programming, controling nodes/tokens. But writing a thesis will not use these features. > > And now on this list there is a lot of talk about LuaTeX and Mark IV. > So I wonder: Is it possible to use MarkIV and XeTeX engine at the same time? no. > And if not, why should (or shouldn't) I use MarkIV over XeTeX? Since XeTeX does not provide most of the LuaTeX features. 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] XeTeX and/or LuaTeX?
I'm was planning to write my master thesis in XeLaTeX until I discovered that ConTeXt can use the XeTeX engine. I need to use a lot of Hebrew - so Right to Left typing - and some linguistic glyphs and stuff. But from the wiki I understand there are still some issues with ConTeXt's XeTeX-awareness. Like the bookmarks "may result in some strangeness in certain documents" Can someone tell me what kind of strangeness? And XeTeX can't use "certain specials and other types of features" Can someone tell me what kind of "specials and types of features"? And now on this list there is a lot of talk about LuaTeX and Mark IV. So I wonder: Is it possible to use MarkIV and XeTeX engine at the same time? And if not, why should (or shouldn't) I use MarkIV over XeTeX? Thanks in advance, Adriaan Pater ___ 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] Page layout : Need help to begin
On Fri, Jan 30, 2009 at 8:09 AM, Antoine Cailliau wrote: > Hi, > >> You can also place backgrounds only on left/right pages. > Ok, I'll investigate that. Is it also with overlay? Yes, overlays are used to put text, graphics etc. behind the text. You can use different backgrounds for a left/right page with \setupbackgrounds[leftpage|rightpage][..,..=..,..] >> Is the content for each topic short enough for one double page or >> is it possible the content on a left page requires more space and >> continues on the next left page? > The content is short enought because it is for leaflets. So, only > a front page, thoose two pages and a backpage. In this case I would take care to spend more time in easy to use interface with a few macros to write the content. 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] Please fix this
> I'm impressed if any math works at all in experimental. Hans and Taco > have just switched to OpenType math and the current state looks like a > nightmare to me. (You can take a look at char-def.lua, math-vfu.lua > and some other files. It all needs to be improved and fixed.) Yes, the math in experimental is not working. see the attachment. However, I have a document which uses - Myriad Pro - a lot of math but I can use neither beta (failed to parse Myriad Pro) nor experimental (cannot typeset math) I use the nightly build version of LuaTeX provided by w32tex. Yue Wang untitled-1.pdf Description: Adobe PDF document untitled-1.tex Description: TeX document ___ 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 ___