Re: [NTG-context] marking?

2012-02-25 Thread Thomas A. Schmitz
On 02/25/2012 03:37 PM, Philipp Gesang wrote: For more info about the local structure you might want to have a look at table.print(structures.sections.current()) Regards Philipp Many thanks, Philipp, your example and this hint are very useful - I will play around with this! We'll see if this

[NTG-context] marking?

2012-02-24 Thread Thomas A. Schmitz
Hi all, shouldn't this work? I get no content for the marking: \starttext \startchapter[title={Hello World},marking={A}] Test \getmarking[chapter] \stopchapter \stoptext All best Thomas ___ If your question

Re: [NTG-context] marking?

2012-02-24 Thread Thomas A. Schmitz
that will do different things depending on the chapter it is in, so I thought \getmarking was the way to go (with a \doifelse test). But \namedstructurevariable is as well. Thanks Thomas -- Prof. Dr. Thomas A. Schmitz Abteilung für Griechische und Lateinische Philologie Universität Bonn Am Hof

[NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
Hi all, I'm trying to use \getparameters, but I'm doing it wrong. What I want to do is: define an environment which starts linenumbering and takes a key=value argument to define the start of the numbers. Here's what I tried (I also tried a few other things, such as \setvariables, but wasn't

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering} \defineannotation [numberedblockquote]

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 01:29 PM, Wolfgang Schuster wrote: \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]%

Re: [NTG-context] footnotes rewritten

2012-02-22 Thread Thomas A. Schmitz
On 02/21/2012 09:24 PM, Steffen Wolfrum wrote: Am I the only one who uses footnotes ? ;o) Steffen No, I'm using footnotes too, and the current implementation is an absolute disaster. I get weird and unexpected behavior as well. 1. Footnotes are shifted to the following page. This puts a

[NTG-context] texgyre termes: no ligatures

2012-02-15 Thread Thomas A. Schmitz
Hi all, I think this has been around for a while, but I have never gotten round to writing about it: ligatures do not work in tex gyre termes. AFAICS, they do work in the other tex gyre fonts. However, they are most needed in termes (fi without ligature is really ugly in this one), and they

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Thomas A. Schmitz
On 2/14/12 1:48 PM, Hans Hagen wrote: \starttext \startitemize[n] \item First question \phantom{\item } \item Third question \phantom{\item } \item Fifth question \item Sixth question \stopitemize \stoptext or something \starttext \startitemize[n] \item First question

[NTG-context] setupnotedefinition

2012-02-13 Thread Thomas A. Schmitz
Hi all, the command \setupnotedefinition is no longer defined in the latest beta (strc-not.mkvi). Is this an oversight, or has it been replaced by something else? All best Thomas ___ If your question is of

Re: [NTG-context] setupnotedefinition

2012-02-13 Thread Thomas A. Schmitz
On 02/13/2012 10:03 AM, Wolfgang Schuster wrote: Is this an oversight, or has it been replaced by something else? The new command is \setupnotation. Wolfgang Thank you Wolfgang. Corrected in wiki. Thomas ___ If

Re: [NTG-context] mixing Greek and English texts

2012-02-12 Thread Thomas A. Schmitz
On 02/12/2012 03:16 AM, Pablo Rodríguez wrote: Hi there, I would like to typeset a classical Greek text that contains a Greek-English dictionary and other explanations in English with Greek passages. In order to get proper hyphenation, I should define English as main language and tag all Greek

Re: [NTG-context] mixing Greek and English texts

2012-02-12 Thread Thomas A. Schmitz
On 02/12/2012 12:56 PM, Pablo Rodríguez wrote: BTW, which are the commands for modern polytonic and monotonic Greek hyphenation? I don't think we have support for modern Greek in ConTeXt now. Someone would have to prepare the patterns and the punctuation rules, and here it would make sense

Re: [NTG-context] Simpleslides crash

