Re: [NTG-context] XML in ConTeXt & verbatim text
Great! Thank you very, very much for your help, Hans! Richard Hans Hagen wrote: Richard Gabriel wrote: Hello Hans, thank you very much for the advice. It works almost perfectly, except one small (but important) detail: Let's have a HTML source code in the tag. It will be stored the following way in the XML file:Some text
I have defined the entity conversion: \defineXMLentity[gt]{\char`\>{}} \defineXMLentity[lt]{\char`\<{}} This works OK if the entities occur somewhere in the normal text but it doesn't matter in the verbatim text. Is there any solution for this? Maybe changing catcodes of the & and ; characters? maybe it's enough to add \catcode`\&=\active 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] floats pb in a list
Am 17.12.2004 um 00:23 schrieb olivier Turlier: I'm unable to get correct float placement in a such list, even with small figures. On each new page, the float move towards topleft, above it's "anchor". If you don't need automatic placing but in-place figures, don't use \place... Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] floats pb in a list
Hi contexers, I try writing step by step howtos for Autocad courses. I've borrowed (one more time) Hans example code written around p83 in cont-eni.pdf for combined items, and rename definitions. I'm unable to get correct float placement in a such list, even with small figures. On each new page, the float move towards topleft, above it's "anchor". Thanks for any answers. -- Olivier TURLIER %pb-howto.tex \setupoutput [pdftex] \useregime[il1] \enableregime[il1] \useencoding[ffr] \usetypescript[palatino][texnansi] \setupbodyfont[palatino,rm,10pt] \definepapersize [cours] [width=\dimexpr(\paperwidth-.05\paperwidth), height=\dimexpr(\paperheight-.05\paperheight)] \setuppapersize [cours] [A4] \setuplayout [top=6mm,topdistance=6mm, bottom=6mm,bottomdistance=18mm, topspace=18mm, height=263mm,%middle header=6mm,headerdistance=6mm, footer=6mm,footerdistance=18mm, bakspace=46mm,%cutspace=50mm, width=164mm,%middle leftmargin=22mm,leftmargindistance=4mm, leftedge=5mm,leftedgedistance=5mm, rightmargin=28mm,rightmargindistance=4mm, rightedge=6mm,rightedgedistance=5mm %,grid=yes ] % \setuptolerance [verytolerant,stretch] \setuppagenumbering[alternative=doublesided] % \setupfloats[location=middle] \definefloat [etape] [figures] \defineparagraphs [Etape] [n=2,rule=off,align=lohi] \setupparagraphs [Etape] [2] [width=.5\textwidth] \defineenumeration [Explication] [location=left,text=,width=3em,before=,after=] \starttext \chapter[]{One} Some introduction text \section[]{two} Some longer introduction text \section[]{three} \startEtape \startExplication \dorecurse{2}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{3}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{4}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{5}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{6}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \startEtape \startExplication \dorecurse{7}{ First step of this cookbook look ok but is the rest equal ?} \stopExplication \nextEtape \placeetape [here,force,always,none] {} {\externalfigure[cow.pdf][width=.45\textwidth,frame=on]} \stopEtape \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] No bonds visibel with ppchtex
Willi Egger said this at Thu, 16 Dec 2004 21:41:31 +0100: >sorrz for having sent mz replz to Tobias ... Is someone visiting germany? :D -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] No bonds visibel with ppchtex
Hi Kai, sorrz for having sent mz replz to Tobias ... tonight i installed a minimal TeX'distribution from Pragma. Hereafter I compiled your code and got a perfectly fine result. pdfeTeX, Version 3.141592-1.20a-2.2 ConTeXt ver: 2004.12.06 fmt: 2004.12.16 TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 Kind regards Willi Kai Straube wrote: Hi there, I try to write some structures with ppchtex, but I found that the bonds will not beeing drawn. Simple examble: \usemodule[chemic, units, pictex] \mainlanguage[de] \language[de] \enableregime[il1] \setupencoding[default=texnansi] \setuppapersize[A4] \starttext \startchemical \chemical[ONE,SB1,SB4,SB2,SB7,Z01247][C,H,H,H,H] \stopchemical \stoptext This results in only the symbols. but no bonds. Any suggestions? Thank you, Kai ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] No bonds visibel with ppchtex
Hi Kai, sorry for having sent my reply to Tobias ... tonight I installed a minimal TeX'distribution from Pragma. Hereafter I compiled your code and got a perfectly fine result. pdfeTeX, Version 3.141592-1.20a-2.2 ConTeXt ver: 2004.12.06 fmt: 2004.12.16 TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 Kind regards Willi Kai Straube wrote: Hi there, I try to write some structures with ppchtex, but I found that the bonds will not beeing drawn. Simple examble: \usemodule[chemic, units, pictex] \mainlanguage[de] \language[de] \enableregime[il1] \setupencoding[default=texnansi] \setuppapersize[A4] \starttext \startchemical \chemical[ONE,SB1,SB4,SB2,SB7,Z01247][C,H,H,H,H] \stopchemical \stoptext This results in only the symbols. but no bonds. Any suggestions? Thank you, Kai ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to get default Dutch language Context in TeXShop on Macos X
You will probably have to use the Terminal, but it's a less horrible place than you think. Gerben's TeX-installation expects to find .fmt files in this location: /usr/local/teTeX/share/texmf.local/web2c/cont-nl.fmt So what you do is: cd /usr/local/teTeX/share/texmf.local/web2c sudo texexec --make nl give your password, texexec will automagically run texhash for you. That should be all. If you want to see if it works, look at the output of texexec --version which is, on my box: TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2C 7.5.3) context : ver: 2004.12.06 cont-en : ver: 2004.12.06 fmt: 2004.12.8 mes: english cont-de : ver: 2004.12.06 fmt: 2004.12.8 mes: german cont-nl : ver: 2004.12.06 fmt: 2004.12.8 mes: dutch total run time : 2 seconds HTH Thomas On Dec 16, 2004, at 10:22 PM, Robert Kroon wrote: Hi, Recently I've installed Gerben Wierda's teTeX distributon incl. ConTeXt on my iMac (Macos X, 10.3.6). Now I'm trying to learn ConTeXt. I'm marking up my documents in TeXShop, version 1.34. I can typeset small ConTeXt documents and generate PDF-files as long as the type setting commands are in English. However, I would like to use Dutch type setting commands like: \starttekst Dit is een test \stoptekst When I typeset this file from within TexShop I get following output and errors TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 executable : pdfetex format : cont-nl inputfile : Context-les1 output : pdftex interface : nl current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) kpathsea: Running mktexfmt cont-nl.fmt fmtutil: no info for format `cont-nl'. Sorry, I can't find the format `cont-nl.fmt'; will try `context.fmt'. kpathsea: Running mktexfmt context.fmt fmtutil: no info for format `context'. I can't find the format file `context.fmt'! return code : 256 run time : 6 seconds total run time : 6 seconds First my interface was en (english). As can been seen in the listing my interface language is now nl . I changed this under my root account with the command texexec --make nl en My Texexec --verbose output under my user account is: TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 current path : /Users/robert locating ini file : kpsewhiching texexec.ini on scripts locating ini file : kpsewhiching texexec.ini elsewhere locating ini file : found by kpsewhich reading : /usr/local/teTeX/share/texmf.tetex/context/config/texexec.ini setting : 'TeXShell' to 'tetex' for 'all' setting : 'UseEnginePath' to 'false' for 'all' setting : 'UsedInterfaces' to 'nl en metafun mptopdf' for 'all' setting : 'UserInterface' to 'nl' 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 'mktexlsr' for 'tetex' setting : 'TeXExecutable' to 'pdfetex' for 'tetex' setting : 'TeXVirginFlag' to '-ini' for 'tetex' setting : 'TeXPassString' to '-progname=context' for 'tetex' setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex' setting : 'TeXNonStopFlag' to '-int=nonstopmode' for 'tetex' setting : 'MpToTeXExecutable' to 'mpto' for 'tetex' setting : 'MpVirginFlag' to '-ini' for 'tetex' setting : 'MpPassString' to '-progname=mpost' for 'tetex' setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex' setting : 'MpNonStopFlag' to '-int=nonstopmode' for 'tetex' setting : 'TeXVirginFlag' to '-ini -translate-file=natural.tcx' for 'tetex' setting : 'MpVirginFlag' to '-ini -translate-file=natural.tcx' for 'tetex' setting : 'TeXPassString' to '-progname=context -translate-file=natural.tcx' for 'tetex' setting : 'MpPassString' to '-progname=mpost -translate-file=natural.tcx' for 'tetex' used setting : TeXShell = tetex used setting : SetupPath = used setting : UserInterface = nl used setting : UsedInterfaces = nl
[NTG-context] How to get default Dutch language Context in TeXShop on Macos X
Hi, Recently I've installed Gerben Wierda's teTeX distributon incl. ConTeXt on my iMac (Macos X, 10.3.6). Now I'm trying to learn ConTeXt. I'm marking up my documents in TeXShop, version 1.34. I can typeset small ConTeXt documents and generate PDF-files as long as the type setting commands are in English. However, I would like to use Dutch type setting commands like: \starttekst Dit is een test \stoptekst When I typeset this file from within TexShop I get following output and errors TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 executable : pdfetex format : cont-nl inputfile : Context-les1 output : pdftex interface : nl current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) kpathsea: Running mktexfmt cont-nl.fmt fmtutil: no info for format `cont-nl'. Sorry, I can't find the format `cont-nl.fmt'; will try `context.fmt'. kpathsea: Running mktexfmt context.fmt fmtutil: no info for format `context'. I can't find the format file `context.fmt'! return code : 256 run time : 6 seconds total run time : 6 seconds First my interface was en (english). As can been seen in the listing my interface language is now nl . I changed this under my root account with the command texexec --make nl en My Texexec --verbose output under my user account is: TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 current path : /Users/robert locating ini file : kpsewhiching texexec.ini on scripts locating ini file : kpsewhiching texexec.ini elsewhere locating ini file : found by kpsewhich reading : /usr/local/teTeX/share/texmf.tetex/context/config/texexec.ini setting : 'TeXShell' to 'tetex' for 'all' setting : 'UseEnginePath' to 'false' for 'all' setting : 'UsedInterfaces' to 'nl en metafun mptopdf' for 'all' setting : 'UserInterface' to 'nl' 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 'mktexlsr' for 'tetex' setting : 'TeXExecutable' to 'pdfetex' for 'tetex' setting : 'TeXVirginFlag' to '-ini' for 'tetex' setting : 'TeXPassString' to '-progname=context' for 'tetex' setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex' setting : 'TeXNonStopFlag' to '-int=nonstopmode' for 'tetex' setting : 'MpToTeXExecutable' to 'mpto' for 'tetex' setting : 'MpVirginFlag' to '-ini' for 'tetex' setting : 'MpPassString' to '-progname=mpost' for 'tetex' setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex' setting : 'MpNonStopFlag' to '-int=nonstopmode' for 'tetex' setting : 'TeXVirginFlag' to '-ini -translate-file=natural.tcx' for 'tetex' setting : 'MpVirginFlag' to '-ini -translate-file=natural.tcx' for 'tetex' setting : 'TeXPassString' to '-progname=context -translate-file=natural.tcx' for 'tetex' setting : 'MpPassString' to '-progname=mpost -translate-file=natural.tcx' for 'tetex' used setting : TeXShell = tetex used setting : SetupPath = used setting : UserInterface = nl used setting : UsedInterfaces = nl en metafun mptopdf used setting : TeXFontsPath = . used setting : MpExecutable = mpost used setting : MpToTeXExecutable = mpto used setting : DviToMpExecutable = dvitomp used setting : TeXProgramPath = used setting : TeXFormatPath = used setting : ConTeXtPath = used setting : TeXScriptsPath = used setting : TeXHashExecutable = mktexlsr used setting : TeXExecutable = pdfetex used setting : TeXVirginFlag = -ini -translate-file=natural.tcx used setting : TeXBatchFlag = -int=batchmode used setting : TeXNonStopFlag = -int=nonstopmode used setting : MpBatchFlag = -int=batchmode used setting : MpNonStopFlag = -int=nonstopmode used setting : TeXPassString = -progname=context -translate-file=natural.tcx used setting : TeXFormatFlag = & used setting : MpFormatFlag = & used setting : MpVirginFlag = -ini -translate-file=natural.tcx used setting : MpPassString = -progname=mpost
[NTG-context] http://www.pragma-ade.com/show-mag-9.htm
Hans et al, I can get into this link: http://www.pragma-ade.com/show-mag-9.htm Any ideas? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] No bonds visibel with ppchtex
Hi Tobias, I tried your code here with: Texexec 5.0, Context 2004.10.1 fmt: 2004.10.2 and pdfeTeXk, Version 3.141592-1.11a-2.1 With this I get the expected result. The question is then which version are you running? Kind regards Willi Tobias Hilbricht wrote: Am Do, den 16.12.2004 schrieb Kai Straube um 09:00: \startchemical \chemical[ONE,SB1,SB4,SB2,SB7,Z01247][C,H,H,H,H] \stopchemical Your example works with LaTeX (Methan, Tetraeder). Must be something with the ConTeXt related setup. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [XeTeX] XeTeX infinite loop [][][][][][] bug - possible fix
Adam Lindsay wrote: (That's a pretty harsh workaround, considering "extra_mem_bot.context = 400" is the default in gwTeX. ConTeXters may prefer the \hfuzz suggestion from the XeTeX list. In any case, it explains why I was seeing the infinite loop so early!) one can always enlarge the main memory 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: [XeTeX] XeTeX infinite loop [][][][][][] bug - possible fix
[CC'd to ConTeXt list.] Jonathan Kew said this at Thu, 16 Dec 2004 16:30:25 +: >I think I may have a temporary fix for the [][][][][][] problem, until >such time as I correct the real bug in XeTeX and release a new version. >I've been able to reproduce the problem here, and identified a >texmf.cnf setting that appears to trigger it (and which was changed in >a recent i-Package update). > >Edit the file: > > /usr/local/teTeX/share/texmf/web2c/texmf.cnf > >(you may need to "sudo pico ..." or whatever your favorite editor is), >look for the "Memory" section, and add the lines: > > extra_mem_bot.xetex = 0 > extra_mem_bot.xelatex = 0 > >It is not necessary to regenerate the format files after adding these >entries. > >(ConTeXt users may need an additional setting; I'm not sure what format >name they're using.) Well, at the moment, it's "context": extra_mem_bot.context = 0 (That's a pretty harsh workaround, considering "extra_mem_bot.context = 400" is the default in gwTeX. ConTeXters may prefer the \hfuzz suggestion from the XeTeX list. In any case, it explains why I was seeing the infinite loop so early!) >Please let me know, those who've run into the problem, whether this >does solve it for you. Meanwhile, I will of course aim to fix the bug >in XeTeX that makes non-zero "extra_mem_bot" settings fail in this way. A quick test on a file that normally sends XeTeX spinning away was fine after zeroing extra_mem_bot. Thanks! adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bookmarks problems
Hans Hagen said this at Wed, 15 Dec 2004 18:32:22 +0100: >> I haven't looked at this in detail lately, and barely at all with the >> pdftex drivers. Hans, do you think it would be hard to turn direct page >> links into indirect links (point to page object)? > >can you check this: > > >\def\doPDFbookmark level #1 n #2 text #3 page #4 open #5% > {\scratchcounter#4\advance\scratchcounter\plusone % temp hack, better here > \expanded{\doPDFgetpagereference{\the\scratchcounter}}\PDFobjectreference >\pdfoutline > user {<>}% > \ifcase#2 \else count \ifcase#5-\fi#2 \fi > {#3}} Yes! much happier in Apple's Preview! Cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XML in ConTeXt & verbatim text
Richard Gabriel wrote: Hello Hans, thank you very much for the advice. It works almost perfectly, except one small (but important) detail: Let's have a HTML source code in the tag. It will be stored the following way in the XML file:Some text
I have defined the entity conversion: \defineXMLentity[gt]{\char`\>{}} \defineXMLentity[lt]{\char`\<{}} This works OK if the entities occur somewhere in the normal text but it doesn't matter in the verbatim text. Is there any solution for this? Maybe changing catcodes of the & and ; characters? maybe it's enough to add \catcode`\&=\active 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XML in ConTeXt & verbatim text
Hello Hans, thank you very much for the advice. It works almost perfectly, except one small (but important) detail: Let's have a HTML source code in the tag. It will be stored the following way in the XML file:Some text
I have defined the entity conversion: \defineXMLentity[gt]{\char`\>{}} \defineXMLentity[lt]{\char`\<{}} This works OK if the entities occur somewhere in the normal text but it doesn't matter in the verbatim text. Is there any solution for this? Maybe changing catcodes of the & and ; characters? Thanks again... Richard Hans Hagen wrote: Richard Gabriel wrote: maybe the following is better \defineXMLenvironment [programlisting] {\processtaggeddisplayverbatim{}} {} \startbuffer Line 1 Line 2 Line 3 \stopbuffer \starttext \processXMLbuffer \stoptext - 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \placetable and \starttables ... \stoptables
* Hans Hagen <[EMAIL PROTECTED]> [Dec 16, 2004 10:30]: > \splitfloat > [lines=3,conversion=greek] > {\placetable{Operators}} > {\starttablehead > \HL > \NC \bf Operator \NC \bf Matches \NC\SR > \HL > \stoptablehead > \starttabletail > \HL > \stoptabletail > \starttables[|l|lp(25em)|] > \dorecurse{50}{\NC . \NC anything \NC\AR} >\stoptables} Aha, OK. Thank you very much. I have never seen \splitfloat before. nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] m-letter.tex
Wolfgang Zillig wrote: | is someone using the letter module as mentioned in xcorresp.pdf (the correspondence manual)? still kin dof work in progress There is written that the layout is defined in a file "m-letter.tex". I can´t find this file and the examples from the manual are not working too. Is there an example file for the use of this module? starttext \setups [letter:place] \stoptext \endinput 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 - m-letter.tex Description: TeX document ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] No bonds visibel with ppchtex
Am Do, den 16.12.2004 schrieb Kai Straube um 09:00: > \startchemical > \chemical[ONE,SB1,SB4,SB2,SB7,Z01247][C,H,H,H,H] > \stopchemical Your example works with LaTeX (Methan, Tetraeder). Must be something with the ConTeXt related setup. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: mag-0008
On Dec 15, 2004, at 12:16 PM, Hans Hagen wrote: that was from the time that i played with schema's, nowadays i prefer relax ng Indeed! It may be worth noting that the next generation versions of both DocBook and TEI: - are developed in RELAX NG - are namespaced - are designed for customizability, including mixing-and-matching definitions across the schemas Bruce ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \placetable and \starttables ... \stoptables
Nikolai Weibull wrote: \starttext \placetable [][] {Operators} {\start \starttablehead \HL \NC \bf Operator \NC \bf Matches \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|lp(25em)|] \dorecurse{50}{\NC . \NC anything \NC\AR} \stoptables\stop} \stoptext no need for this \start \stop This doesn't split appropriately. It works OK if one removes the placetable, but that kind of counteracts the whole idea. Am I doing something wrong, or is this an issue with the tables code? \splitfloat [lines=3,conversion=greek] {\placetable{Operators}} {\starttablehead \HL \NC \bf Operator \NC \bf Matches \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|lp(25em)|] \dorecurse{50}{\NC . \NC anything \NC\AR} \stoptables} or \startbuffer \starttablehead \HL \NC \bf Operator \NC \bf Matches \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|lp(25em)|] \dorecurse{50}{\NC . \NC anything \NC\AR} \stoptables \stopbuffer \splitfloat [lines=3,conversion=greek] {\placetable{Operators}} {\getbuffer} - 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] No bonds visibel with ppchtex
Hi there, I try to write some structures with ppchtex, but I found that the bonds will not beeing drawn. Simple examble: \usemodule[chemic, units, pictex] \mainlanguage[de] \language[de] \enableregime[il1] \setupencoding[default=texnansi] \setuppapersize[A4] \starttext \startchemical \chemical[ONE,SB1,SB4,SB2,SB7,Z01247][C,H,H,H,H] \stopchemical \stoptext This results in only the symbols. but no bonds. Any suggestions? Thank you, Kai ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context