Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'
Dear all, Last september, I asked about how to change the label text of figures and of tables in my own language. At that time, Wolfgang suggested me to make lang-kor.tex like lang- chi.tex. Yesterday, I made lang-kor.tex and test it. But it is not working. I got the following error message for a simple test file. . . (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.mkii)) (./test- label.tuo ) (./test-label.tuo) systems : begin file test-label at line 3 ! Undefined control sequence. \koreanencoding \doenableencoding ...\edef \characterencoding [EMAIL PROTECTED] @}\fi \edef \nocharacteren... \koencodedintro \dogetupsometextprefix ...csname #2#1#3\endcsname \else \ifcsname #2#3\endcs... \labeltexts #1#2->\leftlabeltext {#1} #2\rightlabeltext {#1} \sectionblocklabel ...sectionblock \c!label }}{#2} \fi ... l.9 \section{figures} ? Would you please check what is wrong in here? I test it using XeTeX+ ConTeXt in gwTeX(mac OSX 10.5). Thank you. Best regards, Dalyoung lang-kor.tex Description: Binary data ___ 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] Automatic breaking of display math equations
Hi, There is a new release of breqn package (http://tug.ctan.org/get/macros/latex/contrib/mh/breqn.pdf), now maintained by Morten Hoegholm. For the impatient, just look at the examples on page 12. Need to start thinking about porting this to Context, but no time right now :-( 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] [SPAM] Examples of MathML in Context
Below is a complete example: \usemodule[mathml] \starttext \startXMLdata x2 + 4x + 4 \stopXMLdata \stoptext Could you please add this minimal example to the wiki page: http://wiki.contextgarden.net/MathML_code_examples Cheers, Mike ___ 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] Examples of MathML in Context
Hi, I've just looked at three documents from Hans ('mmlexamp.pdf', 'mmlprime.pdf', 'mmoexamp.pdf'), and they all show nice examples of MathML and what you can accomplish using it. However, I wasn't able to find an example of how to actually insert MathML in a Context document. I imagine it's probably something like that: \starttext (...) \startMathML (...) \stopMathML (...) \stoptext Does anyone knows of an example on how to do that properly? Thanks, Maurício ___ 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] Kannada
Hello, Please post such questions to the list, not to me personally. -- Forwarded message -- From: gururaj <[EMAIL PROTECTED]> Date: 3 Dec 2007 16:12:42 - Subject: context I couldn't configure TexnicCenter for ConTeXt. I am using SciTe instead which works fine. I have another problem. When I had Miktex installed on my machine I could use the macro package "kanlel" which gives the output in Kannada, my native language. But with ConTeXt I am unable to use the macro package. How can I make this package work with ConTeXt? I would suggest you to use XeTeX or LuaTeX for Kannada, I don't see any advantage in supporting pdfTeX to do that. You need: - the proper font - perhaps hyphenation patterns (http://www.ctan.org/tex-archive/macros/xetex/hyphenation/sanhyph/): Hans would need to add support to ConTeXt somehow, but *if and only if* you: - are ready to test (to change files and regenerate formats) - provide enough feedback (if you ask a question about TeXnicCenter and people answer it on the list, it's polite to answer that it either didn't work and what went wrong or that you managed to compile successfully) - provide enough information (what exactly doesn't work, where does it fail, what's the error message) - specify what you need (figure captions probably need to be translated into semething as well) This is a sample (which should be simplified): % engine=xetex % this ugly portion of code could be shorter, perhaps reduced to % \definetypeface[myface][rm][Xserif][Devanagari MT] % \setupbodyfont[myface] \definefontfeature[devanagari][script=deva] \starttypescript[serif][devanagari] % replace "Devanagari MT" in "name:Devanagari MT" with the font you have installed \definefontsynonym[DevanagariMTRegular] [name:Devanagari MT] [features=devanagari] \definefontsynonym[DevanagariMTBold][name:Devanagari MT/B] [features=devanagari] \stoptypescript \starttypescript[serif][devanagari][name] \definefontsynonym[Serif] [DevanagariMTRegular] \definefontsynonym[SerifBold] [DevanagariMTBold] \definefontsynonym[SerifItalic] [Serif] \definefontsynonym[SerifBoldItalic] [SerifBold] \definefontsynonym[SerifSlanted][Serif] \definefontsynonym[SerifBoldSlanted][SerifBold] \stoptypescript \starttypescript[devanagari] \definetypeface [devanagari] [rm] [serif] [devanagari] [default] \stoptypescript % the ugly code ends here \usetypescript[devanagari] \setupbodyfont[devanagari,15pt] \starttext % no idea what this means, but it looks non-latin at least नेपाल चार जात छत्तिस वर्णको साझा फूलवारी हो । \stoptext 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 ___
[NTG-context] Ligatures in ConTeXt minimals distribution
Hello, Ligatures seem to be missing when using the ConTeXt minimals distribution (8/8/2007) with the times font (see below example). Note that ligatures are rendered correctly using live.contextgarden.net, so I assume that something needs to be configured on my end. Could someone please be kind enough to tell me what I should configure to get proper ligatures for the times font in the minimals distribution? Cheers, Mike \usetypescript[times][ec] \setupbodyfont[times,12pt] \starttext \input knuth \blank And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl. \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] synonyms with MKIV
Wolfgang Schuster wrote: > 2007/12/3, Peter Münster <[EMAIL PROTECTED]>: >> Hello, >> >> I get unexpected output with this test-file: >> >> % engine=luatex >> \definesynonyms[test][tests] >> \test{testOne}{first test} >> \test{testTwo}{second test} >> \starttext >> \testOne >> \placelistoftests >> \stoptext >> >> I would expect: >> >> testOne >> testOne first test >> >> but I get: >> >> testOne >> testtestOne >> >> (Perhaps a problem with parameter numbers #1, #2 etc. ?) >> >> Cheers, Peter > > Hi Peter, > > this is a bug in the mkiv sorting macros, I posted a similiar message > a few days ago but got no answer. \def\mksavesortedlistentry#1#2#3#4% class key entry meaning {\immediatewriteutilitytua{ti(js['#1'],{'e','#2',\!!bs#3\!!es,\!!bs#4\!!es})}} seems to work - 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] synonyms with MKIV
Wolfgang Schuster wrote: > this is a bug in the mkiv sorting macros, I posted a similiar message > a few days ago but got no answer. > > http://archive.contextgarden.net/message/20071125.084213.6c34633f.en.html no time yet -) 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] Itemize starting at zero
2007/12/3, Zeus Gómez Marmolejo <[EMAIL PROTECTED]>: > I've searched the documentation and emails, but I didn't find the > answer... It sounds really simple: > > How can I make the numbers in startitemize[n,...] start from 0 instead of 1? > > Thanks, > Zeus. Hi, \startitemize has a start value, but it is not working a you have to define your own conversion macro untill this will be fixed :-( \def\zerostart#1{\number\numexpr#1-1\relax} \defineconversion[zerostart][\zerostart] \starttext \startitemize[zerostart] \dorecurse{10}{\item text} \stopitemize \stoptext 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] synonyms with MKIV
2007/12/3, Peter Münster <[EMAIL PROTECTED]>: > Hello, > > I get unexpected output with this test-file: > > % engine=luatex > \definesynonyms[test][tests] > \test{testOne}{first test} > \test{testTwo}{second test} > \starttext > \testOne > \placelistoftests > \stoptext > > I would expect: > > testOne > testOne first test > > but I get: > > testOne > testtestOne > > (Perhaps a problem with parameter numbers #1, #2 etc. ?) > > Cheers, Peter Hi Peter, this is a bug in the mkiv sorting macros, I posted a similiar message a few days ago but got no answer. http://archive.contextgarden.net/message/20071125.084213.6c34633f.en.html 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 ___
[NTG-context] synonyms with MKIV
Hello, I get unexpected output with this test-file: % engine=luatex \definesynonyms[test][tests] \test{testOne}{first test} \test{testTwo}{second test} \starttext \testOne \placelistoftests \stoptext I would expect: testOne testOne first test but I get: testOne testtestOne (Perhaps a problem with parameter numbers #1, #2 etc. ?) Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] patch to bibl-ams.tex
Hi I'm typesetting a document using the context bib/bibltx modules and the 'ams' style. In the printed bibliography, entries with many authors are converted into: "Hansen et al." as they should, but printed as: "Hansenet al." which looks bad. My output looks much better using the following very simple tweak of the file 'bibl-ams.tex' 99c99 < \c!artauthoretaltext={ {\it et al.\/}}] --- > \c!artauthoretaltext={ {\it\ et al.\/}}] Just wanted to post is in case someone finds this handy. -Peter ___ 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] Itemize starting at zero
I've searched the documentation and emails, but I didn't find the answer... It sounds really simple: How can I make the numbers in startitemize[n,...] start from 0 instead of 1? Thanks, Zeus. ___ 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 ___