2012-02-12 Thread Thomas A. Schmitz
On 02/04/2012 02:16 PM, Otared Kavian wrote: Hi Thomas, Thanks for your answer and your suggestion: indeed version 2011.11.29 works fine and since I have it on my Mac, there is no emergency for me to have simpleslides fixed. Thanks also to Aditya and you for the nice module you have written!

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have many files with ASCII encoding; this encoding must be kept as these files are processed also by another program. When I work with them in ConTeXt, I need to convert them to UTF. Does Lua (in ConTeXt scope) offer a

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:59, Wagner Macedo wrote: Is it possible to \cite with author in UPPERCASE without touch in my bib file? I couldn't find a tip about this, I already read Bib mod manual. I'm using MkIV. Short answer: yes, that's possible. Longer answer: bib mod manual, section 2.3, \setupcite.

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 12:58 PM, Wagner Macedo wrote: Longer answer: bib mod manual, section 2.3, \setupcite. You can hook something like \bgroup\WORD and \egroup into the left= and right= keys. It didn't solve, because when I have an author et al, results in AUTHOR ET AL, that is not the

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 03:10 PM, Wagner Macedo wrote: Ah, yes. I'm setuping my own style. As I'm not so good with TeX (if this could be in Lua, will be perfect), I'm using apa, that is the closest to my style. So, all right, I'll try to customize my style, that is the only good solution to this. Thanks

[NTG-context] xtables: vertical stretch

2012-02-07 Thread Thomas A. Schmitz
Hi all, I was wondering if it is possible to have some vertical stretch in xtables so they fill the entire page area. I know this sounds a bit bizarre, but it would look good on slides: have an option that will automatically calculate the height of every row as \textheight/x for any x. All

Re: [NTG-context] xtables: vertical stretch

2012-02-07 Thread Thomas A. Schmitz
On 02/07/2012 09:10 PM, Hans Hagen wrote: I was wondering if it is possible to have some vertical stretch in xtables so they fill the entire page area. I know this sounds a bit bizarre, but it would look good on slides: have an option that will automatically calculate the height of every row as

Re: [NTG-context] Simpleslides crash

2012-02-04 Thread Thomas A. Schmitz
On 2/3/12 7:45 AM, Otared Kavian wrote: Dear Aditya and Thomas, Using the simpleslides seems impossible with the latest beta (ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.1.31): mkiv stops with a « fatal error » on this minimal test: Hi Otared, yes, we're aware of the problem; Aditya is

Re: [NTG-context] Bibliography problem

2012-02-02 Thread Thomas A. Schmitz
On 02/02/2012 05:26 AM, Pontus Lurcock wrote: ere's a long-standing problem I have with BibTeX databases in ConTeXt Mk IV (I'm currently using version 2011.10.01). If there are multiple publications with the same authors and year, they get suffixes a, b, etc. as is usually expected in

Re: [NTG-context] What’s your favorite command?

2012-01-30 Thread Thomas A. Schmitz
On 01/30/2012 07:55 PM, Wolfgang Schuster wrote: Hi all, to bring some traffic to the list I have a question where I hope even non regulars send a answer. The ConTeXt package is huge and provides dozen of commands but I guess many have*one* favorite command (maybe also functionality). As I

Re: [NTG-context] issue with \setuplabeltext

