[NTG-context] How do I set the path to the figure cache?
By default, converted figures (m_k_i_v_foo.pdf for source figure foo.svg) are written to the same directory as the source figure. I would like all converted figures to be written instead to a cache directory in my home directory. How do I set this path? Best Regards, Kevin ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble making basic MetaPost graphics using ConTeXt Minimals
On Thu, Jul 14, 2011 at 7:04 PM, luigi scarso luigi.sca...@gmail.com wrote: This is one of the preferrred way to deal with metapost in mkiv \starttext \startMPpage numeric u; u = 1cm; draw (0,2u)--(0,0)--(4u,0); pickup pencircle scaled 1pt; draw (0,0){up} for i=1 upto 8: ..(i/2,sqrt(i/2))*u endfor; label.lrt(btex $\sqrt x$ etex, (3,sqrt 3)*u); label.bot(btex $x$ etex, (2u,0)); label.lft(btex $y$ etex, (0,u)); \stopMPpage \stoptext It's ok with latest minimals Thanks, Luigi. This works on my system, too. Kevin ___ 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] Trouble making basic MetaPost graphics using ConTeXt Minimals
On Fri, Jul 15, 2011 at 1:13 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: The original file test.mp is copied to test.mp.keep and a new file test.mp is created with a newer timestamp and two additional blank lines at the end. I hadn't noticed this yesterday, but I see the same behavior, but only when building with texexec --mptex test.mp. Kevin ___ 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] Trouble making basic MetaPost graphics using ConTeXt Minimals
Using a fresh install of ConTeXt Minimals today (ConTeXt version 2011.07.14 16:09, luatex version beta-0.70.1-2011051918) I am trying to build the following MetaPost graphics: ---8--- file: test.mp fontmapfile =lm-math.map ; beginfig(1) draw fullcircle scaled 3cm ; endfig ; beginfig(2) ; fill fullcircle scaled 5cm withcolor red ; endfig ; beginfig(3); numeric u; u = 1cm; draw (0,2u)--(0,0)--(4u,0); pickup pencircle scaled 1pt; draw (0,0){up} for i=1 upto 8: ..(i/2,sqrt(i/2))*u endfor; label.lrt(btex $\sqrt x$ etex, (3,sqrt 3)*u); label.bot(btex $x$ etex, (2u,0)); label.lft(btex $y$ etex, (0,u)); endfig; end . ---8--- Building the file using mpost test.mp I get the following: This is MetaPost, version 1.504 (kpathsea version 6.0.0) (mpost.mp (/opt/tools/ConTeXt/beta/tex/texmf/metapost/base/plain.mp Preloading the plain mem file, version 1.004)) (./test.mp{pdftex.map}{lm-math.map} [1] [2]/opt/tools/ConTeXt/beta/tex/texmf-context/scripts/context/ruby/base/switch.rb:570:in `locateseries': undefined method `each' for tex:String (NoMethodError) from /opt/tools/ConTeXt/beta/tex/texmf-context/scripts/context/ruby/base/switch.rb:397:in `block in expand' from /opt/tools/ConTeXt/beta/tex/texmf-context/scripts/context/ruby/base/switch.rb:392:in `each' from /opt/tools/ConTeXt/beta/tex/texmf-context/scripts/context/ruby/base/switch.rb:392:in `expand' from /opt/tools/ConTeXt/beta/tex/texmf-context/scripts/context/ruby/texexec.rb:789:in `main' test.mp test.mpx ! Unable to make mpx file. l.18 label.lrt(btex $\sqrt x$ etex, (3,sqrt 3)*u); 2 output files written: test.1 .. test.2 The first two graphics are produced correctly, but there is no output for the third graphic with the labels. Building the file using texexec --mptex test.mp all three graphics are produced, but the label $\sqrt x$ does not produce the square root symbol. Am I doing something obviously wrong? Can anyone reproduce this? Thanks, Kevin ___ 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] metafun
Thanks! I'll grab it right now. Kevin On Fri, Oct 22, 2010 at 8:22 AM, Taco Hoekwater t...@elvenkind.com wrote: On 10/22/2010 04:20 PM, Hans Hagen wrote: On 22-10-2010 4:06, Taco Hoekwater wrote: On 10/21/2010 12:42 AM, Kevin D. Robbins wrote: Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. The new version is on the web site now. I wondered who would notice first -) I usually win such races because I have an hourly rsync running :) Best wishes, Taco ___ 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] metafun
Hi Hans, Is the new MetaFun manual available for download? The only PDFs I could find of the MetaFun manual were dated to 2002. Kevin On Wed, Oct 20, 2010 at 6:03 AM, Hans Hagen pra...@wxs.nl wrote: Hi, At the context conference Taco presented a new initiative with respect to manuals. For those who cannot (or don't want to) print and bind at home we offer a printing on demand service. This week we send out the first copies of the (new) metafun manual: http://www.boekplan.nl/node/9 More will follow. We hope that this will (partially) answer the need for manuals. We still have to find out which manuals (also new ones) should become available as it takes a bit of effort to keep this flow running and to turn manuals in some book-like form, so best keep an eye on the site if you're interested. Hans Taco - 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 ___ ___ 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] Is it possible to pass unmarked paragraphs into Lua for processing
I confess, I hadn't considered anything quite so bold as reading the whole of the text into Lua and then processing it back out. I suppose I was expecting one of the true TeXperts to offer suggestions involving \appendtoks ... \to \everypar. I also realized that I forgot to mention that I want to be able to do this all while using the ConTeXt project/product/component support. Any other suggestions on how I could process unmarked paragraphs in Lua? Kevin On Thu, Oct 14, 2010 at 3:48 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 Oct 2010, Kevin D. Robbins wrote: Hi all, I am wondering if and how it might be possible to catch all unmarked paragraphs in a TeX file and pass them into Lua. So, in the following example, each of the first three unmarked paragraphs would be passed to the Lua function process_paragraph for optional processing, but the fourth paragraph between \startmarkedparagraph...\stopmarkedparagraph would not be passed to process_paragraph. If you are willing to add some more markup, then you can do \starttext \startMarking ... \startmarkedparagraph ... \stopmarkedparagraph \stopMarking \stoptext where \startMarking .. \stopMarking passes everything to lua ( http://wiki.contextgarden.net/Programming_in_LuaTeX#Manipulating_verbatim_text_for_dummies) and you can then search for \startmarkedparagraph ... \stopmarkedparagraph in lua. Or you could just redefine \starttext ... \stoptext to do the capturing. Something like: \let\normalstarttext\starttext \let\normalstoptext\stoptext \def\starttext{} And in the lua end call \normalstarttext before starting typesetting and \normalstoptext after all typesetting is done. 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 ___
[NTG-context] Is it possible to pass unmarked paragraphs into Lua for processing
Hi all, I am wondering if and how it might be possible to catch all unmarked paragraphs in a TeX file and pass them into Lua. So, in the following example, each of the first three unmarked paragraphs would be passed to the Lua function process_paragraph for optional processing, but the fourth paragraph between \startmarkedparagraph...\stopmarkedparagraph would not be passed to process_paragraph. I want the Lua function to be able to eat each of the first three unmarked paragraphs and optionally write some processed version back out to be typeset, but there should be the possibility that none of the paragraphs are typeset at all. In the latter case that no text is to be typeset at all, is there a way to prevent ConTeXt/LuaTeX from creating an empty PDF? \startluacode def process_paragragh (par) -- Some magic here... -- Maybe a context (processed_par) to typeset the processed paragraph... end \stopluacode \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write the first user manual. \startitemize \item One \item Two \item Three \stopitemize The separation of any of these four components would have hurt \TeX\ significantly. If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. But a system cannot be successful if it is too strongly influenced by a single person. Once the initial design is complete and fairly robust, the real test begins as people with many different viewpoints undertake their own experiments. \startmarkedparagraph Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write the first user manual. \stopmarkedparagraph \stoptext Thanks, Kevin ___ 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] collecting user wishes for streams related functionalities
Hi everyone, I second the request to support horizontally split page layouts with one stream typeset above another on each page. Kevin On Wed, Aug 18, 2010 at 8:12 AM, Philipp Gesang pges...@ix.urz.uni-heidelberg.de wrote: On 2010-08-18 06:23:20, Salil Sayed wrote: Hi All, Hans will starting looking into the development of 'streams' for mkvi soon. So let us gather our wishes for these functions so that the interface can be well thought of beforehand. Please respond to this thread with your wishes and I might compile them later in one place if doing so makes sense. To begin with here is my first wish: Being able to flow multiple texts in parallel. A simple case is a translation of the same text running on opposite page while the original runs on left/right page. In my thesis these are not translations, but correlated texts written for different audiences. (think of levels in a CG game) So the texts need to be designed differently. To extrapolate this facility, if columns on one page can run such parallel texts then we can have multiple translations running together. Best regards, Salil Hi Salil, three items I'd like to add: * horizontal split page layout (upper and lower parts instead of columns), * asymmetric stream combinations (e.g. two streams on the left page, another stream on the facing page), and * easy reprinting (i.e. a photographic reproduction as one stream on the left and a text stream on the right page). I've seen all of this in printed books so it would be a pity to live in a world where the best typesetting system can't do that. Some of this I already mentioned to Hans a while ago, maybe he remembers. Regards, Philipp ___ 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 ___ 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] installing metauml in context
Hi all, I am also interested in using MetaUML with ConTeXt mkiv. I tried compiling the attached test-metauml.tex with the versions (I updated today): MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.06.23 12:45 and This is LuaTeX, Version beta-0.60.2-2010070309 I get the result in the attached test-metauml.pdf, still with the wrong alignment. I also tried building the MetaUML graphic in a separate test-metauml.mp file using mpost -mem=mpost.mem test-metauml.mp (I changed the default font in metauml_defaults.mp to cmtt12) and the left alignment was correct, but the background boxes were no longer wide enough so that the text overran the box background. Kevin On Mon, May 17, 2010 at 3:12 PM, Hans Hagen pra...@wxs.nl wrote: On 17-5-2010 8:49, Shiv Shankar Dayal wrote: Hi all, Thanks a lot for this help. I tried again with modifications and it is working with wrong alignment. I am tried using simplefonts like also in the latest beta? - 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 ___ test-metauml.tex Description: TeX document test-metauml.pdf Description: Adobe PDF document ___ 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] What do you miss in ConTeXt?
Hi everyone, I remembered another capability that I'd love to see integrated with ConTeXt somehow – automated graph layout. It would be great if there were a ConTeXt module that supported GraphXML or another XML graph format, so that users could draw graphs using GUI tools and then let the module typeset the graphs in MetaPost. I imagine the setups for the module would allow users to pass layout hints and styles to the layout engine. Kevin On Mon, Feb 8, 2010 at 4:25 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX 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 ___ ___ 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] tracking changes (was: Re: What do you miss in ConTeXt?)
Hi Peter, Thanks for the reference to your thread from 2006. In my post the other day, I was just wishing for a changebar capability to be fully integrated to ConTeXt now that we have LuaTeX. Leveraging Lua, we could have a cross-platform way to visually markup the changes between two versions. I don't mean to speak for John, but your suggestion to use version control to 'precisely record' the changes between two versions of the same document addresses the need only of the author(s) or others with understanding and access to the version control system. For me, changebars provide a useful way to definitively show users the changes between two releases of large document without resorting to the common practice (one I dislike) of including a table of significant changes at the start of the document. Cheers, Kevin On Sat, Feb 13, 2010 at 5:50 AM, Peter Münster pmli...@free.fr wrote: On Sat, Feb 13 2010, John Devereux wrote: I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed Hello John, Perhaps this can help: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html and precisely recorded. Then I suggest a version control system. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : 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] What do you miss in ConTeXt?
I dream of a flexible changebar module (similar to the LaTeX changebar package) with Lua drivers so I can run something like: context --mark-changes foo1 foo2 to produce a (possibly mangled) output TeX file that when built produces a PDF with changebars in the margin, additions/deletions/modifications in colored text, etc. I would want the Lua drivers to work with the project/product/component structure, so that I could quickly markup the changes in all the products in a project, just one product, or even just one component. Kevin On Mon, Feb 8, 2010 at 4:25 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX 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 ___ ___ 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] \completelistofacronyms does not typeset meaning, only repeats the acronym itself
Thanks, Hans. I just tested with the latest betas from the minimals, and \completelistofacronyms works again. Kevin On Tue, Nov 10, 2009 at 11:54 AM, Kevin D. Robbins robbins.kevi...@gmail.com wrote: In the latest beta from minimals, \completelistofacronyms does not typeset the meaning of the acronym, but just repeats the acronym. I've attached a minimal example that shows the problem. Kevin ___ 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] How to load a lua file into a named lua instance
Hi all, I have a module with lots of lua code, and I'd like to move most of the lua code to a separate file, say t-module.lua. I have written all of the lua code using \modulecode and \startmodulecode ... \stopmodulecode. But, when I move the lua code to t-module.lua and load it with dofile, it seems to load in the global instance instead of the third party module instance. Is there any method to load an external lua file in a named instance? Thanks, Kevin ___ 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] How to load a lua file into a named lua instance
Hi Hans, I started reading at \registerctxluafile in luat-cod.mkiv, but it wasn't quite what I was looking for. But, I then stumbled on \definenamedlua in luat-ini.mkiv. There, I learned of the function 'protect' in luat-ini.lua. So, adding the line protect(moduledata) at the top of t-module.lua and then loading this file with 'dofile (global.kpse.find_file (t-module.lua, tex))' loads all my definitions into the moduledata environment, so that I can directly address these definitions in other TeX files within \modulecode{} or \startmodulecode ... \stopmodulecode. Kevin On Fri, Nov 20, 2009 at 3:32 PM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: Hi all, I have a module with lots of lua code, and I'd like to move most of the lua code to a separate file, say t-module.lua. I have written all of the lua code using \modulecode and \startmodulecode ... \stopmodulecode. But, when I move the lua code to t-module.lua and load it with dofile, it seems to load in the global instance instead of the third party module instance. Is there any method to load an external lua file in a named instance? \registerctxluafile{t-module}{} - 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 : 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 ___
[NTG-context] \completelistofacronyms does not typeset meaning, only repeats the acronym itself
In the latest beta from minimals, \completelistofacronyms does not typeset the meaning of the acronym, but just repeats the acronym. I've attached a minimal example that shows the problem. Kevin test-acronyms.tex Description: TeX document ___ 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] Problem or bug with enumerations in latest ConTeXt beta
Hi Hans, Thanks for the quick fix! I retested with the latest from minimals, and all three problems I reported are fixed. Kevin On Sat, Oct 24, 2009 at 7:07 AM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: Hello all, I have attached a fairly minimal example that demonstrates three problems I currently have using an enumeration for code listings. The first problem is that \placelist[enumeration:listing] errors out with: has to do with the fact that the list is not initialized (i'll add a test for that) and therefore variables are not resolved using the parent chain for the moment add: \definelist[listing] also, use listing' as name in order to get some result \setuplist[listing]... \placelist[listing][criterium=text] Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : 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 ___
[NTG-context] Problem with metapost textbackgrounds on Windows
Hello all, In the example below, I mean for a gray box with rounded corners to be placed behind \startC ... \stopC blocks. This example compiles properly on Linux with the latest ConTeXt beta and LuaTeX synced from the minimals just minutes ago. On Windows, also updated from minimals this morning, I get the following error and no text background: mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/context/tex/texmf-cache/luatex-c ache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en-metafun.mem' ! Emergency stop. inserted text ...ore.mp ; fi ; ;;;]===], false)} \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} \egroup \global \MPinstanc... \useMPpositiongraphic ...tartMPcode #3\stopMPcode \egroup \doMPpositiongraphic ...riables \getvalue {MPG:#1} } \doMPpositiongraphic ...fined {MPG:#1}\donothing } \removelastspace }\smashbo... \dohandleMPpositiongraphicrange ...raphic {#3}{#4} \fi \fi ... l.59 \stoptext ! == Fatal error occurred, no output PDF file produced!MTXrun | fatal error, r eturn code: 1 Here is the example: % \unprotect \startuseMPgraphic{mpos:par:myexample} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 4pt bottomenlarged 4pt cornered 2mm ; fill p withcolor 0.9white ; draw p withcolor black withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \definetextbackground [listingbackground] [state=start, mp=mpos:par:myexample, location=paragraph, leftoffset=0em, rulethickness=1pt] \definetyping [C] [option=commands] \setuptyping [C] [bodyfont=8pt, margin=1em, before=% {\blank[big] \setupinterlinespace[line=1.6ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[big]}] \protect \starttext \input tufte \starttyping namespace Example { int a; int b; } \stoptyping \input knuth \startC namespace Example { int a; int b; } \stopC \stoptext % ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTex choking on \definesynonyms?
Hi Roland, Hans (or someone else) added abbreviation as a standard synonym in the file strc-syn.mkivhttp://source.contextgarden.net/tex/context/base/strc-syn.mkiv?search=abbreviations. You no longer need to separately define abbreviation with \definesynonym in order to use \abbeviation{VVV}{Bureau of Tourist Information}. Kevin On Sun, Aug 2, 2009 at 8:08 AM, Roland ntg-cont...@rolandsiebelink.comwrote: Hi all, LuaTex doesn't seem to like the \definesynonyms command. The following works fine in PDFtex: 1 \definesynonyms[abbreviation][abbreviations][\infull] 2 3 \starttext 4 \abbreviation{VVV}{Bureau of Tourist Information} 5 The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist 6 information on Hasselt. 7 8 \stoptext ...but when compiling with Luatex, I get the errors as below. On Mac OS X with an updated ConTeXt/Luatex minimals installation. The abbreviations aren't essential in my current document but I guess somebody might want to look into this? Thanks Roland 1 This is LuaTeX, Version beta-0.42.0-2009071723 2 \write18 enabled. 3 (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex 4 5 ConTeXt ver: 2009.07.23 20:11 MKIV fmt: 2009.8.2 int: english/english 6 7 system : cont-new loaded 8 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex 9 systems : beware: some patches loaded from cont-new.tex 10 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)) 11 system : cont-fil loaded 12 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex 13 loading : ConTeXt File Synonyms 14 ) 15 system : cont-sys.rme loaded 16 (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv))) 17 system : sandbox.top loaded 18 (sandbox.top) 19 fonts : preloading latin modern fonts 20 bodyfont: 12pt rm is loaded 21 language: language en is active 22 ! Use of \doassignsometextprefixnop doesn't match its definition. 23 \doassignsometextprefix ...sometextprefixyes \fi { 24#1} 25 \dododosetupsometextprefix ...nsometextprefix {#1} 26[#2,,] 27 \next1 #1,-\dodosetupsometextprefix {#1} 28 \doprocesscommaitem 29 \doprocesscommalist ...item \gobbleoneargument #1, 30]\relax \global \advance \... 31 \dosetupsometextprefix ...dodosetupsometextprefix 32\fi 33 to be read again 34 \setvalue 35 ... 36 l.2 37 38 39 ? ! Too many }'s. 40 \doassignsometextprefix ...etextprefixyes \fi {#1} 41 42 \dododosetupsometextprefix ...nsometextprefix {#1} 43[#2,,] 44 \next1 #1,-\dodosetupsometextprefix {#1} 45 \doprocesscommaitem 46 \doprocesscommalist ...item \gobbleoneargument #1, 47]\relax \global \advance \... 48 \dosetupsometextprefix ...dodosetupsometextprefix 49\fi 50 to be read again 51 \setvalue 52 ... 53 l.2 54 55 56 ? systems : begin file sandbox at line 3 57 ! Missing } inserted. 58 inserted text 59 } 60 to be read again 61 \endgroup 62 l.5 The Dutch \VVV\ (\infull{VVV} 63 ) can provide you with the tourist 64 ? 65 ! Emergency stop. 66 inserted text 67 } 68 to be read again 69 \endgroup 70 l.5 The Dutch \VVV\ (\infull{VVV} 71 ) can provide you with the tourist 72 ! == Fatal error occurred, no output PDF file produced!MTXrun | run 1: luatex --fmt=/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en
Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
Thanks, Wolfgang. My colleague and I are working with the method you suggested, and we'll report back when we've made more progress. We're getting there, but slowly. We always appreciate your help and the help of others on the mailing list! Kevin On Thu, Jun 18, 2009 at 10:53 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 18.06.2009 um 18:21 schrieb Kevin D. Robbins: Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could point me to? Something like this (if not give us more information)? \def\startcodeblock {\begingroup \setcatcodetable\luacatcodes \dodoubleempty\dostartcodeblock} \long\def\dostartcodeblock[#1][#2]#3\stopcodeblock {\modulecode{literateprogramming.codeblock([==[#3]==])}% \endgroup} \startmodulecode literateprogramming = literateprogramming or { } function literateprogramming.codeblock(content) global.print(content) end \stopmodulecode \starttext \startcodeblock[language=c,file=foo.c, etc.][blockname] // This is the main routine... int main() { return 0; } \stopcodeblock \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] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
There would be at least two results of the \start/\stop-codeblock: first, the code would be pretty printed as you sugggested in the resulting program documentation; second, the code would be written to an external source file foo.c that could then be compiled with, for example, gcc. Some other features of literate programming include replacement, where in one code block you reference another that should be cut-and-pasted at the point of reference in the resulting source file, and cross-references between code blocks, where in the typeset program documentation each code block is typeset with references to the other code blocks that use it. Right now, we've got a prototype implementation that properly writes the source files with replacements. In MkIV, right now, the cross-referencing method is not working. We're eagerly (and patiently) waiting for the new MkIV reference method that allows arbitrary userdata, for example, for including a sequence number for code blocks typeset on the same page of the program documentation. Thanks for your suggestion, Kevin On Fri, Jun 19, 2009 at 3:49 AM, Matthijs Kooijman matth...@stdin.nlwrote: Hi Kevin, A colleague and I are experimenting with strategies to implement a literate programming module for ConTeXt, and we'd like to have something like Im not exactly sure what you're trying to achieve, but perhaps you could do this using a prettyprinter? A pretty printer gets passed each line in the \startfoo \stopfoo block and can change the line in any way it wants (including removing it). IIRC there is some minimal general preprocessing done, something with whitespace I think. \startcodeblock[language=c,file=foo.c, etc.][blockname] // This is the main routine... int main() { return 0; } \stopcodeblock Perhaps you could say a bit about what the above should output? Gr. Matthijs -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAko7XxgACgkQz0nQ5oovr7wedwCZAei/RBocOnmSUdFACNA+qMlU yvYAoKl/dtAEsa5ZF7S5dl/h6mQxS/kh =nPdm -END 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 : 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 ___
[NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could point me to? A colleague and I are experimenting with strategies to implement a literate programming module for ConTeXt, and we'd like to have something like \startcodeblock[language=c,file=foo.c, etc.][blockname] // This is the main routine... int main() { return 0; } \stopcodeblock We would appreciate any thoughts you have about how to implement such a module. Thanks, Kevin ___ 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] Part, chapter, section numbers typeset twice by e.g. \in{Chapter}[ch:foo]
Hi Hans, In the following test, \in{}[] typesets the correct part/chapter/section number, but doubled up as in Chapter 2.32.3 instead of Chapter 2.3. \starttext \placecontent \part[pt:foo_bar_baz]{Foo, Bar, Baz} \chapter[ch:foo]{Foo} \in{Chapter}[ch:baz1] \chapter[ch:bar]{Bar} \in{Section}[ch:foo] \chapter[ch:baz]{Baz} \in{Part}[pt:foo_bar_baz1] \part[pt:foo_bar_baz1]{Foo, Bar, Baz 1} \chapter[ch:foo1]{Foo 1} \chapter[ch:bar1]{Bar 1} \chapter[ch:baz1]{Baz 1} \stoptext I don't urgently need a fix or anything. I just wanted to get this on the queue. Kevin ___ 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] stand-alone ConTeXt
Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a command line interface. I'll be happy to test this option. Kevin On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl wrote: Carlos Breton Besnier wrote: stand-alone CONTEXTediting environment (windows) is not available? no, as i need to spend some time on getting scite into the minimals as option - 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 ___ ___ 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] stand-alone ConTeXt
Well, I and another colleague do use Emacs on Windows, Mac OS X, and Linux alike. The folks I'm planning to help get started with ConTeXt, though, are as intimidated by Emacs as they are by the command line. I'm hoping that Scite will feel a bit more natural to them. Kevin On Thu, Jun 11, 2009 at 12:12 PM, Mohamed Bana mbana.li...@googlemail.comwrote: why not support Emacs? AucTeX is mature. Kevin D. Robbins wrote: Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a command line interface. I'll be happy to test this option. Kevin On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl mailto: pra...@wxs.nl wrote: Carlos Breton Besnier wrote: stand-alone CONTEXTediting environment (windows) is not available? no, as i need to spend some time on getting scite into the minimals as option - 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 http://www.pragma-ade.com | www.pragma-pod.nl http://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 mailto: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 ___ ___ 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] stand-alone ConTeXt
Thanks! I'll play around a bit with TeXWorks and Notepad++. Kevin 2009/6/11 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu On Thu, 11 Jun 2009 09:05:07 -0600, Kevin D. Robbins krobb...@alumni.princeton.edu wrote: Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a command line interface. I'll be happy to test this option. If you want something really comfortable for Windows users, try the Notepad++ setup: http://wiki.contextgarden.net/Image:Npp_ConTeXt-Uni.zip I don't have Vista, which uses a different dir structure for the files, but you can easily adopt this as needed. 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 ___ 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] Problems in latest beta
Great! The appendices now increment A, B, C by default. And, all the lists (contents, figures, tables, acronyms) are now working. Thanks! Kevin On Wed, Jun 3, 2009 at 3:06 AM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: Great, thanks a lot Hans! In my current test case below everything now works except for \placecontent or \completecontent, which still don't produce anything. Also, I had to add the second argument \placelist[table,widetable][criterium=all] in order to get output. Without [criterium=all] I did not get anything. And, I still haven't figured out the conversion sets for getting appendices labeled A, B, C. should happen by default also, look at defs in strc-def.tex (don't use these c! and v! in your style, just the words) lists fixed in next beta (still somewhat tricky as the default settings are kind of adaptive) - 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 ___ ___ 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] Problems in latest beta
In the latest beta, I nearly have everything working for a set of documents that haven't built cleanly in MkIV since Hans started merging the new structure code. Thanks, Hans and others, for the steady progress! I've started reading the new structure code, and I have to say I find it much easier to understand. I have a few remaining problems, that I've discovered so far, that I'd appreciate any help you can give me. First, I still haven't been able to use \placelistofacronyms or \completelistofacronyms to produce a list of acronyms used in my document. Here is my test case: = \definesynonyms[acronym][acronyms][\infull] \setupcapitals[sc=yes] \setupsynonyms[acronym][textstyle=small,width=1.25in] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \starttext \completelistofacronyms % \title{Acronyms}\placelistofacronyms \section{\ABC\ Section} \infull{ABC} (\ABC) \section{\DEF\ Section} \infull{DEF} (\DEF) \stoptext = Here is the error: = structure : chapter @ level 2 : 0.1 - \headtext {acronyms} ! Undefined control sequence. \dosetsynonymattributes ...def \fontattributehash {\synonymparameterhash #1}... \@@ddsyndeftitle ...tes \c!textstyle \c!textcolor ABC \doif #1#2-\edef \!!stringa {#1 }\edef \!!stringb {#2}\ifx \!!stringa \!!str... \dododescriptioncomponent ...er \c!title }\v!none {\global \nodescriptioncap... \@@makedescription ...itle ={#2},\c!bookmark =,][] \@@dostartdescriptionindeed \dodowithpar ...tes \c!textstyle \c!textcolor ABC} #1\@@stopdescription ... l.10 \completelistofacronyms = Second, I use the following float definitions for wide figures and tables. The floats are placed as I expect, but neither the wide figures nor the wide tables are given numbers in the caption...I just see Figure Foo, bar, baz instead of Figure 1 Foo, bar, baz. However, the other figures and tables are numbered correctly, so it looks like the counters are incremented, just not used in the captions for wide figures and tables. \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] Here is a test case: = \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \completelistoftables \page[yes] \placewidetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \placetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \stoptext = Third, I can't get my appendices to count in letters A, B, C, etc. Following Hans' suggestion, I read strc-def.mkivhttp://source.contextgarden.net/tex/context/base/strc-def.mkiv?search=conversionsetre: conversion sets. I tried adding these lines to my document: \definestructureseparatorset [appendix] [] [.] \definestructureconversionset [appendix] [Romannumerals,Characters] [numbers] \definestructureresetset [appendix] [] [0] \setupstructureblock[appendix][sectionconversionset=appendix] \setupstructurehead[chapter][sectionconversionset=\structureblockparameter\c!sectionconversionset] But, I still see the appendices counting 1, 2, 3, etc. Where am I going wrong? I built all these examples using ConTeXt Minimals Versions: MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.06.02 09:30 This is LuaTeX, Version beta-0.40.1-2009050920 (Web2C 7.5.7) luatex.web = v2376 Thanks, Kevin ___ 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/
Re: [NTG-context] Problems in latest beta
Thanks. I updated to: MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.06.02 20:25 and now \completelistofacronyms does indeed work. However, \completecontent no longer produces any output (it produced proper output before). In my real document, the one wide table I have now gets a number, but \completelistoffigures now produces no output (it produced proper output before). I have made a test case that includes acronyms, figures and tables, wide figures and tables, and lists of contents, figures, tables, and acronyms. Right now, with this test case, I don't get anything for the list of contents, figures, or tables, and the wide figure and table do not get numbers in their captions. But, the list of acronyms works. = \definesynonyms[acronym][acronyms][\infull] \setupcapitals[sc=yes] \setupsynonyms[acronym][textstyle=small,width=1.25in] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \completecontent\page \completelistoffigures\page \completelistoftables\page \completelistofacronyms\page \section{\ABC\ Section} \infull{ABC} (\ABC) \placewidefigure{Cow} {\externalfigure[cow][width=\textwidth]} \section{\DEF\ Section} \infull{DEF} (\DEF) \placewidetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \placefigure{Cow} {\externalfigure[cow][width=\textwidth]} \placetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \stoptext = Kevin On Tue, Jun 2, 2009 at 12:52 PM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: l.10 \completelistofacronyms = fixed - 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 ___ ___ 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] Problems in latest beta
Great, thanks a lot Hans! In my current test case below everything now works except for \placecontent or \completecontent, which still don't produce anything. Also, I had to add the second argument \placelist[table,widetable][criterium=all] in order to get output. Without [criterium=all] I did not get anything. And, I still haven't figured out the conversion sets for getting appendices labeled A, B, C. = \definesynonyms[acronym][acronyms][\infull] \setupcapitals[sc=yes] \setupsynonyms[acronym][textstyle=small,width=1.25in] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \title{Contents}\placecontent\page \title{Figures}\placelist[figure,widefigure][criterium=all]\page \title{Tables}\placelist[table,widetable][criterium=all]\page \title{Acronyms}\placelistofacronyms\page \section{\ABC\ Section} \infull{ABC} (\ABC) \placewidetable{Bar}{xxx} \placewidetable{Bar}{xxx} \placetable{Bar}{yyy} \placetable{Bar}{yyy} \placewidetable{Bar}{xxx} \page \section{\DEF\ Section} \infull{DEF} (\DEF) \placewidefigure{Bar}{xxx} \placewidefigure{Bar}{xxx} \placefigure{Bar}{yyy} \placefigure{Bar}{yyy} \placewidefigure{Bar}{xxx} \stoptext = Kevin On Tue, Jun 2, 2009 at 2:17 PM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: I have a few remaining problems, that I've discovered so far, that I'd appreciate any help you can give me. fixed \placelist[table,widetable] \placewidetable{Bar}{xxx} \placewidetable{Bar}{xxx} \placetable{Bar}{yyy} \placetable{Bar}{yyy} \placewidetable{Bar}{xxx} - 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 ___ ___ 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] replacement for \nolist ?
I asked this one last week. Wolfgang provided the (one?) answer: http://archive.contextgarden.net/message/20090424.173741.4c33e4d3.en.html Kevin On Mon, May 4, 2009 at 2:12 PM, Henning Hraban Ramm hra...@fiee.net wrote: Another command that disappeared from MkIV is \nolist (to exclude parts of a title from a table of contents). What's its replacement? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 ___
[NTG-context] How to prevent TeX ligatures in \starttyping..\stoptyping?
From older posts to the mailing list, it seems that the way to prevent TeX ligatures, specifically -- and ---, in \starttyping...\stoptyping in MkIV is to 1. define a font feature with tlig=no 2. define a font synonym for the monospace font that uses this font feature 3. setup typing to use this font synonym Is this currently the best way to solve the problem? Thanks, Kevin ___ 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] new structure code
Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the whole caption in the list of tables. Is there a new way to accomplish this? \starttext \placetable {Foo. \nolist{Bar, Baz}} {\starttable [s1|l|r|r|r|r|] \HL[5] \NC A \NC \Use4[c]{B} \AR \NC \NC C \NC D \NC E \NC F \NC \AR \HL[5] \NC G \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC H \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC I \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC J \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC K \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \stoptext Thanks, Kevin On Fri, Apr 10, 2009 at 7:38 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext 2. indices in headers work not in interactive mode \setupinteraction[state=start] \starttext \section{Section one\index{section}} \stoptext 3. \\ generates a backslash but was a space before \starttext text\\text \stoptext to be continued ... 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] beta
With the following versions of ConTeXt, LuaTeX, and t-bib: MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.04.21 16:11 This is LuaTeX, Version beta-0.40.0-200904 luatex.web = v2344 %D \module %D [ file=t-bib, %Dversion=2009.04.17, Using the following in a file named bibliography.bib: @TechReport{WhoAmI2009, author = {Who Am I}, title ={Foo, Bar, Baz}, institution = {Boo}, year = {2009}, number = {42}, month ={January} } With the following as my test file: \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=./bibliography] \setuppublications[sorttype=bbl,criterium=all] \setuppublications[numbering=short,autohang=yes,refcommand=key] \starttext \input knuth \cite[WhoAmI2009] \stoptext I get the following error: ! Undefined control sequence. argument ... [\bibrefprefix ][\sectionseparator ] \expanded ...\long \xdef \@@expanded {\noexpand #1 }\@@expanded \preparebibreflist ...refix ][\sectionseparator ]} \storeitem \gotobiblink ...brefprefix \preparebibreflist {#2} \global \bibreffoundfalse ... \next1 #1,-\dobibkeyref {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.9 \stoptext If I change \cite[WhoAmI2009] to \cite[short][WhoAmI2009], then the document will build without errors if there are no intermediate files but without actually inserting the citation key: I just get the empty pair []. If there are intermediate files, then I get the familiar: ! Undefined control sequence. argument ... [\bibrefprefix ][\sectionseparator ] \expanded ...\long \xdef \@@expanded {\noexpand #1 }\@@expanded \preparebibreflist ...refix ][\sectionseparator ]} \storeitem \gotobiblink ...brefprefix \preparebibreflist {#2} \global \bibreffoundfalse ... \next1 #1,-\dobibshortref {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.8 \input knuth \cite[short][WhoAmI2009] I hope this helps! Kevin On Tue, Apr 21, 2009 at 8:12 AM, Hans Hagen pra...@wxs.nl wrote: Thomas A. Schmitz wrote: 1. The problem with the bib module persists. I don't get any errors anymore about undefined control sequences, the bbl file is loaded, but no output is produced. I hope I can produce a minimal test file tomorrow, unless you already have a test. a test file would be handy indeed as i have no clue how to invoke the bug - 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 ___ ___ 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] new structure code
Thanks! Kevin On Fri, Apr 24, 2009 at 11:37 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the whole caption in the list of tables. Is there a new way to accomplish this? \defineselector[caption][max=2,n=2] \starttext \start \setupselector[caption][n=1] \completelistoftables \stop \placetable {\select{caption}{Foo.}{Foo. Bar, Baz}} {...} \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] new structure code
Another question regarding ConTeXt beta 2009.04.21 16:11, should the \completelistoffigures in the example below work, or are the \completelistofXXX macros still not fully supported in the new Mark IV structure code? \starttext \completelistoffigures \input knuth \placefigure[fig:hacker] {Hacker.} {\externalfigure[hacker]} \input tufte \placefigure[fig:cow] {Cow.} {\externalfigure[cow]} \stoptext ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/strc-doc.lua:502: attempt to index field 'sectiontitle' (a nil value) stack traceback: ...beta/tex/texmf-context/tex/context/base/strc-doc.lua:502: in function 'sectiontitle' ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:308: in function 'title' main ctx instance:1: in main chunk. \structurelistsectiontitle ...\currentlistindex )} \listtextcommand #1-\begstrut #1 \endstrut argument ...tentry {\structurelistsectiontitle } }\egroup \ifdim \wd 4=\zer... \secondoftwoarguments #1#2-#2 \dosomelistelement ... 4\relax \relax \fi }\hss }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.3 On Fri, Apr 10, 2009 at 7:38 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i found a few bugs in the new structure code for mkiv. 1. the dot after numbered items is missing \starttext \startitemize[n] \item first item \item second item \stopitemize \stoptext 2. indices in headers work not in interactive mode \setupinteraction[state=start] \starttext \section{Section one\index{section}} \stoptext 3. \\ generates a backslash but was a space before \starttext text\\text \stoptext to be continued ... 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] new structure code
On Fri, Apr 24, 2009 at 12:36 PM, Hans Hagen pra...@wxs.nl wrote: Wolfgang Schuster wrote: Am 24.04.2009 um 19:22 schrieb Kevin D. Robbins: Hi all, I just wanted to add that with the latest ConTeXt beta 2009.04.21 16:11 and LuaTeX beta-0.40.0-200904, \nolist is no longer defined. I've been using \nolist with long table captions, so I don't get the whole caption in the list of tables. Is there a new way to accomplish this? \defineselector[caption][max=2,n=2] \starttext \start \setupselector[caption][n=1] \completelistoftables \stop \placetable {\select{caption}{Foo.}{Foo. Bar, Baz}} {...} \stoptext ah .. you always surprise me .. i'd even forgot about that one upcoming structure code will provide \startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] You anticipated my next question! This is great news...I've always wanted to be able to specify the text that should go in the bookmark when the title itself includes markup. But, will there be similar support for specifying bookmark text for things like \completelistoffigures? Right now, the bookmark says something like '\headtext{figures}' in my PDF viewer. Thanks again, Kevin ___ 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 t-bib module
Great. Thanks, Kevin On Thu, Mar 12, 2009 at 2:43 AM, Taco Hoekwater t...@elvenkind.com wrote: Kevin D. Robbins wrote: Hi Taco, You say that the current bib module will likely never work with cont-xp. Are you planning to release the new bib module in the same time frame as Hans intends to merge cont-xp? Something like that (at least a few months away) Taco ___ 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 t-bib module
Hi Taco, You say that the current bib module will likely never work with cont-xp. Are you planning to release the new bib module in the same time frame as Hans intends to merge cont-xp? Thanks, Kevin On Wed, Mar 11, 2009 at 4:50 AM, Taco Hoekwater t...@elvenkind.com wrote: Lutz Haseloff wrote: What do I wrong? I use latest mkiv beta interface=xp, LuaTeX, Version The current bib module doesn't work in cont-xp, and it probably never will. Too much work and a complete replacement is planned anyway. Best wishes, Taco ___ 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] MKIV: problem with synonyms
Hi Hans, When you earlier said that sorting was supported in cont-xp, did you mean it should be working right now, or that you are only going to fix sorting in cont-xp? Right now, \completelistofacronyms fails in the following example using 'context --interface=xp' : - \definesynonyms[acronym][acronyms][\infull] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \starttext \completelistofacronyms \infull{ABC} (\ABC) \infull{DEF} (\DEF) \stoptext - The error I see is: - systems: synchronize: chapter,chapter,section-2,2 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-syn.lua:89: attempt to index field 'definition' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-syn.lua:89: in function 'filter' ...text/tex/texmf-context/tex/context/base/strc-syn.lua:162: in function 'analysed' ...text/tex/texmf-context/tex/context/base/strc-syn.lua:172: in function 'process' main ctx instance:1: in main chunk. \doplacelistofsynonyms ...blists.process('#1',{})} \stoppacked \endgroup \docompletelistofsynonyms ...stofsynonyms {#1}{#2} \page [\v!yes ] l.7 \completelistofacronyms - Thanks, Kevin On Thu, Feb 5, 2009 at 3:13 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, \completelistof... does not work with MKIV (ConTeXt 2009.01.18 and LuaTeX snapshot-0.31.3-2008123108): \definesynonyms[Acro][acronymes] \Acro{HTML}{HyperText Markup Language} \Acro{PDF}{Portable Document Format} \starttext \HTML\ and \PDF \completelistofacronymes \stoptext indeed, all sorting is not working since i moved to a different method (supporte din cont-xp) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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] Nested sections in interface=xp?
I'm interested to know whether nested sections are supported in the new structure code (strc-*)? Using the following to test, I don't get a section and subsection, but rather two sections. The log file notes a missing \stopsection. \starttext \startsection{Section} \input tufte \startsection{Subsection} \input knuth \stopsection \stopsection \stoptext Am I missing a setup command somewhere in the new structure code that enables nested sections? Thanks, Kevin ___ 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] How to capture a typeset page into a box instead of shipping it out
Thanks for the suggestions Wolfgang and Luigi. I've now got several good options to research. Kevin On Sat, Jan 31, 2009 at 2:18 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 31.01.2009 um 00:34 schrieb Kevin D. Robbins: I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox. That's AFAIK not possible. Layer are not limited to the complete page, you could use them also with \framed and with streams you get many features of the page builder. My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text train the trainer document. Why don't you include the pages from the finished pdf, with ConTeXt's modes it is possible to wrote both parts in one document and create two files. 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 ___
[NTG-context] How to capture a typeset page into a box instead of shipping it out
Hi all, I am looking for ideas of how to capture a typeset page (as it would appear in the resulting pdf output) into a box instead of actually shipping it out directly, if it is possible. I would like to take advantage of ConTeXt's layout features including layers, otherwise I would just create the box with \setbox. My intent is to draw slides using all of ConTeXt's many layout features, but capture the rendered slide in a box so I can use it either as a full page in the presentation output or as a scaled image included as a figure in a full text train the trainer document. Thanks, Kevin Robbins ___ 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 ___