Re: [NTG-context] Finding Minion and Myriad
On Tue, Oct 4, 2011 at 01:29, john Culleton wrote: > > Are you stating that I need a system-wide installation to get > MKIV to find fonts in /usr/share/fonts? It should be enough to set OSFONTDIR or FONTCONFIG_PATH (which should point to folder where your distribution has the fonts.conf file). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Finding Minion and Myriad
On Mon, 3 Oct 2011 22:11:36 +0200 Wolfgang Schuster wrote: > > Am 03.10.2011 um 22:04 schrieb john Culleton: > > > For future reference, how do I get MKIV to find fonts that are > > in /usr/share/fonts? > > http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database > http://wiki.contextgarden.net/ConTeXt_Standalone#Font-Dir > > Wolfgang > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > > ___ Are you stating that I need a system-wide installation to get MKIV to find fonts in /usr/share/fonts? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt Suite (was Re: letter style error)
On Mon, Oct 3, 2011 at 20:45, Aditya Mahajan wrote: > On Mon, 3 Oct 2011, Wolfgang Schuster wrote: > >> There had been a few changes in the context suite (former standalone and >> minimals): > > So, the official branding has changed again? Yes, but in future tense. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] sumatra pdf
Hallo, the main problem for me at the moment is the not working acrobat reader. What are the last changes to pdfdde.c or pdf.rb? Can I change to sumatra pdf reader somehow? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Finding Minion and Myriad
Am 03.10.2011 um 22:04 schrieb john Culleton: > For future reference, how do I get MKIV to find fonts that are in > /usr/share/fonts? http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database http://wiki.contextgarden.net/ConTeXt_Standalone#Font-Dir 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Finding Minion and Myriad
On Thu, 29 Sep 2011 22:36:02 +0200 Wolfgang Schuster wrote: > > > > > \usemodule[simplefonts] > > \setmainfont[Minion Pro] > \setsansfont[Myriad Pro] > > \starttext > Minion Pro and \ss Myriad Pro > \stoptext > > Wolfgang That woks fine so long as the fonts in play are located in the same directory as the context source file. For future reference, how do I get MKIV to find fonts that are in /usr/share/fonts? I use Slackware Linux. I have a recent context distro located in my home directory. My run script is: source /home/safe/context/tex/setuptex /home/safe/context/tex source /home/safe/context/tex/setuptex context $1 -- -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Stack size
Am 03.10.2011 um 21:13 schrieb Wolfgang Werners-Lucchini: > Hallo, > > next problem. I got > > ! TeX capacity exceeded, sorry [parameter stack size=1]. > > I tried to increase this in texmf.cnf, but this is not recognized. > I tried to do the same in the texmfcnf.lua with the same negative > result. It is a try and error. How is the 'modern' way to do this? > > BTW, shouldn't be 1 for the stack size enough? This file is a > letter and compiled ok before my update today. Can you make a example. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Stack size
Hallo, next problem. I got ! TeX capacity exceeded, sorry [parameter stack size=1]. I tried to increase this in texmf.cnf, but this is not recognized. I tried to do the same in the texmfcnf.lua with the same negative result. It is a try and error. How is the 'modern' way to do this? BTW, shouldn't be 1 for the stack size enough? This file is a letter and compiled ok before my update today. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuparranging
Hi, Hans Here's an example of vertical typesetting in XeTeX. %tex=xetex \setuppapersize[A4,landscape,rotated, 270] \definefontsynonym [song][name:AdobeSongStd-Light\xetexcolon vertical] \definefont[Song][song at 14pt] \starttext \Song 你好 \stoptext In this case all glyphs in AdobeSongStd-Light are rotated 90 degrees via xetex vertical, and rotated back via paper definition. I'm wondering how to do that in LuaTeX. Also, in vertical typesetting, latin glyphs do not need to be rotated. I'm doing this since omega multi-dir is not quite working at least for the moment. Yue On Mon, Oct 3, 2011 at 1:49 PM, Hans Hagen wrote: > On 3-10-2011 19:15, Yue Wang wrote: >> >> btw, is there some way to rotate all the glyphs in a given range (like >> the xetex's font:vertical feature) >> vrt2 doesn't seems to work in this way. > > I never looked into that (so an example text + font is needed). > > Hans > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt Suite (was Re: letter style error)
On Mon, 3 Oct 2011, Wolfgang Schuster wrote: There had been a few changes in the context suite (former standalone and minimals): So, the official branding has changed again? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuparranging
Am 03.10.2011 um 19:15 schrieb Yue Wang: > btw, is there some way to rotate all the glyphs in a given range (like > the xetex's font:vertical feature) > vrt2 doesn't seems to work in this way. Does your document only contain text or also graphics, tables etc.? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter style error
Am 03.10.2011 um 19:28 schrieb Wolfgang Werners-Lucchini: > Puhh, > > there is more broken. > > With letter style I got > > ! Undefined control sequence. > l.13 \setupletterstyle > [option][backaddress=yes] > > It is always a risk to update context (never change a running > system). Is the letter module installed? There had been a few changes in the context suite (former standalone and minimals): 1. modules moved from texmf-context to texmf-modules and 2. the parameter to install modules has changed from “--extras=…” to “--modules=…”. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuparranging
On 3-10-2011 19:15, Yue Wang wrote: btw, is there some way to rotate all the glyphs in a given range (like the xetex's font:vertical feature) vrt2 doesn't seems to work in this way. I never looked into that (so an example text + font is needed). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter style error
On 3-10-2011 19:28, Wolfgang Werners-Lucchini wrote: Puhh, there is more broken. With letter style I got ! Undefined control sequence. l.13 \setupletterstyle [option][backaddress=yes] It is always a risk to update context (never change a running system). are you sure the right module is loaded? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter style error
Puhh, there is more broken. With letter style I got ! Undefined control sequence. l.13 \setupletterstyle [option][backaddress=yes] It is always a risk to update context (never change a running system). :-((( 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \setuparranging
btw, is there some way to rotate all the glyphs in a given range (like the xetex's font:vertical feature) vrt2 doesn't seems to work in this way. On Sat, Oct 1, 2011 at 10:10 PM, Yue Wang wrote: > Hi, Hans: > > this bug is still not solved. > > Yue Wang > > On Thu, Sep 22, 2011 at 5:04 PM, Aditya Mahajan wrote: >> On Thu, 22 Sep 2011, Yue Wang wrote: >> >>> Hi, Aditya and Hans: >>> >>> On Thu, Sep 22, 2011 at 4:46 PM, Aditya Mahajan wrote: I haven't investigated what is going wrong, but a quick fix is \setuppapersize[A4,landscape][A4,landscape] I don't understand the arranging code, but doesn't the following also do what you want (without the arranging) \setuppapersize[A4,landscape,rotated,270][A4] >>> >>> Yes, I know these tricks. A quick workaround to this problem is to use the >>> >>> \setuppapersize[A4,landscape][A4,landscape] >>> >>> and then add either >>> >>> %\pdfpagesattr{/Rotate 90} --pdftex, luatex >>> %\special{pdf:put @pages <>} --xetex, dvipdfmx >>> >>> or the more generic way: >>> >>> \doPDFpagesattribute{/Rotate 90} >>> >>> And that did fix my problem temporary. >>> >>> But things are not going as expected, and it's better to fix these >>> bugs, isn't it? >> >> Sure. >> >> But I was also answering you second question about rotating a page without >> using arranging. >> >> 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] AcroRd32 Runtime Error
Hallo, I have updated my context after a very long time. The first test run does not work because an initally dde attempt to acroread. I got the following errormessage: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I have Acrobat Reader Version 9.4.6. This is working ok with pdf files and this has worked ok with context prior to the update. What can I do to solve the problem? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Any (other) ConTeXt users in Finland?
CM7 - 2013? On Mon, Oct 03, 2011 at 03:12:54PM +0300, Mari Voipio wrote: > Hello All! > > > Inspired by the recent ConTeXt meeting where I again enjoyed meeting > other users as well as the developers, I'm wondering if there are any > other ConTeXt users in Finland? And if so, would you be interested in > a mini-meeting for an afternoon or evening, possibly at my work in > Vantaa? > > If nothing else, we could tell each other what we do with ConTeXt and > get ideas and with luck even be able to sort out some problems. I'm > far from the nerdiest person in the world, but I could probably manage > a short "introduction to ConTeXt", if you are interested but haven't > gotten started or if you know people who'd like to try but don't want > to do it by themselves. > > > BTW, if any ConTeXt users (Finnish or others) pass by Helsinki airport > or the Greater Helsinki area, you are welcome to informally pop into > our office and I'll give you coffee/tea and cookies (if we have any) > and any ConTeXt help I can give. Just check on this in advance as I'm > not always there, but often can arrange things if notified a few days > earlier. > > > > Terveisin/Best Regards, > > Mari Voipio > K-Patents Oy (in Vantaanportti, just 5 minutes from the airport) ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Any (other) ConTeXt users in Finland?
Hello All! Inspired by the recent ConTeXt meeting where I again enjoyed meeting other users as well as the developers, I'm wondering if there are any other ConTeXt users in Finland? And if so, would you be interested in a mini-meeting for an afternoon or evening, possibly at my work in Vantaa? If nothing else, we could tell each other what we do with ConTeXt and get ideas and with luck even be able to sort out some problems. I'm far from the nerdiest person in the world, but I could probably manage a short "introduction to ConTeXt", if you are interested but haven't gotten started or if you know people who'd like to try but don't want to do it by themselves. BTW, if any ConTeXt users (Finnish or others) pass by Helsinki airport or the Greater Helsinki area, you are welcome to informally pop into our office and I'll give you coffee/tea and cookies (if we have any) and any ConTeXt help I can give. Just check on this in advance as I'm not always there, but often can arrange things if notified a few days earlier. Terveisin/Best Regards, Mari Voipio K-Patents Oy (in Vantaanportti, just 5 minutes from the airport) ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On 3-10-2011 12:42, Thomas A. Schmitz wrote: Another problem: interactive links appear to be broken with the latest beta. This works with 2011.09.20, but not with the latest: \setupinteraction [state=start, color=darkblue] \useURL[luatex][http://www.luatex.org][][luatex website] \starttext Does this work? \from[luatex] \stoptext fixed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] slides & proceedings from ConTeXt Meeting
On Wed, Sep 28, 2011 at 09:44, Steffen Wolfrum wrote: > > ... apropos "all the fun": > could someone also upload some of the images that were taken? I don't want to sound greedy, but there are a few people to whom I'd like to show what our "den" and dining room looked like as it was quite a bit different from what my workmates think of when you say "user meeting"... I also admit having personal interest in photos of Thursday evening (and the part of the excursion I didn't attend to, i.e. the fortress). Pleaaaseee, anyone have any photos online yet? Mari (who very smartly packed the charger for the camera, but not the camera itself, hence no photos whatsoever of CM5 :-( ) ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] location of mtx-scripts
On 2011-10-03 10:33, Hans Hagen wrote: > On 30-9-2011 11:08, Philipp Gesang wrote: > > >>Sounds ok to me but we might think of a way to avoid clashes with > >>names, like mtx-t-rst.lua and we can adapt the lookup to try to > >>resolve in such away that the t- is not too much in the way. > > > >This doesn’t work, yet (The “t-”-infix is not, as with \usemodule, > >truncated). As three of my modules come with an mtx-script I just > >wanted to know if this will be implemented and, if yes, when we > >can expect it. (For me, there is no hurry as I’m quite busy > >otherwise. But inclusion into TL is stalled because of this for > >the time being.) > > the next upload of mtxrun will support the mtx-t- prefix Thanks a lot, everything updated accordingly. Thanks to Patrick’s assistance there’s even a new version of t-transliterator on the garden now. I hope the TL issue is solved now. Best regards Philipp > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpKr7yuXWcBs.pgp Description: PGP signature ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Another problem: interactive links appear to be broken with the latest beta. This works with 2011.09.20, but not with the latest: \setupinteraction [state=start, color=darkblue] \useURL[luatex][http://www.luatex.org][][luatex website] \starttext Does this work? \from[luatex] \stoptext All best 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost to pdf on the fly
On Mon, Oct 3, 2011 at 10:12, Meer, H. van der wrote: > Thanks, this works indeed. But I hoped to be able to produce in this manner > at one stroke a series of separate figures, each in its own pdf file. Or is > this an impossible action? Then create file.mp with beginfig(1); ... metapost code ... endfig; beginfig(2); ... metapost code ... endfig; beginfig(3); ... metapost code ... endfig; end. and process it with mptopdf file.mp 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] location of mtx-scripts
On 30-9-2011 11:08, Philipp Gesang wrote: Sounds ok to me but we might think of a way to avoid clashes with names, like mtx-t-rst.lua and we can adapt the lookup to try to resolve in such away that the t- is not too much in the way. This doesn’t work, yet (The “t-”-infix is not, as with \usemodule, truncated). As three of my modules come with an mtx-script I just wanted to know if this will be implemented and, if yes, when we can expect it. (For me, there is no hurry as I’m quite busy otherwise. But inclusion into TL is stalled because of this for the time being.) the next upload of mtxrun will support the mtx-t- prefix - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] start/stopitem and \sym
Am 03.10.2011 um 10:14 schrieb Hans Hagen: > On 2-10-2011 17:16, Steffen Wolfrum wrote: >> Hans, >> >> when we should use >>\startitem ... \stopitem >> now, shouldn't there be a >>\startsym ... \stopsym >> too? >> >> Steffen, who just had a mixed case: sym and item in one itemize ;o( > > I've added special item support to the beta > > \starttext > >\startitemize >\starthead {head} test \stophead >\startitemtest \stopitem >\startspecialitem[sym]{s} test \stopspecialitem >\stopitemize > > \stoptext Thank you! Steffen ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] start/stopitem and \sym
On 2-10-2011 17:16, Steffen Wolfrum wrote: Hans, when we should use \startitem ... \stopitem now, shouldn't there be a \startsym ... \stopsym too? Steffen, who just had a mixed case: sym and item in one itemize ;o( I've added special item support to the beta \starttext \startitemize \starthead {head} test \stophead \startitemtest \stopitem \startspecialitem[sym]{s} test \stopspecialitem \stopitemize \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost to pdf on the fly
Thanks, this works indeed. But I hoped to be able to produce in this manner at one stroke a series of separate figures, each in its own pdf file. Or is this an impossible action? Hans van der Meer On 3 okt. 2011, at 09:09, Wolfgang Schuster wrote: > > Am 03.10.2011 um 09:05 schrieb Meer, H. van der: > >> I am afraid I don't completely understand this. Doing: >> \startbuffer[fig-1] >> \startMPcode >> draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. >> cycle withcolor darkgreen; >> label(textext("Test"),origin); >> \stopMPcode >> \stopbuffer >> \starttext >> \processMPbuffer[fig-1] >> \stoptext > > This works: > > \startbuffer[fig-1] > draw (-20,0) .. (0,20) .. (20,0) .. (0,-20) .. cycle withcolor > \MPcolor{darkgreen}; > label(textext("Test"),origin); > \stopbuffer > > \starttext > \processMPbuffer[fig-1] > \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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost to pdf on the fly
Am 03.10.2011 um 09:05 schrieb Meer, H. van der: > I am afraid I don't completely understand this. Doing: > \startbuffer[fig-1] > \startMPcode > draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. > cycle withcolor darkgreen; > label(textext("Test"),origin); > \stopMPcode > \stopbuffer > \starttext > \processMPbuffer[fig-1] > \stoptext This works: \startbuffer[fig-1] draw (-20,0) .. (0,20) .. (20,0) .. (0,-20) .. cycle withcolor \MPcolor{darkgreen}; label(textext("Test"),origin); \stopbuffer \starttext \processMPbuffer[fig-1] \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] metapost to pdf on the fly
I am afraid I don't completely understand this. Doing: \startbuffer[fig-1] \startMPcode draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; label(textext("Test"),origin); \stopMPcode \stopbuffer \starttext \processMPbuffer[fig-1] \stoptext I get the error: ! Argument of \dostartMPpositiongraphic has an extra }. system > tex > error on line 8 in file onfly.tex: Argument of ... 1 \startbuffer[fig-1] 2 \startMPcode 3 draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; 4 label(textext("Test"),origin); 5 \stopMPcode 6 \stopbuffer 7 \starttext 8 >> \processMPbuffer[fig-1] .. \par } \processMPgraphic ...le ;\!!es , \MPaskedfigure )} }\egroup \placeMPgraphic \... \doprocessMPbuffer ...("\currentMPgraphicname ")}} \endMPgraphicgroup l.8 \processMPbuffer[fig-1] Hans van der Meer On 29 sep. 2011, at 21:21, Aditya Mahajan wrote: > On Thu, 29 Sep 2011, Meer, H. van der wrote: > >> I would like to generate metapost figures in separate pdf-files (in some >> convenient directory, they are reused elsewhere). This as part of a project >> structure. I know that on a separate run such a pdf can be generated with: >> context figurefile running on input >> \input some-metapost-inclusions >> \starttext >> \startMPpage >> .. >> \stopMPpage >> \stoptext >> >> But the idea is to do it on the fly while typesetting a project (using >> mode=*first to prevent further iterations): >> .. >> \component figurefile >> .. >> And in the figurefile >> \startcomponent figurefile >> \environment some-metapost-inclusions >> \starttext >> .. BUT THEN WHAT? >> >> As such it is not sufficient for the goal proposed. Can this be done at all? > > What I usually do is have all the figures in separate buffers: > > \startenvironment figures > > \startbuffer[fig-1] > ... > \stopbuffer > > \stopenvironment > > and in the main file > > \environment figures > > \starttext > > \processMPbuffer[fig-1] > > \stoptext > > This way you can also combine multiple figures using > > \processMPbuffer[fig-common,fig-1] > > etc. > > The metapost processing is fast enough that there is no noticable speed > difference. > > 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___