2012-01-22 Thread Thomas A. Schmitz
On 01/22/12 20:49, Pablo Rodríguez wrote: And I have just accidentally discovered that label text is only shown in the chapter title, if the \mainlanguage is different from [agr]. (I haven't checked all languages, but it works with la, en, ru and es.) agr is not a full language in the ConTeXt

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-11 Thread Thomas A. Schmitz
On 1/11/12 2:01 PM, Hans Hagen wrote: hm, i didn't know anyone was using it that way \define\sampi{\greeksampi} should work ok. I'll be a bot more tolerant then. Hans Was just about to write; I had found that too about two weeks ago. I don't know if it's incorrect syntax, but it had been

Re: [NTG-context] for luigi's gadget gallery

2012-01-09 Thread Thomas A. Schmitz
On 01/09/2012 06:42 PM, Aditya Mahajan wrote: showing black-and-white printouts instead of using a projector. That'll learn them! No need for printouts! http://www.ngolde.de/tpp.html I gotta try this out one of these days! Thomas

Re: [NTG-context] Barcodes

2012-01-08 Thread Thomas A. Schmitz
On 01/06/2012 12:28 AM, Ben Schlingelhof wrote: Hi there, is there a possibility to generate barcodes (Code128 and QR) in ConTeXt? I've had a look at pstricks but this seems broken. Something about ! I can't find file `multido'. ? These barcodes are a Dealbreaker for my company, I know they

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 05:28 PM, Hans Hagen wrote: Hi, I uploaded a new beta ... hopefully not too many renaming side effects Hi Hans, all best for the New Year! And thanks for the wonderful New Year's card - I received two of them and could appreciate the full randomness of it all... In the

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:08 PM, Wolfgang Schuster wrote: In the latest beta, the file hand-ini.mkiv is gone, I can’t reproduce this because I have the file on my system. That may be the case, but the question is how it got there. Not by running first-setup.sh - I just did a test run into an empty

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:29 PM, Wolfgang Schuster wrote: I deleted the texmf-context folder and hand-ini.mkiv was downloaded when I run first-setup.sh, it’s also included in the cont-tmf archive from Hans. Hmm, maybe system-dependent? I'm on linux-64; I'll try with my OS X box. Thomas

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:45 PM, Hans Hagen wrote: Is \enableprotruding obsolete, then? One can wonder if it ever was solete Hans OK, I see :-) Must have been a leftover from the olden days, when we had to compile our context documents with a magnetized needle and a steady hand directly on the

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 09:44 PM, Hans Hagen wrote: Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results... well,

Re: [NTG-context] beta

2012-01-02 Thread Thomas A. Schmitz
On 01/02/2012 11:46 PM, Wolfgang Schuster wrote: You have \definefontfeature[default][default][protrusion=quality] or a similar setting in your document? Wolfgang Now I do... Thanks Wolfgang, it works now! Thomas

Re: [NTG-context] PDF not generated from XML

2011-12-31 Thread Thomas A. Schmitz
On 12/31/2011 02:16 PM, Pablo Rodríguez wrote: Hi there, with the files form http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/, I tried: context --environment=mysecondstyle.tex myexample.xml But I don't get the PDF output (attached log file). What is wrong

Re: [NTG-context] beta (again)

2011-12-17 Thread Thomas A. Schmitz
On 12/17/2011 10:23 AM, Hans Hagen wrote: I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the bold math change. The error is: fixed Thanks Hans! Thomas ___ If your

Re: [NTG-context] beta (again)

2011-12-17 Thread Thomas A. Schmitz
On 12/17/2011 10:23 AM, Hans Hagen wrote: I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the bold math change. The error is: fixed Oops, sorry, I spoke too soon, I now get: ! Undefined control sequence. system tex error on line 13 in

[NTG-context] beta (again)

2011-12-16 Thread Thomas A. Schmitz
Hi, I'm experiencing problems with the latest (today's) beta, and I suspect they are caused by the bold math change. The error is:

Re: [NTG-context] beta

2011-12-15 Thread Thomas A. Schmitz
Hi all, Hans, something is not working with our simpleslides module and the latest beta. The following example (from our documentation) is not quite minimal, but it shows the problem: \unprotect \def\setupTitle% {\dosingleargument\dosetupTitle} \def\dosetupTitle%

Re: [NTG-context] beta

2011-12-15 Thread Thomas A. Schmitz
On 12/15/11 23:41, Hans Hagen wrote: fixed in next beta Hans Thanks a lot, Hans! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-12-07 Thread Thomas A. Schmitz
On 11/25/2011 09:09 PM, Hans Hagen wrote: It makes me wonder how Thomas gets his greek etc done in bibtex. To be quite honest: I rarely have more than a few words of Greek, and I wrap them up in \localgreek{} markup in my bibtex files, so I assume that's why I have never run into this

Re: [NTG-context] Migrating from prosper to simpleslides in creating presentations

2011-12-07 Thread Thomas A. Schmitz
On 12/06/2011 11:40 PM, Pavneet Arora wrote: Thanks Wolfgang and Marco for the quick responses. Marco, `impressive' looks just the thing that will easily allow me to add transitions while still using simpleslides to get me going until I can do my own DIY slides. Regards. Glad you found a

Re: [NTG-context] How to do coloured heads

2011-12-07 Thread Thomas A. Schmitz
On 12/07/2011 11:16 AM, Philipp Gesang wrote: Better group the arguments of the “style” key as a whole: · \definehead[colorsection][section] \setuphead [colorsection][ style={\tfb\ss\color[darkgray]}, ] or, more ConTeXt-like:

[NTG-context] caption none

2011-11-24 Thread Thomas A. Schmitz
Has something changed here? With the latest beta, \placefigure[none] places a caption; and didn't use to: \starttext \placefigure[here]{none}{\externalfigure[cow][width=5cm]} \stoptext Or has this behavior been replaced with something else? Thomas

Re: [NTG-context] caption none

2011-11-24 Thread Thomas A. Schmitz
On 11/24/2011 09:12 PM, Wolfgang Schuster wrote: This was always possible: \placefigure[here,none]{}{…} Wolfgang OK, I see, now it's only the combination of these two keywords that gets rid of the caption. Conscious decision or side effect? Thomas

Re: [NTG-context] latest beta

2011-11-23 Thread Thomas A. Schmitz
On 11/23/2011 09:21 AM, Hans Hagen wrote: this is probably one of those rare cases of unzipping the archive at the garden interfering with an update .. i'll re-uploade later today Hans Great, thanks for the quick fix! Thomas

[NTG-context] latest beta

2011-11-22 Thread Thomas A. Schmitz
Hi Hans, the files typo-itc.lua and typo-itc.mkvi are missing in today's beta; I assume that's just an oversight? All best Thomas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Thomas A. Schmitz
On 11/11/2011 06:20 PM, Christian wrote: Good evening! I want to scale a font loaded via the simplefonts so sans and serif have the same x-height. But as soon as I use a font size larger than 12pt, the scaling is somehow off or ignored. Example: \usemodule[simplefonts]

Re: [NTG-context] Two frames side by side?

2011-11-06 Thread Thomas A. Schmitz
On 11/06/2011 01:45 AM, Alasdair McAndrew wrote: I want two frames side by side: the left frame comprising just text (and some displayed formulas), and the right hand side frame some high level computer algebra code. The right hand side will have a gray background, and will consist mainly of

Re: [NTG-context] xtables in custom macros

2011-11-06 Thread Thomas A. Schmitz
On 11/04/2011 10:44 PM, Thomas A. Schmitz wrote: Hans, thanks a lot, I'll play with it tomorrow (was on the road today, from Florence back home...). All best Thomas Yes, this works wonderfully! And thanks for mentioning the xml example in the manual! All best Thomas

Re: [NTG-context] xtables in custom macros

2011-11-04 Thread Thomas A. Schmitz
On 11/4/11 10:38 AM, Hans Hagen wrote: \def\test {\setbuffer[demo] \startxtable \startxrow \startxcell does not work \stopxcell \stopxrow \stopxtable \endbuffer \processxtablebuffer[demo]} Hans, is the solution to my xml problem along these

Re: [NTG-context] xtables in custom macros

2011-11-04 Thread Thomas A. Schmitz
On 11/04/2011 01:48 PM, Hans Hagen wrote: \startxmlsetups xml:table \startembeddedxtable \xmlflush{#1} \stopembeddedxtable \stopxmlsetups Hans, thanks a lot, I'll play with it tomorrow (was on the road today, from Florence back home...). All best Thomas

Re: [NTG-context] xml and lua again

2011-10-28 Thread Thomas A. Schmitz
On 10/27/11 13:05, Hans Hagen wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) } \stopluacode

