[NTG-context] need help with macro

2012-09-23 Thread Philipp Gesang
Hi all, I have a macro “mogrify” that eats three tokens of a string and treats them differently from the rest of the string. I can’t however use it inside more complex macros. Is there a way out or an alternative using macros? (No Lua.) Other formatting macros work fine in the same place. Any

Re: [NTG-context] need help with macro

2012-09-23 Thread Philipp Gesang
···date: 2012-09-23, Sunday···from: Wolfgang Schuster··· It’s a expansion problem, you can either expand the content in the definition of \mogrify (as seen below) or you make the \mogrify command unexpanded and you expand the content of the \wwparameter (i.e.

[NTG-context] [typo-mar.mkiv] \dosetupstrut - \setupstrut

2012-09-22 Thread Philipp Gesang
\dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line 246: - \dosetupstrut[\currentmargindatastrut]% + \setupstrut[\currentmargindatastrut]% Test document: ··· \starttext

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Philipp Gesang
Hi Stefan, ···date: 2012-09-20, Thursday···from: Stefan Rothe··· % Top level head \definehead [AgendaPart] [section] \setuphead [AgendaPart] [ownnumber=yes, number=yes, numbercommand={Part }, style=\bf\tfb] \newcounter\AgendaPartNumber \define [1] \agendapart {

Re: [NTG-context] Proposal: making [[article]] and [[Article]] equivalent on the wiki

2012-09-19 Thread Philipp Gesang
···date: 2012-09-19, Wednesday···from: Sietse Brouwer··· Hello, all, The wiki currently has $wgCapitalLinks = false; meaning that if one wishes to link to e.g. [[Columns]] inside a sentence one must write See the [[Columns|columns]] article. And if one links to another article, one must

Re: [NTG-context] output of token.command_name() [was: Ctx: list of commands]

2012-09-18 Thread Philipp Gesang
···date: 2012-09-18, Tuesday···from: Hans Hagen··· On 17-9-2012 21:29, Philipp Gesang wrote: ···date: 2012-09-17, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. Hi

Re: [NTG-context] Bibliography, unicode strings, @ELECTRONIC, sorting and bibtex

2012-09-18 Thread Philipp Gesang
Hi all, ···date: 2012-09-18, Tuesday···from: Marco Patzer··· 2012-09-18 Schmitz Thomas A. thomas.schm...@uni-bonn.de: What is BibTeX used for in ConTeXt? As far as I can see, it reads the .bib database and generates a .bbl file which then is read in by ConTeXt. Why do we need an

Re: [NTG-context] Bibliography, unicode strings, @ELECTRONIC, sorting and bibtex

2012-09-18 Thread Philipp Gesang
···date: 2012-09-18, Tuesday···from: Marco Patzer··· 2012-09-18 Philipp Gesang ges...@stud.uni-heidelberg.de: [0] http://www.mail-archive.com/ntg-context@ntg.nl/msg62855.html Thanks for the link. Since I usually don't deal much with different bibliography styles I tend to skip those

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Philipp Gesang
···date: 2012-09-17, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. Hi Lukáš, if you interpret “current Context commands” as “macros known to TeX”, you may try dumping the

Re: [NTG-context] [.tuc] oddity when storing a table

2012-09-17 Thread Philipp Gesang
···date: 2012-09-16, Sunday···from: Hans Hagen··· On 16-9-2012 19:17, Philipp Gesang wrote: Bug? no, feature. job variables are just key/values and accessible at the tex end (you store 'works too' in 'bar') Ok, I wasn’t aware of this restriction. if you want arbitrary data to be stores

[NTG-context] [.tuc] oddity when storing a table

2012-09-16 Thread Philipp Gesang
Hi all, I can’t explain the following behavior of the .tuc writer. When passed a nested hash, context fails on the second pass if the array part of the first nesting depth is empty: ··· %% the commented lines work \startluacode

Re: [NTG-context] Wide descriptions protruding into the margin

2012-09-14 Thread Philipp Gesang
Hi Marco, ···date: 2012-09-14, Friday···from: Marco Patzer··· \definedescription [description] [alternative=hanging, width=broad] ... / In the second case the “Thus,” should be placed on the line after the head. How do I achieve that? My current workaround is to append a \hbox{ }

Re: [NTG-context] beta

2012-08-10 Thread Philipp Gesang
···date: 2012-08-10, Friday···from: Romain Diss··· Hi, Le vendredi 10 août 2012, Hans Hagen a écrit : On 10-8-2012 00:31, Mojca Miklavec wrote: On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote: As I wanted to acccess the help on the wiki, I've added a feature to mtxrun that can be

Re: [NTG-context] beta

2012-08-09 Thread Philipp Gesang
···date: 2012-08-10, Friday···from: Hans Hagen··· On 10-8-2012 00:31, Mojca Miklavec wrote: On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote: Hi, There is a new feature in mtxrun: As I wanted to acccess the help on the wiki, I've added a feature to mtxrun that can be used in an editor:

[NTG-context] Adobe Source

2012-08-03 Thread Philipp Gesang
Hi all, here’s the announcement: http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html A typescript and a demo file can be found here: https://gist.github.com/3247112 Use as you like. Regards Philipp pgp8fw5LAzSwZ.pgp Description: PGP signature

Re: [NTG-context] Added licensing information to PDF

2012-08-02 Thread Philipp Gesang
Hey Kip, ···date: 2012-08-02, Thursday···from: Kip Warner··· On Wed, 2012-08-01 at 09:21 +0200, Philipp Gesang wrote: you can include XMP files with one line: \setupbackend[xmpfile=metadata.xmp] Hey Philipp. I just tried this using an incorrect filename to the xmpfile parameter

Re: [NTG-context] Added licensing information to PDF

2012-08-01 Thread Philipp Gesang
Hi Tobias, ···date: 2012-07-31, Tuesday···from: Tobias Mueller··· I am trying to switch from LaTeX to ConTeXt and I'd like to add licensing information to the generated PDF, just like what the hyperxmp package would do for LaTeX. you can include XMP files with one line:

Re: [NTG-context] A Lorem ipsum module?

2012-07-18 Thread Philipp Gesang
Hey Marcin, ···date: 2012-07-18, Wednesday···from: Marcin Borkowski··· If not (as I suspect), what should I do to write such a module? I expect this shouldn't be too difficult, and I could learn a few things (like using key-value syntax in ConTeXt, for instance); are there any

Re: [NTG-context] Returning...need advice on manuals for MKIV

2012-07-17 Thread Philipp Gesang
···date: 2012-07-16, Monday···from: Rogers, Michael K··· 3. And then there is the source, which has some helpful comments in it. The explanation of the system macros, http://tex.aanhet.net/context/syst-gen-doc.pdf, has been helpful in many ways, including guessing at what the source is

Re: [NTG-context] beta

2012-07-09 Thread Philipp Gesang
···date: 2012-07-09, Monday···from: Hans Hagen··· On 9-7-2012 20:59, Meer, H. van der wrote: This new beta crashed here immidiately: how new? keep in mind that the garden needs to sync as well I can confirm this for 2012.07.09 20:28. Minimal example:

Re: [NTG-context] strc-ref.mkvi

2012-07-08 Thread Philipp Gesang
Hi, \from still uses the old color and style handler. Patch appended. Regards Philipp --- /home/laokoon/base/strc-ref.mkvi2012-07-08 16:50:29.892181182 +0200 +++ strc-ref.mkvi 2012-07-08 16:50:26.748864879 +0200 @@ -1498,8 +1498,7 @@ {#content} \def\dofromurlliteral#content%

Re: [NTG-context] pack-rul.mkiv

2012-07-08 Thread Philipp Gesang
There also appears to be something wrong with \framed. Patch proposal attached. Philipp --- /home/laokoon/base/pack-rul.mkiv2012-07-08 17:02:11.528380091 +0200 +++ pack-rul.mkiv 2012-07-08 17:02:07.381735890 +0200 @@ -2620,12 +2620,12 @@ \advance\c_framed_temp\plusone

Re: [NTG-context] upload

2012-07-04 Thread Philipp Gesang
···date: 2012-07-04, Wednesday···from: Hans Hagen··· Hi, I uploaded a beta. There has been the usual amount of renamings going on so there might be problems. syst-aux.mkiv, line 2449: -\def\syst_helpers_seventupleempty_four_yes#1#2#3#4[#5]%

Re: [NTG-context] [callbacks] proper registration, node subtypes

2012-06-26 Thread Philipp Gesang
···date: 2012-06-26, Tuesday···from: Hans Hagen··· On 25-6-2012 16:50, Philipp Gesang wrote: ···date: 2012-06-25, Monday···from: Hans Hagen··· On 25-6-2012 15:39, Philipp Gesang wrote: - Does the difference wrt node subtype matter assuming I only (a) copy glyph nodes and (b

[NTG-context] [callbacks] proper registration, node subtypes

2012-06-25 Thread Philipp Gesang
Hi all, I need a (pre-linebreak) callback to behave the same way with the Context and Plain formats. *The sequence that nodes are traversed in is very important.* Afaict the callback will have to be registered as a “processors”/“before” nodes task. However, the behavior is not identical: 1. If

Re: [NTG-context] [callbacks] proper registration, node subtypes

2012-06-25 Thread Philipp Gesang
···date: 2012-06-25, Monday···from: Hans Hagen··· On 25-6-2012 15:39, Philipp Gesang wrote: - Does the difference wrt node subtype matter assuming I only (a) copy glyph nodes and (b) manipulate their .char field? not that much, it's just a state signal for font processing Good

Re: [NTG-context] \box0 to Lua

2012-06-19 Thread Philipp Gesang
···date: 2012-06-19, Tuesday···from: Hans Hagen··· On 19-6-2012 07:53, Philipp Gesang wrote: Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Philipp Gesang
Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu, ne? Co když ten hbox chceš vysázet

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-16 Thread Philipp Gesang
Hi Hans! ···date: 2012-06-12, Tuesday···from: Hans Hagen··· On 12-6-2012 16:41, Philipp Gesang wrote: I’ll be collecting candidates for the wiki page until saturday and then write up a draft, maybe submit it to the list for review first. I can draw up a preliminary list first so you can

Re: [NTG-context] widow and orphans in columns

2012-06-14 Thread Philipp Gesang
Hi Pavel! ···date: 2012-06-14, Thursday···from: Pavel Dohnal··· Hello, I am trying to avoid widow and orphans in multicolumn document. My settings: \clubpenalty=1 \widowpenalty=1 does not any effect, and last row of the paragraph is on the only row of the second column. Column is is

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-12 Thread Philipp Gesang
Hi Hans! ···date: 2012-06-12, Tuesday···from: Hans Hagen··· On 12-6-2012 16:24, Marco wrote: While you're at it, check \usesubpath as well. I didn't test, but assume it has the same issue. uses the same code As this is quite counterintuitive, I’d like to wikify any known exceptions

[NTG-context] labeltext assignment

2012-06-11 Thread Philipp Gesang
Hi all, there appears to be something special about how the key-value list works with \setuplabeltext: ··· \setuplabeltext [ foo=bar, %% - comma not allowed here? % foo=bar %% - works ] \starttext \labeltext{foo}

Re: [NTG-context] labeltext assignment

2012-06-11 Thread Philipp Gesang
Hi Hans! ···date: 2012-06-11, Monday···from: Hans Hagen··· On 11-6-2012 10:01, Philipp Gesang wrote: Hi all, there appears to be something special about how the key-value list works with \setuplabeltext

[NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-11 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-11, Monday···from: Wolfgang Schuster··· Am 11.06.2012 um 21:06 schrieb Philipp Gesang: Hi Hans! ···date: 2012-06-11, Monday···from: Hans Hagen··· On 11-6-2012 10:01, Philipp Gesang wrote: Hi all, there appears to be something special about

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-11 Thread Philipp Gesang
Hi Aditya! ···date: 2012-06-11, Monday···from: Aditya Mahajan··· On Mon, 11 Jun 2012, Philipp Gesang wrote: Dear others, please contribute if you know about further setups whose parameters behave in a non-standard way. As this is quite counterintuitive, I’d like to wikify any known

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-11 Thread Philipp Gesang
Hi Aditya! ···date: 2012-06-11, Monday···from: Aditya Mahajan··· On Mon, 11 Jun 2012, Aditya Mahajan wrote: On Mon, 11 Jun 2012, Philipp Gesang wrote: Other potential topics that fit better on such a page: * Why is space after \externalfigure[..][..] gobbled? (in the FAQ) * Why does

[NTG-context] expansion and \processaction

2012-06-07 Thread Philipp Gesang
Hi all, my goal is a macro \definestates[foo][...,...] which takes a comma list and creates a monadic macro \foo[n]. \foo[n] should return either the nth item or, if (n list length), a default. I thought the right tools were \processcommalist to generate the mapping n-list item, as well as

Re: [NTG-context] expansion and \processaction

2012-06-07 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-07, Thursday···from: Wolfgang Schuster··· Am 07.06.2012 um 14:05 schrieb Philipp Gesang: Hi all, my goal is a macro \definestates[foo][...,...] which takes a comma list and creates a monadic macro \foo[n]. \foo[n] should return either the nth item

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· Am 02.06.2012 um 20:13 schrieb Philipp Gesang: Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· \definebodyfontenvironment[42.0pt] %% a dozen times \starttext \switchtobodyfont[42.0pt] %% hundreds of times %\switchtobodyfont[42pt]

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Hans! ···date: 2012-06-03, Sunday···from: Hans Hagen··· On 3-6-2012 16:27, Philipp Gesang wrote: That’s odd. But this way it seems to do the right thing as performance improves drastically (as much as 30%). a bodyfont is a collection of related fonts / sizes and when such a set

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! ···date: 2012-06-03, Sunday···from: Wolfgang Schuster··· Am 03.06.2012 um 16:27 schrieb Philipp Gesang: It’s about decrementing font size and interlinespace until the content fits a predefined box. https://bitbucket.org/phg/context-stellen/src/3568dc7470fa/tex/context/third

Re: [NTG-context] space between footnotes

2012-06-02 Thread Philipp Gesang
Hi Pablo! ···date: 2012-06-01, Friday···from: Pablo Rodríguez··· Hi there, I'm trying to add some space between footnotes, such as: \setupnotation[footnote][numbercommand=,inbetween=\hskip.25em] ^^ Assuming instead that you intend to

Re: [NTG-context] space between footnotes

2012-06-02 Thread Philipp Gesang
Hi Pablo! ···date: 2012-06-02, Saturday···from: Pablo Rodríguez··· I have two questions: Is inbetween the right option to add space only between notes? Afaict *\setupnotation* has no “inbetween” key, but “\setupnote” has. In the latter case it is only meaningful for paragraph-style

[NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-02 Thread Philipp Gesang
Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default] \starttext \switchtobodyfont [42pt] \setupbodyfont [42pt]

[NTG-context] format generation fails in luat-fio.lua

2012-05-31 Thread Philipp Gesang
Hi all, I hit this bug during “context --make” after today’s update. Can somebody confirm this? Must have been introduced since 2012.05.24 (according to the git logs, data-exp.lua has indeed been changed May 25). ! LuaTeX

Re: [NTG-context] format generation fails in luat-fio.lua

2012-05-31 Thread Philipp Gesang
On 2012-06-01 00:38, Hans Hagen wrote: On 1-6-2012 00:31, Philipp Gesang wrote: Hi all, I hit this bug during “context --make” after today’s update. Can somebody confirm this? Must have been introduced since 2012.05.24 (according to the git logs, data-exp.lua has indeed been changed May

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Philipp Gesang
On 2012-05-29 11:37, Andy Thomas wrote: On 28.05.2012, at 19:02, Hans Hagen wrote: On 28-5-2012 18:44, Philipp Gesang wrote: Hi Andy, On 2012-05-27 17:57, Andy Thomas wrote: Hello, could someone point out to me, where in the standalone installation the 'margin float placement

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Philipp Gesang
Hi Andy, On 2012-05-27 17:57, Andy Thomas wrote: Hello, could someone point out to me, where in the standalone installation the 'margin float placement' algorithm lives. it depends: Floats: strc-flt.mkvi Side floats: page-sid.mkiv Margin data (as in your example): typo-mar.mkiv and

Re: [NTG-context] updated binaries, please keep testing TL 2012

2012-05-25 Thread Philipp Gesang
On 2012-05-24 13:15, Philipp Gesang wrote: On 2012-05-24 03:31, Mojca Miklavec wrote: In the morning you should also see an update of ConTeXt in TeX Live 2012, matching the latest beta from yesterday. Please post feedback or any issues that you might experience. Hi Mojca, I did

Re: [NTG-context] updated binaries, please keep testing TL 2012

2012-05-24 Thread Philipp Gesang
On 2012-05-24 03:31, Mojca Miklavec wrote: In the morning you should also see an update of ConTeXt in TeX Live 2012, matching the latest beta from yesterday. Please post feedback or any issues that you might experience. Hi Mojca, I did a pretest install with the cli helper; completed without

Re: [NTG-context] updated binaries, please keep testing TL 2012

2012-05-24 Thread Philipp Gesang
On 2012-05-24 16:56, Mojca Miklavec wrote: On Thu, May 24, 2012 at 1:15 PM, Philipp Gesang wrote: On 2012-05-24 03:31, Mojca Miklavec wrote: In the morning you should also see an update of ConTeXt in TeX Live 2012, matching the latest beta from yesterday. Please post feedback or any

Re: [NTG-context] FontForge does not support your encoding (utf8) (was: ... please keep testing TL 2012)

2012-05-24 Thread Philipp Gesang
On 2012-05-24 22:52, Mojca Miklavec wrote: On Thu, May 24, 2012 at 10:15 PM, Philipp Gesang wrote: Totally weird. Let's wait until tomorrow and see then. But the best of all is the following line: FontForge does not support your encoding (utf8), it will pretend the local encoding is latin1

Re: [NTG-context] FontForge does not support your encoding (utf8) (was: ... please keep testing TL 2012)

2012-05-24 Thread Philipp Gesang
On 2012-05-24 23:20, Mojca Miklavec wrote: On Thu, May 24, 2012 at 11:09 PM, Philipp Gesang wrote: It’s harmless and was always there. Have a look at the list in “noprefs.c” to see that my locale en_US.utf8 isn’t there. I would say that the proper name *is* actually UTF-8, not utf8

Re: [NTG-context] full page images on fixed pages

2012-05-19 Thread Philipp Gesang
On 2012-05-19 20:38, Henning Hraban Ramm wrote: Am 2012-05-17 um 13:49 schrieb Philipp Gesang: In my current book project, I need to set images on fixed pages (because only a few pages get printed in color), I assume with “fixed pages” you mean “always on the page with a certain number

Re: [NTG-context] Most portable font name

2012-05-18 Thread Philipp Gesang
On 2012-05-18 00:00, Hans Hagen wrote: On 17-5-2012 16:11, Philipp Gesang wrote: So I judged that my preferred choice might not be as good as I think. I got cold feet and am about to remove the slide where I recommend the PS name (I can do that later anyways). Is there -- apart from

Re: [NTG-context] full page images on fixed pages

2012-05-17 Thread Philipp Gesang
Hi Henning, On 2012-05-16 22:30, Henning Hraban Ramm wrote: In my current book project, I need to set images on fixed pages (because only a few pages get printed in color), I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the

Re: [NTG-context] [mkvi] comment handling bug

2012-05-14 Thread Philipp Gesang
On 2012-05-14 09:35, Hans Hagen wrote: On 13-5-2012 13:12, Philipp Gesang wrote: Hi all, seems the mkvi-style macros have trouble with groups in comments: % macros=mkvi \def\dosomething#content{%%%= fine with “#1

Re: [NTG-context] [mkvi] comment handling bug

2012-05-14 Thread Philipp Gesang
On 2012-05-14 15:22, Philipp Gesang wrote: On 2012-05-14 09:35, Hans Hagen wrote: On 13-5-2012 13:12, Philipp Gesang wrote: Hi all, seems the mkvi-style macros have trouble with groups in comments: % macros

[NTG-context] [mkvi] comment handling bug

2012-05-13 Thread Philipp Gesang
Hi all, seems the mkvi-style macros have trouble with groups in comments: % macros=mkvi \def\dosomething#content{%%% = fine with “#1” % { %%% Open unbalanced brace breaks macros. } \starttext \dosomething {foo} \stoptext

Re: [NTG-context] greek items broken:

2012-05-09 Thread Philipp Gesang
Hi Hans, On 2012-05-09 07:31, Meer, H. van der wrote: Indeed, the greek lowercase appears with \setupbodyfont[postscript]. But not with the brandnew \setupbodyfont[lucidaot], which is quite a nuisance. Can it be remedied with a more generic mkiv solution? if it’s generic enough for your

Re: [NTG-context] greek items broken:

2012-05-09 Thread Philipp Gesang
On 2012-05-09 12:25, Mojca Miklavec wrote: On Wed, May 9, 2012 at 11:54 AM, Philipp Gesang wrote: Hi Hans, On 2012-05-09 07:31, Meer, H. van der wrote: Indeed, the greek lowercase appears with \setupbodyfont[postscript]. But not with the brandnew \setupbodyfont[lucidaot], which is quite

Re: [NTG-context] greek items broken:

2012-05-09 Thread Philipp Gesang
On 2012-05-09 13:50, Mojca Miklavec wrote: On Wed, May 9, 2012 at 12:39 PM, Philipp Gesang wrote: On 2012-05-09 12:25, Mojca Miklavec wrote: If he wants to use Lucida, this would look bad, but the Lucida font does have greek glyphs, however they are in the math range. With unicode I

[NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Philipp Gesang
Dear listmates, I rely on automated uppercasing and lowercasing a lot and I’m very happy with the \words and \WORD macros. But I can’t find a way to properly combine them with the “style” parameter of highlights: it breaks frames and enumerations. Example:

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Philipp Gesang
On 2012-05-08 11:07, Wolfgang Schuster wrote: Am 08.05.2012 um 10:35 schrieb Philipp Gesang: Dear listmates, I rely on automated uppercasing and lowercasing a lot and I’m very happy with the \words and \WORD macros. But I can’t find a way to properly combine them with the “style

Re: [NTG-context] \definehighlight + \words | \WORDS

2012-05-08 Thread Philipp Gesang
On 2012-05-08 13:28, Wolfgang Schuster wrote: It would be also useful to change the following line in font-pre.mkiv to use \setcharacterchasing instead of \WORD (won’t work anymore when you remove \groupedcommand from the \WORD as written in the comments in typo-cap.mkiv)

Re: [NTG-context] Referncing the Bibliography Appendix

2012-04-26 Thread Philipp Gesang
On 2012-04-25 22:26, Kip Warner wrote: Hey list, How do I set a reference to my bibliography. I don't mean a citation, but the complete list. I have a \completepublications already which dumps the list properly, but I cannot link to it. I tried \in{appendix}[References] and

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Philipp Gesang
Hi Robert, On 2012-04-26 12:07, Robert Blackstone wrote: In many books page numbers indicating illustrations are set in italics. Pagenumbers indicating foot- or endnotes often have a suffix n. This I’d like to have in Context, too. Furthermore, when an indexed item is discussed on a number

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
On 2012-04-22 17:16, Marco Pessotto wrote: Dear list, I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the right thing to do to preserve eventual initial whitespace. Anyway, I encounter the following issues: = cut here = % \starttext

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
On 2012-04-22 19:38, Marco Pessotto wrote: Philipp Gesang ges...@stud.uni-heidelberg.de writes: On 2012-04-22 17:16, Marco Pessotto wrote: n I remember I brought this up a while ago: http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html Seems like one can avoid

Re: [NTG-context] typeset rss feed

2012-04-20 Thread Philipp Gesang
Hi Jelle, On 2012-04-20 16:15, Jelle Huisman wrote: Hello all, I'd like to typeset an RSS feed and I was wondering whether I could instruct ConTeXt to fetch the contents of a url like: http://feeds.bbci.co.uk/news/rss.xml Thanks for any pointers, the fetching part is easy as we have

Re: [NTG-context] extracting word count from a *.words file

2012-04-20 Thread Philipp Gesang
Hi again, On 2012-04-20 16:32, Jelle Huisman wrote: Hello all, Here is another question. Consider this test file: \starttext \setupspellchecking[state=start,method=2] \ctxlua{languages.words.threshold=3} \input knuth \stoptext Typesetting this file produces a word list 'test.words'

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Philipp Gesang
Hi Kip, On 2012-04-13 17:34, Kip Warner wrote: On Fri, 2012-04-13 at 06:51 +0200, Philipp Gesang wrote: (1) I'd like it such that each time I use \cite, the full citation and not just (Some One, 1967) appears in a footnote, rather than inline. Have you tried something along the lines

Re: [NTG-context] MLA Bibliography

2012-04-12 Thread Philipp Gesang
On 2012-04-12 14:32, Kip Warner wrote: I am a little surprised because I would think that the people who use ConTeXt tend to be more from the sciences than the humanities, and so I wouldn't have expected APA style as the default. APA is used in the humanities‽

Re: [NTG-context] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist

2012-03-28 Thread Philipp Gesang
On 2012-03-28 14:33, Jan Heinen wrote: Hello, in the wiki I have built links for every command to the archiv of the ConTeXt-Mailinglist: e.G. http://wiki.contextgarden.net/Command/pagereference See at the bottom. It's not perfekt jet - but it helps to get more information to each

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Philipp Gesang
On 2012-03-22 11:38, Mojca Miklavec wrote: On Thu, Mar 22, 2012 at 03:01, Kip Warner wrote: On Tue, 2012-03-20 at 18:22 -0400, Aditya Mahajan wrote: Anything else will leave to undersirable behaviour (or segfaults :) ) As I had said in one of my earlier emails, this is the case for ALL

Re: [NTG-context] Itemize without page break

2012-03-22 Thread Philipp Gesang
On 2012-03-22 12:21, Philipp Gesang wrote: Therefore the difference to Context deserves mention at least somewhere in http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt which said migrators are most likely to consult first. Fyi I just added a couple words to the article: http

Re: [NTG-context] Hooking \stoptext

2012-03-07 Thread Philipp Gesang
On 2012-03-07 15:28, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'd need to to hook \stoptext by Lua - I'd need to write something right before the end of the text. See the simple example: t-Hook.mkiv \startluacode local stoptext_p = context.stoptext

Re: [NTG-context] marking?

2012-02-25 Thread Philipp Gesang
On 2012-02-25 14:55, Thomas A. Schmitz wrote: On 02/24/2012 05:09 PM, Wolfgang Schuster wrote: Marks aren’t the right tool for this because they are meant for text which goes into the header and footer after the page is finished. There is another mechanism which does what you want.

Re: [NTG-context] solution for missing bookmark (minimal example)

2012-02-23 Thread Philipp Gesang
On 2012-02-23 14:45, Steffen Wolfrum wrote: I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Confirmed for version 2012-01-16/Linux x64 with Okular. (Current beta seems fine, though.) Philipp

Re: [NTG-context] columnsets error in 2.08 beta

2012-02-17 Thread Philipp Gesang
On 2012-02-15 09:52, Peter Park Nelson wrote: BTW, is it possible to revert the Context standalone installation to an earlier beta (without going all the way back to the last stable)? Hi Peter, there is a git mirror at http://repo.or.cz/w/context.git/shortlog/refs/heads/origin If you

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
On 2012-02-16 10:17, Hans Hagen wrote: Hi, I uploaded a beta. Apart from some fixes, the biggest change is in dealing with positional info and text backgrounds (first stage cleanup). As I have no clue to what extend users mess around with background graphics themselves, it's hard to

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
On 2012-02-16 22:44, Hans Hagen wrote: On 16-2-2012 19:01, Philipp Gesang wrote: there seems to be a typo in anch-pos.lua, line 100: · -local r = collected[region] +local r = collected[tag

Re: [NTG-context] groupedcommand with color

2012-02-14 Thread Philipp Gesang
On 2012-02-14 13:37, Steffen Wolfrum wrote: Am 14.02.2012 um 13:21 schrieb Hans Hagen: On 14-2-2012 12:55, Steffen Wolfrum wrote: Hi, due to \color[]{} now needs an argument, groupedcommand doesn't work as before: \define\PlainSwitch%

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Philipp Gesang
On 2012-02-10 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. Not needed, as every ASCII

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Philipp Gesang
the attachment); maybe it would be handful to include them into ConTeXt somehow. Best regards, Lukas On Fri, 10 Feb 2012 11:57:32 +0100, Philipp Gesang ges...@stud.uni-heidelberg.de wrote: On 2012-02-10 11:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have many files

[NTG-context] [beta] background behaviour

2012-02-09 Thread Philipp Gesang
Hi, in yesterday’s Context, text backgrounds between floats cover the highlighted text (text is still there, but behind the color layer). In the below example, removing any of the floats has different consequences: ·

Re: [NTG-context] strc-lst.lua [was: Bibliography problem]

2012-02-03 Thread Philipp Gesang
On 2012-02-02 20:22, Michael Green wrote: On 2012-02-02 15:46 -800, Philipp Gesang wrote: On 2012-02-02 15:26, Michael Green wrote: On 2012-02-01 12:48 -800, Philipp Gesang wrote: Thanks for all your help, but I'm afraid it's still not working for me. I did two tests. (1

Re: [NTG-context] strc-lst.lua [was: Bibliography problem]

2012-02-02 Thread Philipp Gesang
On 2012-02-02 15:26, Michael Green wrote: On 2012-02-01 12:48 -800, Philipp Gesang wrote: Thanks for all your help, but I'm afraid it's still not working for me. I did two tests. (1) Using this change alone and (2) using this change together with the one you recommended to strc-lst.mkvi

Re: [NTG-context] strc-lst.mkvi [was: \cite fails with “Extra ...”]

2012-02-01 Thread Philipp Gesang
On 2012-01-30 14:54, Pontus Lurcock wrote: On Mon 30 Jan 2012, Philipp Gesang wrote: Hi all, when updating some module documentation I came across this one: · \startpublication [ k=mt, t=book, a={Bodoni

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Philipp Gesang
On 2012-02-01 20:26, Jaroslav Hajtmar wrote: I want to use Lua to write characters (substrings) from a string, but I get an error message: ! String contains an invalid utf-8 sequence. Can you please someone help? Have you tried the unicode library? The standard string library operates on

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Philipp Gesang
Philipp [1] http://files.luaforge.net/releases/sln/slnunicode/1.1a [2] http://www.luatex.de/2010/02/selene-unicode-bibliothek/?iframe=true One more thanx Jaroslav Hajtmar Dne 1.2.2012 21:05, Philipp Gesang napsal(a): \def\mymacro#1{% \startluacode local utf = unicode.utf8

Re: [NTG-context] strc-lst.lua [was: Bibliography problem]

2012-02-01 Thread Philipp Gesang
On 2012-01-27 12:23, Michael Green wrote: I'm having a problem with bibliographies. I believe the bug is in strc-lst.lua. line 526ff. function lists.location(n) local l = lists.result[n] - return l.references.internal or n +

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

2012-01-31 Thread Philipp Gesang
On 2012-01-30 19:55, 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). Hi

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

2012-01-31 Thread Philipp Gesang
On 2012-01-31 16:33, Wolfgang Schuster wrote: Am 31.01.2012 um 16:15 schrieb Philipp Gesang: PS: Anybody fond of “\@EAEAEAEAEAEA”? The @ is a dying symbol in MkIV because the underscore has replaced it and there are now alternative names for these function, the one you mention can now

[NTG-context] \cite fails with “Extra ...”

2012-01-29 Thread Philipp Gesang
Hi all, when updating some module documentation I came across this one: · \startpublication [ k=mt, t=book, a={Bodoni}, y=1818, n=1, s={Manuale}, ] \author[]{Giambattista}[]{}{Bodoni} \pubyear{1818} \title{Manuale

Re: [NTG-context] LuaTeX Function Arguments Variables Parameters List ConTeXt Lua \startluacode

2012-01-27 Thread Philipp Gesang
Hi Mathieu, On 2012-01-27 19:06, Mathieu Dupont wrote: Hi List, Running the following code, variable a should not be modified by my function, and stay (1,2), but it does get modified and becomes (4,2) like the new variable b I am creating. Tables are references. Using the “local” keyword,

Re: [NTG-context] Page with minimum margins, maximum text width/textheight

2012-01-13 Thread Philipp Gesang
Hi Gerben! On 2012-01-14 00:43, Gerben Wierda wrote: but I forgot how to do something like width=\paperwidth-2cm (not like that obviously, but I have forgotten how to do simple addition and subtraction with dimensions in TeX) See TeXbook p. 118f. So, how do I set a margin of 1cm all around

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

2011-12-07 Thread Philipp Gesang
On 2011-12-07 21:03, Malte Stien wrote: Hello, I am new to all of this. First of all, thank you to everyone involved for such an awesome software package. I have been looking for something like this for a while for technical documentation for software projects and had no idea this even

Re: [NTG-context] idea: Module to automatically extract and insert information from Wikipedia

2011-11-12 Thread Philipp Gesang
Hi Paul, On 2011-11-12 16:19, Paul Menzel wrote: A macro `\infofromwikipedia{Donald Knuth}` would be nice which gets the first sentence of the article and puts an item into the bibliography. There is even an API to access articles [2]. Besides coding that up I see the following problems.

<    1   2   3   4   5   6   >