Re: [NTG-context] LuaTeX on Mac OS X
On 10/4/07, Otared Kavian wrote: > So it seems that the procedures for installing LuaTeX are not yet > thouroughly straightforward, and persons like Dalyoung and me have to > wait a little bit... I have never been stubborn enough in order to try to make luatex work over the existing gwTeX, so I have been always using Hans's minimals (you need to download justtex.zip and macosxtex.zip, unzip them and run ". setuptex"). If you only want to play with luaTeX, here's something experimental that you can test if you have rsync (no warranty that the structure will remain the same): rsync -rvzctl rsync://contextgarden.net/minimals/minimals/mac-ppc/ mytex cd mytex . setuptex mktexlsr luatools --generate texexec --lua --make --all texexec --make --all and then you should be able to compile your document with texexec --lua something (as long as you stay in the same terminal) 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] LuaTeX on Mac OS X
Dear Thomas, Mojca, and Otared, Thank you for the instructions. I think that I followed the instructions of installation without problems. But I have a problem running luatools. A few week ago, I succeeded running luatools --generate, but not luatools --ini --... after making .luatex containg variables like TEXMF, TEXMFCNF, etc. I removed gwTeX and reinstalled MacTeX, I did the same steps of installation and I got the errors. At this time, even "luatools -- generate" didn't run correctly. It is ooking for the wrong folder. I tried "setuptex"(copy setuptex to the binary, and chmod 755 to run), but it asked me to "provide a proper tex directory like / something/tex" It seems to me that luatools are not able to get the texlive home dirextory. I may try once more using another mac because sometime it behaved differently. Thank you for your concern. Best regards, Dalyoung ___ 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] Problem with XML entities in titles [2]
Hello Hans, some time ago I've reported this problem with character entities. I've just upgraded to ConTeXt 2007-09-28, and the problem still persists! Could you please look into it? A simple test file is attached. Many thanks, Richard _ From: Richard Gabriel [mailto:[EMAIL PROTECTED] To: ntg-context@ntg.nl Cc: Hans Hagen [mailto:[EMAIL PROTECTED] Sent: Wed, 15 Aug 2007 09:35:52 +0200 Subject: [NTG-context] Problem with XML entities in titles Hello Hans, I'd like to report a problem (bug) with XML entities in chapter or section titles. I've just upgraded to the recent ConTeXt version (2007.08.09) and started to get errors while processing the .tuo file. Please test the attached minimal example. During the second TeX run, I get the following error: --- cut --- (./test.tuo ! Misplaced alignment tab character &. This is a testing chapter \listtextcommand #1->\begstrut #1 \endstrut \doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4}\dostopattributes ...ry {This is a testing chapter}} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... ... l.29 ...p;testing chapter}{2--0-1-0-0-0-0-0--2}{2} --- cut --- (find the complete log in attachment) Till today, I have been using ConTeXt version 2007.04.17 and it had worked fine! Thanks, Richard test.tex Description: TeX document test.log 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 __ 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] \enableregime[cp1250] and missing upper Greek letters in math mode.
Hello, > or, perhaps one needs > \usetypescript[modern][qx] > \setupbodyfont[modern,12pt] After these setting everything works fine. Thank you very much for answers (for Hans also). As I wrote - I have installed environment about 2003 and only my wife has used it from time to time. If everything works I didn't upgrade it... I am still beginner in TeX ;) -- best regards ml. ___ 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] LuaTeX on Mac OS X
On 10/4/07, Dalyoung Jeong <[EMAIL PROTECTED]> wrote: > Dear Thomas, Mojca, and Otared, > > Thank you for the instructions. I think that I followed the > instructions of installation without problems. But I have a problem > running luatools. > > A few week ago, I succeeded running luatools --generate, but not > luatools --ini --... after making .luatex containg variables like > TEXMF, TEXMFCNF, etc. > > I removed gwTeX and reinstalled MacTeX, I did the same steps of > installation and I got the errors. At this time, even "luatools -- > generate" didn't run correctly. It is ooking for the wrong folder. > > I tried "setuptex"(copy setuptex to the binary, and chmod 755 to > run), but it asked me to "provide a proper tex directory like / > something/tex" Because it's hardcoded in setuptex that one needs to have some files at fixed locations. You can modify setuptex a bit according to your needs (remove those explicit checks). 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] Problem with XML entities in titles [2]
2007/10/4, Richard Gabriel <[EMAIL PROTECTED]>: > Hello Hans, > > some time ago I've reported this problem with character entities. I've just > upgraded to ConTeXt 2007-09-28, and the problem still persists! > Could you please look into it? A simple test file is attached. > > Many thanks, > Richard Hello Richard, I'm not Hans but I can also give you a solution to your problem. This is related to your own definition for the chapter header and ConTeXt's mechanism to save the two pass information of the headers, you should save the header text and expand the header command with the header text, you can use my example for your problem. BTW: Your xml file is valied because you forgot to include the chapter end tag. \defineXMLenvironment [chapter] {\defineXMLsave[title]} {\expanded{\chapter{\XMLflush{title \defineXMLenvironment[para] \dontleavehmode \par \defineXMLentities [tex] {tex} {\TeX} \starttext \completecontent \startXMLdata This is a testing &tex; chapter Some meaningless text... \stopXMLdata \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] Problem with XML entities in titles [2]
On 10/4/07, Richard Gabriel wrote: > > Hello Hans, > > some time ago I've reported this problem with character entities. I've just > upgraded to ConTeXt 2007-09-28, and the problem still persists! For Hans: just in case that you decide to fix this mkii issue & implement it in mkiv at the same time, here's something to start with: http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml-lat1.ent http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml-special.ent http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml-symbol.ent http://www.w3.org/TR/2002/REC-xhtml1-20020801/dtds.html#h-A2 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] Problem with XML entities in titles [2]
Hello Wolfgang, thanks for Your hint. > I'm not Hans but I can also give you a solution to your problem. OK, sorry, maybe I shouldn't address Hans directly when writing to the mailing list... ;-) > BTW: Your xml file is valied because you forgot to include the >chapter end tag. Ooops! I've quickly created a minimal test file; of course I didn't want to attach the real file where I've encountered that problem... Anyway, the XML file is structured the following way: This is a testing chapter Some meaningless text... So — let's see Some meaningless text... ... the paragraphs are enclosed inside chapters. So unfortunately I can't use your solution because the \chapter command needs to be issued at the beginning, not at the end tag. Got any another idea? Many thanks, Richard _ From: Wolfgang Schuster [mailto:[EMAIL PROTECTED] To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED] Sent: Thu, 04 Oct 2007 13:47:27 +0200 Subject: Re: [NTG-context] Problem with XML entities in titles [2] 2007/10/4, Richard Gabriel <[EMAIL PROTECTED]>: > Hello Hans, > > some time ago I've reported this problem with character entities. I've just > upgraded to ConTeXt 2007-09-28, and the problem still persists! > Could you please look into it? A simple test file is attached. > > Many thanks, > Richard Hello Richard, I'm not Hans but I can also give you a solution to your problem. This is related to your own definition for the chapter header and ConTeXt's mechanism to save the two pass information of the headers, you should save the header text and expand the header command with the header text, you can use my example for your problem. BTW: Your xml file is valied because you forgot to include the chapter end tag. \defineXMLenvironment [chapter] {\defineXMLsave[title]} {\expanded{\chapter{\XMLflush{title \defineXMLenvironment[para] \dontleavehmode \par \defineXMLentities [tex] {tex} {\TeX} \starttext \completecontent \startXMLdata This is a testing &tex; chapter Some meaningless text... \stopXMLdata \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 ___ ___ 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] Problem with XML entities in titles [2]
Hello once again, I've puzzled my brain for a while ;-) and then I came to the following solution: \def\ExChapter#1{ \expanded{\chapter{#1}} } \defineXMLcommand[chapter]{ \defineXMLargument[title]\ExChapter } >From the first tests, it seems to work fine, anyway, I'm not sure if it won't >break anything else... :-/ Anyway, thank for your hint with the expansion! -Richard _ From: Wolfgang Schuster [mailto:[EMAIL PROTECTED] To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED] Sent: Thu, 04 Oct 2007 13:47:27 +0200 Subject: Re: [NTG-context] Problem with XML entities in titles [2] 2007/10/4, Richard Gabriel <[EMAIL PROTECTED]>: > Hello Hans, > > some time ago I've reported this problem with character entities. I've just > upgraded to ConTeXt 2007-09-28, and the problem still persists! > Could you please look into it? A simple test file is attached. > > Many thanks, > Richard Hello Richard, I'm not Hans but I can also give you a solution to your problem. This is related to your own definition for the chapter header and ConTeXt's mechanism to save the two pass information of the headers, you should save the header text and expand the header command with the header text, you can use my example for your problem. BTW: Your xml file is valied because you forgot to include the chapter end tag. \defineXMLenvironment [chapter] {\defineXMLsave[title]} {\expanded{\chapter{\XMLflush{title \defineXMLenvironment[para] \dontleavehmode \par \defineXMLentities [tex] {tex} {\TeX} \starttext \completecontent \startXMLdata This is a testing &tex; chapter Some meaningless text... \stopXMLdata \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 ___ ___ 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] numbered subitems
Hi, Aditya— This works perfectly (after changing the Yen-signs for backslashes). It behaves as expected when adapted and will be a great help in producing a number of the TOCs that are on my horizon. Many thanks for your time and help! All best, Alan > On Oct 1, 2007, at 8:11 PM, Aditya Mahajan wrote: > >> Hi Alan, >> On Mon, 1 Oct 2007, Alan Bowen wrote: >>> 1. History >>> 1.1 Pre-Greek (Babylonian and Egyptian) sundials >>> 1.2 Greek and Roman sundials >>> 1.3 Byzantine sundials >>> is the goal. Sadly, adding “serried” destroys the indentation of the >>> subitems. >> I could not find a clean way to do this. So, I redefined >> ¥checkforrepeatedlistitem. Hans, isn't there a clean way to do this? >> ¥setupitemize[1][fit,broad] >> ¥setupitemize[2][width=2em] >> ¥setupitemize[each][n] >> ¥def¥checkforrepeatedlistitem >> {¥ifnum¥itemlevel=¥plusone >> ¥initializeboxstack{item}% >>¥fi >>¥ifconditional¥repeatlistitem >> ¥savebox{item}{¥itemlevel}{¥hbox{¥copy8}}% >> ¥setbox8¥hbox %to ¥wd8 >>{¥setbox¥scratchbox¥hbox >> {¥scratchcounter¥itemlevel >>¥advance¥scratchcounter¥minusone >>¥dorecurse¥scratchcounter{¥foundbox{item} >> {¥recurselevel}}}% >> ¥ifnum¥itemlevel>¥plusone >> ¥ifdim¥wd¥scratchbox>¥zeropoint >>%¥hskip-¥dimen2 >> ¥box¥scratchbox >> ¥fi >> ¥fi >> ¥box8 }% >>¥fi} >> ¥starttext >> ¥startitemize[repeat] >> ¥item item 1 >> ¥startitemize >> ¥item item 1.1 >> ¥item item 1.2 >> ¥item item 1.3 >> ¥stopitemize >> ¥item item 2 >> ¥startitemize >> ¥item item 2.1 >> ¥item item 2.2 >> ¥item item 2.3 >> ¥stopitemize >> ¥item item 3 >> ¥startitemize >> ¥item item 3.1 >> ¥item item 3.2 >> ¥stopitemize >> ¥stopitemize >> ¥stoptext >> 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] Problem with XML entities in titles [2]
Richard Gabriel wrote: > Hello once again, > > I've puzzled my brain for a while ;-) > and then I came to the following solution: > > \def\ExChapter#1{ > \expanded{\chapter{#1}} > } > > \defineXMLcommand[chapter]{ > \defineXMLargument[title]\ExChapter > } in mkiv ... this becomes: (1) register handler in setup ssection \xmlsetsetups {main} {chapter} {*} (2) access child element using lpath \startxmlsetups chapter \expanded{\chapter{ \xmlfirst{#1}{title} }} \stopxmlsetups - 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] \usepackage{pslatex} equivalent for context
hi there, i was wondering if there was a quick and dirty equivalent for latex's \usepackage{pslatex} http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6: This is a small package that makes LaTeX default to `standard' PostScript fonts. It is basically a hacked merger of times.sty and mathptm.sty, from the psnfss suite of packages. You must have installed standard LaTeX (LaTeX2e) and psnfss PostScript fonts to use this package. thanks. -f -- en taro adun ___ 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] \usepackage{pslatex} equivalent for context
Hi, On Thu, 04 Oct 2007 16:00:02 -0600, frantisek holop <[EMAIL PROTECTED]> wrote: > hi there, > > i was wondering if there was a quick and dirty equivalent for > latex's \usepackage{pslatex} > > http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6: Hmm, I think is obsolete as far as ConTeXt is concerned. Using typescripts one can define one's own relative sizing etc as well as set up times-helvetica in virtually any way you like. See showfont.pdf in the documentation. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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] starttabulate vs starttable
hi there, please consider the following minimal examples: \starttext \starttable[|l|l|l|] \NC MidE \VL early ModE \VL ModE \NC \SR \HL \NC ge:s \VL gi:s \VL geese \NC \FR \NC na:m \VL ne:minimal \VL name \NC \MR \NC mi:s \VL mays \VL mice \NC \LR \stoptable \starttabulate[|l|l|l|] \NC MidE \NC early ModE \NC ModE \NC \NR \HL \NC ge:s \NC gi:s \NC geese \NC \NR \NC na:m \NC ne:minimal \NC name \NC \NR \NC mi:s \NC mays \NC mice \NC \NR \stoptabulate \stoptext the tabulate example is basicly the same without the vertical lines, which it seems like it can't do, i get an ! Undefined control sequence. but \HL seems to work (and \VL not). tabulate is very lightly documented so i am not sure which table command works there and which not. i'd like to use tabulate instead of table because of the spacing. i dont need to stretch the content like table does. this is a small inline "table" between 2 paragpraphs, tabulate seems more elegant to me here. Han, it would be nice if tabulate could handle VL, that would make tabulate even more useful. pretty please :D -f -- what we do not understand we do not possess. -- goethe ___ 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] \usepackage{pslatex} equivalent for context
hmm, on Thu, Oct 04, 2007 at 04:22:49PM -0600, Idris Samawi Hamid said that > Hi, > > On Thu, 04 Oct 2007 16:00:02 -0600, frantisek holop <[EMAIL PROTECTED]> > wrote: > > > hi there, > > > > i was wondering if there was a quick and dirty equivalent for > > latex's \usepackage{pslatex} > > > > http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6: > > Hmm, I think is obsolete as far as ConTeXt is concerned. Using typescripts > one can define one's own relative sizing etc as well as set up > times-helvetica in virtually any way you like. See showfont.pdf in the > documentation. thanks, this will do great. -f -- an unbreakable toy is useful for breaking other toys. ___ 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] starttabulate vs starttable
> the tabulate example is basicly the same without > the vertical lines, which it seems like it can't do, > i get an ! Undefined control sequence. I really don't know much about tabular material in ConTeXt, but from the very first line of http://wiki.contextgarden.net/Tabulate I would assume that this is indeed a feature (no vertical lines in tabulate). 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] definewhitespace
hi there, i am in 2 column mode and i can't seem to make setupwhitespace work. i would like to put some really small whitespace between paragpraphs. so for it's 1 or 0. either a fixed amont of space, or none. the docs say: \setupwhitespace[...] ... none small medium big line fixed fix dimension but the source defines these in cont-spa.tex: \definewhitespacemethod [\v!fix] {} \definewhitespacemethod [\v!fixed]{\witruimteflexibelfalse} \definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue} \definewhitespacemethod [\v!line] {\ctxparskip \baselineskip} \definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip} \definewhitespacemethod [\v!none] {\ctxparskip \zeropoint} \definewhitespacemethod [\v!big] {\ctxparskip \bigskipamount} \definewhitespacemethod [\v!medium] {\ctxparskip \medskipamount} \definewhitespacemethod [\v!small]{\ctxparskip \smallskipamount} is flexible for the dimension mode? what do fix and fixed mean? (halfline is undocumented?) does `dimension' mean i can simply give it a tex dimension? e.g. \setupwhitespace[4pt] ? thanks for helping out a tired texer :D -f -- forecast for tonight: dark all night. ___ 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] \usepackage{pslatex} equivalent for context
On 10/5/07, frantisek holop wrote: > hi there, > > i was wondering if there was a quick and dirty equivalent for > latex's \usepackage{pslatex} > > http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6: > > This is a small package that makes LaTeX default to `standard' > PostScript fonts. It is basically a hacked merger of times.sty and > mathptm.sty, from the psnfss suite of packages. You must have > installed standard LaTeX (LaTeX2e) and psnfss PostScript fonts > to use this package. \usetypescript[postscript][ec] %typescript name \setupbodyfont[postscript,10pt] % typeface name That one is possible because of this in type-one.tex: \starttypescript [postscript] [texnansi,ec,qx,t5,uc,8r] \definetypeface [postscript] [rm] [serif] [times] [default] [encoding=\typescripttwo] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9,encoding=\typescripttwo] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1,encoding=\typescripttwo] \definetypeface [postscript] [mm] [math] [times] [default] \usemathcollection[default] \quittypescriptscanning \stoptypescript You can combine fonts "easily" like that. 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] starttabulate vs starttable
On Fri, 5 Oct 2007, frantisek holop wrote: > hi there, > > please consider the following minimal examples: > > \starttext > \starttable[|l|l|l|] > \NC MidE \VL early ModE \VL ModE \NC \SR \HL > \NC ge:s \VL gi:s \VL geese \NC \FR > \NC na:m \VL ne:minimal \VL name \NC \MR > \NC mi:s \VL mays \VL mice \NC \LR > \stoptable > > \starttabulate[|l|l|l|] > \NC MidE \NC early ModE \NC ModE \NC \NR \HL > \NC ge:s \NC gi:s \NC geese \NC \NR > \NC na:m \NC ne:minimal \NC name \NC \NR > \NC mi:s \NC mays \NC mice \NC \NR > \stoptabulate > \stoptext > > the tabulate example is basicly the same without > the vertical lines, which it seems like it can't do, > i get an ! Undefined control sequence. Right now, tabulate does not support vertical lines. It is a nice feature to have. I know that the style guide says that one should not use vertical rules, but I feel that there I cases when I need them. > but \HL seems to work (and \VL not). > tabulate is very lightly documented so i am not sure > which table command works there and which not. > > i'd like to use tabulate instead of table because > of the spacing. i dont need to stretch the content > like table does. this is a small inline "table" > between 2 paragpraphs, tabulate seems more elegant > to me here. Actually, table also works for this kind of thing. The place where tabulate is really needed is when you want automatic width for paragraphs. You can make table squeeze content vertically by saying \setuptables[depth=0.3,height=0.6] The default is height=0.8, depth=0.4. Play around with these values. > Han, > it would be nice if tabulate could handle VL, > that would make tabulate even more useful. +1. 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] starttabulate vs starttable
On Fri, 5 Oct 2007, Arthur Reutenauer wrote: >> the tabulate example is basicly the same without >> the vertical lines, which it seems like it can't do, >> i get an ! Undefined control sequence. > > I really don't know much about tabular material in ConTeXt, but from > the very first line of http://wiki.contextgarden.net/Tabulate I would > assume that this is indeed a feature (no vertical lines in tabulate). Actually, core-tbl.tex says % \VLas soon as needed % color as soon as needed 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] starttabulate vs starttable
On Thu, 4 Oct 2007, Aditya Mahajan wrote: > On Fri, 5 Oct 2007, frantisek holop wrote: >> i'd like to use tabulate instead of table because >> of the spacing. i dont need to stretch the content >> like table does. Compare: \setuptables[depth=0.2,height=0.8] %\tracetablestrue \starttext \starttable[s(1em)o0|l|l|l|] % And I thought that regex were hard to read :) \NC MidE \NC early ModE \NC ModE \NC \AR \HL \NC ge:s \NC gi:s \NC geese \NC \AR \NC na:m \NC ne:minimal \NC name \NC \AR \NC mi:s \NC mays \NC mice \NC \AR \stoptable \starttabulate[|l|l|l|] \NC MidE \NC early ModE \NC ModE \NC \NR \HL \NC ge:s \NC gi:s \NC geese \NC \NR \NC na:m \NC ne:minimal \NC name \NC \NR \NC mi:s \NC mays \NC mice \NC \NR \stoptabulate \stoptext 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] most recent context and luatex for linux
Hi all, if i try to "texexec --lua --make --all" i get following error message: -- (/usr/share/context/texmf-local/tex/context/base/lang-ini.mkiv ! LuaTeX error ...re/context/texmf-local/tex/context/base/lang-ini.lua:9: attempt to index global 'lang' (a nil value). \ctxluabytecode ...ode " .. "#1" .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.16 \registerctxluafile{lang-ini}{1.001} ? -- line 9 in lang-ini.lua is: -- if lang.use_new then lang.use_new(true) end -- I use luatex 11.2 beta (self compiled). The error occurs in normal context and in the beta. Greetings Lutz ___ 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] most recent context and luatex for linux
On Oct 5, 2007, at 7:14 AM, Lutz Haseloff wrote: > I use luatex 11.2 beta (self compiled). > The error occurs in normal context and in the beta. > > > Greetings > > Lutz Yes, that's what Hans wrote when he announced this beta: you'll need the latest latest luatex, i.e. you have to checkout the svn trunk and compile yourself (and what do you mean "in normal context"?) 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] most recent context and luatex for linux
2007/10/5, Thomas A. Schmitz <[EMAIL PROTECTED]>: > > > On Oct 5, 2007, at 7:14 AM, Lutz Haseloff wrote: > > > I use luatex 11.2 beta (self compiled). > > The error occurs in normal context and in the beta. > > > > > > Greetings > > > > Lutz > > Yes, that's what Hans wrote when he announced this beta: you'll need > the latest latest luatex, i.e. you have to checkout the svn trunk and > compile yourself (and what do you mean "in normal context"?) o.k. my fault as usual :-( I thought the newest source archive on foundry.supelec.fr where the latest. Current context works as expected with my beta 11.2 binary. Please don't mind the noise accompanying my first steps using context on linux... Greetings Lutz ___ 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 ___