Re: [NTG-context] xml and lua again

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 08:44, Patrick Gundlach wrote: context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) } or just tex.dimen[textwidth]/2 .. sp Wait, just so I understand: your solution would imply that tex.dimen[textwidth] holds a number, not a dimension, right? (Because you

Re: [NTG-context] Line spacing with a large font?

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 12:18, Alasdair McAndrew wrote: How can I ensure that \tfe uses more interline space? by adding a \par at the end. Thomas ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Line spacing with a large font?

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 12:37, Alasdair McAndrew wrote: Thanks, but it doesn't work: {\tfe This is the title of my book\par} still gives vertically squashed text. Which means you should probably provide a complete example. Thomas

Re: [NTG-context] xml and lua again

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 10:56, Hans Hagen wrote: Just switch to philosopher mode for a while and ask yourself what implications that would have in the rather fuzzy world of printing. What is a 'real' dimension? What we call points (pt) is in other application also called points but happens to be basepoints

Re: [NTG-context] beta

2011-10-28 Thread Thomas A. Schmitz
On 10/28/11 16:24, Hans Hagen wrote: I uploaded a new beta. The biggest new thing is that there is yet another table mechanism: extreme tables. Extreme tables - be careful, leave yourself some room for the next iteration; you might run out of superlatives. What will be next: supermongous

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote: Wolfgang, Hans, thanks a lot, this works now. Will now try and move the code to a ctxluafile and see if I can make it work again. If not, I'll be back; no good deed goes unpunished... Thomas OK, I'm slowly making progress processing xml in lua

Re: [NTG-context] xml and lua again

2011-10-27 Thread Thomas A. Schmitz
On 10/27/2011 11:53 AM, Wolfgang Schuster wrote: With “tex.dimen[…]” you get the value in scaled points but util-dim.lua provides some functions to convert the value in points, centimeter etc. \starttext \startluacode context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }

