Re: [NTG-context] Problem with \stoptabulate
Not sure if this helps, Bruce, but there is \definestartstop Julian On 21/3/23 10:34, Bruce Horrocks via ntg-context wrote: I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem{straw}{gold}{Rumpelstiltskin} \stopMyExample %\stoptabulate \stoptext The problem is that \stopMyExample doesn't work - the \stoptabulate isn't recognised and I get an end of file reached error. If use a straight \stoptabulate then it works as expected. That's fine but it would be nice, from an aesthetic point of view, to have start & stop 'paired' commands in the source. Presumably some sort of deep ConTeXt fu is going on - can anyone explain it please? Regards, — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Problem with \stoptabulate
I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem{straw}{gold}{Rumpelstiltskin} \stopMyExample %\stoptabulate \stoptext The problem is that \stopMyExample doesn't work - the \stoptabulate isn't recognised and I get an end of file reached error. If use a straight \stoptabulate then it works as expected. That's fine but it would be nice, from an aesthetic point of view, to have start & stop 'paired' commands in the source. Presumably some sort of deep ConTeXt fu is going on - can anyone explain it please? Regards, — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] rotated headers in natural tables
Am 15.03.23 um 23:27 schrieb fv leung via ntg-context: How about using \vfill ? \define[1]{\RtH}{\vfill\rotate{#1}} This is actually the only version that works flawlessly. But thanks for all answers! (I was busy over the weekend.) Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list context/latest/ context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip sent 12,104 bytes received 441,032 bytes 302,090.67 bytes/sec total size is 448,164,488 speedup is 989.03 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.18 120296105 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.18/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.18/current 247045518 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.18 247045518 total ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] update
Hi, I updated LMTX. Most improvements are in 'math' as Mikael and I keep mailing down some details that bother us. We also have some updates in the math fonts that Daniel Flipo maintains so the repertoire of alternatives with all-right math support grows. As a side note: lmtx installs nicely on my android (12) phone (userland ubuntu) and luametatex compiles nicely from source (as it's aarch64) in about a minute. No decent editor to text real documents but who knows what a properly dockable (linux supporting) phone can do in a few years. A simple \starttext \dorecurse{1000}{\samplefile{tufte}\par} \stoptext runs at over 55 pps (85 pps on my laptop). Making a format takes 4 seconds (second time, after caching, which is about twice the time my laptop takes). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip sent 100,999 bytes received 20,992,215 bytes 3,835,129.82 bytes/sec total size is 448,164,564 speedup is 21.25 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.17 120296181 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.17/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.17/current 247045594 /var/www/aanhet.net/context//htdocs/archives/context-2023-03-20.17 247045594 total ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Printing problem
Hi! On Fri, Mar 17, 2023 at 7:15 PM Pablo Rodriguez via ntg-context wrote: > > On 3/16/23 12:49, Mikael Sundqvist via ntg-context wrote: > > [...] > > So, a request: If you have an easy access to a printer, can you print > > this page and report back if all of it comes out, or what is > > happening? > > Hi Mikael, > > a friend printed the file on a Canon 4235i (from Windows 10 with Acrobat > Reader DC), there were no printing problems and the result is > high-quality output (as I would expect from many ConTeXt-generated > documents). > > Just in case it might help, > > Pablo Thanks to all who tested. In the end I was not able to reproduce the problem when printing from another computer that runs linux. I can only reproduce when printing from the built-in pdf viewer in Chrome OS. It only seems to happen when extensibles are "converted" into type3 snippets (so that one can copy a big parentheses that has pieces and get the correct unicode character, for example). This can be disabled with \disabledirectives[math.extensibles] and I can use that when printing from this computer. I should probably report somehow to Google, but that seems less clear how to do, if possible. Thanks again! /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___