Re: [NTG-context] xml and lua again

2011-10-25 Thread Thomas A. Schmitz
On 10/24/11 8:48 PM, Hans Hagen wrote: sure, oryou can play with if xml.filter(t,.[@frame=on]) then the x-*.lua show some tricks OK, I'm in my stubborn mode then: why doesn't this work: \startbuffer[test] a nattable frame=on tr td1/td td2/td td3/td td4/td

Re: [NTG-context] xml and lua again

2011-10-25 Thread Thomas A. Schmitz
On 10/25/11 12:17 PM, Hans Hagen wrote: see Wolfgangs answer anyway, best move the lua code and wrap it in a function document.MyWhatever ... now its get defined each time Hans Wolfgang, Hans, thanks a lot, this works now. Will now try and move the code to a ctxluafile and see if I can

Re: [NTG-context] xml and lua again

2011-10-24 Thread Thomas A. Schmitz
On 10/24/2011 12:17 PM, Hans Hagen wrote: why so complex Hi Hans, yes, I'm aware that this procedure is quite silly for this example, this was just for myself, for educational purposes. As soon as the setup becomes more complex, I thought it might be easier to collect and process the

Re: [NTG-context] xml and lua again

2011-10-24 Thread Thomas A. Schmitz
On 10/24/2011 02:26 PM, Hans Hagen wrote: if lxml.att(t, frame) == on then context(Yes, the frame is really on!) else context(Nope, sorry, it's still off.) end I don't really understand what kind of object a call such as lxml.att(t, frame) produces. all lxml.* calls print something to tex, so

Re: [NTG-context] xml and lua again

2011-10-23 Thread Thomas A. Schmitz
Hi Peter, thanks for your reply, and I'll keep the bit about goat milk in mind :-). frame= .. tostring(framestate) It has the advantage of making the example compile. It has the drawback of not doing anything :-) seems to work. Anyhow, if you are planning to do some more complex stuff,

[NTG-context] xml and lua again

2011-10-22 Thread Thomas A. Schmitz
Hi all, again, I'm playing a bit with processing my xml in lua. I want a simple interface for processing tables (I don't need all the power and complexity of cals tables and want to learn something in the process). And I thought that collecting the setups in lua might be the easiest way, but

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-19 Thread Thomas A. Schmitz
On 10/19/11 11:49 AM, Hans Hagen wrote: there is now also a scite-for-osx but someone needs to compile the external lexer lua library as it's only available for windows and linux Hans hey, that sounds good - but where can I find it? There's nothing about it on the scintilla page. Or do you

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-19 Thread Thomas A. Schmitz
On 10/19/11 11:55 AM, Patrick Gundlach wrote: I've seen it in the app store a few days ago. Haven't tried it, though. Patrick Ah thanks - and right you are! Comes with a price tag of 33.49 € though; not sure if it's worth that... Thomas

Re: [NTG-context] arguments on context call

2011-10-16 Thread Thomas A. Schmitz
On 10/16/11 5:35 PM, Meer, H. van der wrote: The context --help shows the following option: --arguments=list set variables that can be consulted during a run (key/value pairs) It looks like something I need at the moment. There seems to be no further information on it, at least not be

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 04:30 PM, Marco wrote: Hi, the presentation template “Swoosh” behaves weird and triggers an error. • Use the example file generic-talk-15min-45min.tex • Comment “style=BigNumber,” • Uncomment “style=Swoosh,” The log file is attached. Workaround: First processing the file

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 05:01 PM, Hans Hagen wrote: probably something messy with multipass data then (not enough checking or so) That's probably the case; I may have created a condition that mplib/context can't solve: I want a slightly randomized path and an intersectionpoint with a progress meter to

Re: [NTG-context] new beta

2011-10-03 Thread Thomas A. Schmitz
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]

Re: [NTG-context] new beta

2011-10-02 Thread Thomas A. Schmitz
On 10/01/2011 11:16 AM, Hans Hagen wrote: Hi, I uploaded a new beta. Apart from some fixes the following has been added/changed. Some are side effects of discussions at the context meeting. However, the biggest new thing is adapted cross document referencing. This was already possible but we

Re: [NTG-context] new beta

2011-10-02 Thread Thomas A. Schmitz
On 10/02/2011 10:59 PM, Hans Hagen wrote: On 2-10-2011 18:16, Thomas A. Schmitz wrote: the cross-referencing is excellent new, I will have to play with it very soon! In the meantime, here's something which broke with the October beta (worked a week ago): fixed (just a forgotten low level

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-30 Thread Thomas A. Schmitz
On 09/27/2011 11:40 PM, Ondřej Hošek wrote: sh first-setup.sh --context=beta --fonts=all --modules=all --goodies=all Just did a clean installation using this command; the problem's still there. I should probably mention that I only tried mkiv. Cheers, ~~ Ondra Ondra, Aditya and I just

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-28 Thread Thomas A. Schmitz
On 9/28/11 11:14 AM, Ondřej Hošek wrote: OK, I see where your error comes from: I had experimented with a modular design for the counters, and there is some leftover code of this experiment in the version that I uploaded; sorry about this. (I had created a designated counter submodule that is

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-27 Thread Thomas A. Schmitz
On 09/27/2011 11:15 PM, Ondřej Hošek wrote: Greetings, I'm using ConTeXt Standalone 2011.09.27 20:05. \usemodule[simpleslides][style=Shaded] \starttext \SlideTitle{The first slide} Hello, world. \SlideTitle{The second slide} Greetings, world. \stoptext Thanks for reporting these problems.

Re: [NTG-context] errors with simpleslides (style-specific)

2011-09-27 Thread Thomas A. Schmitz
On 09/27/2011 11:40 PM, Ondřej Hošek wrote: On Tue, Sep 27, 2011 at 23:21, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: How did you obtain the module? sh first-setup.sh --context=beta --fonts=all --modules=all --goodies=all Just did a clean installation using this command

[NTG-context] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz
Hi all, after boring people with xml processing in TeX at the meeting in Bassenge, I'm looking for new challenges and am trying my hand at processing xml in lua. But so far, even the simplest things escape me. Here's an example: \startbuffer[test] a bOne/b cTwo/c /a \stopbuffer

Re: [NTG-context] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz
On 09/26/2011 09:15 PM, Aditya Mahajan wrote: On Mon, 26 Sep 2011, Thomas A. Schmitz wrote: Hi all, after boring people with xml processing in TeX at the meeting in Bassenge, I'm looking for new challenges and am trying my hand at processing xml in lua. But so far, even the simplest things

[NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
Hi all, must be the heat here in Germany - I'm all out of ideas, and I have no example yet. Maybe someone can help: is it possible to define an xml setup that will run arbitrary tex code? Something like this (obviously pseudo-code): in a TeX file MyInputs.tex which will be loaded at

Re: [NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
On 08/22/2011 07:19 PM, Hans Hagen wrote: I know that I should refuse to answer questions without a minimal example ... I'm pretty sure that your students can't use the heat-wave excuse. You're right, of course, for educational purposes... As for my students: they use the weirdest excuses

[NTG-context] footnotes: is this a bug?

2011-07-22 Thread Thomas A. Schmitz
Hi all, this is something that has made me wonder: am I doing something wrong here, or is this a bug with footnote placement? Run the attached example, look at the last 2 pages, 5 and 6. On p. 5, the footnotes run off the page area. On p. 6, why is there so much space between text area and

Re: [NTG-context] TeX capacity exceeded, sorry (was: mkiv: 'extras' option in cite command = error)

2011-07-22 Thread Thomas A. Schmitz
On 07/22/2011 12:22 PM, Christian wrote: How do I apply this patch? I changed (inserted the code above) saved C:\ConTeXt\tex\texmf-context\tex\context\base\bibl-tra.mkiv so that the lines 945–954 now look like this: Did you regenerate the format? Thomas

Re: [NTG-context] footnotes: is this a bug?

2011-07-22 Thread Thomas A. Schmitz
On 07/22/2011 12:53 PM, Hans Hagen wrote: On 22-7-2011 8:03, Thomas A. Schmitz wrote: \setuphead, but this triggers the same problems). So maybe a bug? yes, a side effect of having multiple note instances and not having adapted the pagebuilder yet So, any ETA for a fix yet :-) Thomas

Re: [NTG-context] footnotes: is this a bug?

2011-07-22 Thread Thomas A. Schmitz
On 07/22/2011 05:33 PM, Hans Hagen wrote: So maybe a bug? yes, a side effect of having multiple note instances and not having adapted the pagebuilder yet So, any ETA for a fix yet :-) beta uploaded Hans, thanks, this looks a lot better! Nevertheless, one more question: with the example

Re: [NTG-context] A cases type environment using a right brace?

2011-07-21 Thread Thomas A. Schmitz
On 07/21/2011 05:50 AM, Aditya Mahajan wrote: On Thu, 21 Jul 2011, Alasdair McAndrew wrote: I'm trying to typeset a small column of numbers with a right brace on the right, and nothing on the left. (Sort of like the opposite to the right hand side of a cases environment). I've tried: May I

Re: [NTG-context] A cases type environment using a right brace?

2011-07-21 Thread Thomas A. Schmitz
http://www.ntg.nl/pipermail/ntg-context/2010/049601.html Wolfgang Thank you Wolfgang, the metapost solution looks very good! I'll make this part of my cont-user.tex, I think... Best Thomas ___ If your question

Re: [NTG-context] A cases type environment using a right brace?

2011-07-21 Thread Thomas A. Schmitz
On 07/21/2011 03:43 PM, Wolfgang Schuster wrote: or perhaps predefined metapost graphics for setting background={metapost:leftbrace,metapost:topbrace}, etc (similar to line shading macros. MetaPost is the easier choice because we can add more styles to draw also fancy borders for tables

Re: [NTG-context] vertical alignment in TOC

2011-07-20 Thread Thomas A. Schmitz
On 07/20/2011 12:43 AM, Andreas Harder wrote: \define[3]\ChapterList% {\bTABLE[offset=none,rulethickness=0pt,width=broad] \bTR % \bTD #1 \eTD \bTD #2 \eTD

[NTG-context] vertical alignment in TOC

2011-07-19 Thread Thomas A. Schmitz
Hi all, for an edited volume, entries in the TOC have two lines, title, then author. Is is possible to have the page number aligned to the title, i.e. the first of these lines? Example: \setuphead[chapter] [number=no] \setuplist[chapter] [width=0cm] \starttext

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Thomas A. Schmitz
On 7/17/11 4:51 PM, Peter Schorsch wrote: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext

[NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
Hi all, is this the intended behavior? In mkiv, no line break after an n-dash; in mkii only if it is keyed in as --, not directly as the utf char. I think lines should be broken at n-dashes. All best Thomas (hope the example isn't maimed by my mail agent) \setuplayout[width=5cm]

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
On 07/15/2011 11:53 AM, Hans Hagen wrote: On 15-7-2011 10:33, Thomas A. Schmitz wrote: I think lines should be broken at n-dashes. intended indeed in the sense that this is the way tex works Hmm, that caused me a lot of troubles especially in bibliographical lists where the ndash

Re: [NTG-context] n-dash and line break

2011-07-15 Thread Thomas A. Schmitz
On 07/15/2011 02:38 PM, Wolfgang Schuster wrote: Am 15.07.2011 um 12:59 schrieb Thomas A. Schmitz: \installbreakpoint [compound] [–] [language=de,nleft=2,nright=2,left=,right=-,type=5] \installbreakpoint [compound] [–] [language=de,nleft=1,nright=1,left=,right=-,type=1] Wolfgang

Re: [NTG-context] beta

2011-07-14 Thread Thomas A. Schmitz
On 07/13/2011 10:50 PM, Hans Hagen wrote: Hi, I uploaded a beta: - Project structure related files are now dealt with in lua: it's mostly compatible but somewhat more strict (proper push and pop). In the log file the used structure is summarized. - All writing from lua to tex is now under

Re: [NTG-context] Important 5th ConTeXt meeting news

2011-07-08 Thread Thomas A. Schmitz
On 07/08/2011 08:32 PM, Taco Hoekwater wrote: Hi all, Hi Taco, I'm extremely grateful that you're taking over and making this meeting possible - I was fearing it might have to be called off. Despite being on the context group's board, I hadn't registered myself because I found it

Re: [NTG-context] Important 5th ConTeXt meeting news

2011-07-08 Thread Thomas A. Schmitz
Oops, sorry for the noise, this was supposed to go to Taco, not to the list... On 07/08/2011 09:09 PM, Thomas A. Schmitz wrote: On 07/08/2011 08:32 PM, Taco Hoekwater wrote: Hi all, Hi Taco, I'm extremely grateful that you're taking over and making this meeting possible - I was fearing

Re: [NTG-context] Influencing of horizontal arrangement of list of publications

2011-06-27 Thread Thomas A. Schmitz
On Jun 27, 2011, at 5:38 PM, Jaroslav Hajtmar wrote: Hello ConTeXtist. After some experimentation, I found a satisfactory solution of my problem. Setting margins, distance and alignment can be done by redefining the global macro \bibalignednumber. Default defining of this macro (eg. in

[NTG-context] where to place \index (again)

2011-06-26 Thread Thomas A. Schmitz
Hi all, I'm in the final phase of editing a scholarly book with a pretty big index. What follows is less a question than an observation: no matter where I place the \index command, there can always be unwanted side effects: foo\index{bar}: here, the entry may point to the page following the

Re: [NTG-context] beta

2011-06-09 Thread Thomas A. Schmitz
Hi, here is another problem with the latest beta - this used to work, but maybe Hans has developed a different mechanism for it? \startbuffer[test] aHellothinspace;World/a \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{\xmldocument}{a}{xml:*} \stopxmlsetups

<    1   2   3   4   5   6   7   8   9   10   >