Re: [NTG-context] mkiv: way to signal extra run(s)

2012-09-29 Thread Philipp Gesang
· > Hi, > > just wondering. Is there a official way to signal ConTeXt from a module, > that an extra run is needed? Hi Peter, some time ago I got this answer from Hans: http://www.mail-archive.com/ntg-context@ntg.nl/msg45820.html (Today the table is “job.variables.tobesaved”.) Hth Phili

Re: [NTG-context] [tabulate] colored background

2012-09-28 Thread Philipp Gesang
· > On Fri, 28 Sep 2012, Philipp Gesang wrote: > > >Hi all, > > > >the background mechanism of tabulations is quite simplistic: it > >extends only to the first line of a cell irrespec

[NTG-context] [tabulate] colored background

2012-09-27 Thread Philipp Gesang
Hi all, the background mechanism of tabulations is quite simplistic: it extends only to the first line of a cell irrespective of its length. Example: ··· \starttext \starttabulate[|p|r|] \CM [red] \input knuth \NC was said by T

Re: [NTG-context] need help with macro

2012-09-23 Thread Philipp Gesang
· > 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. \doifsomething{…}{\normalexpanded{\mogrify{…}}}) Thanks a lot, I rewrote

[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 hel

[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 \setupmargindata[

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

2012-09-21 Thread Philipp Gesang
Hi Stefan, · > % Top level head > \definehead [AgendaPart] [section] > \setuphead [AgendaPart] [ownnumber=yes, number=yes, > numbercommand={Part }, style=\bf\tfb] > > \newcounter\AgendaPartNumber > > \define [1] \agendapart { > \doglobal\increment\AgendaPartNumber > \Agend

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

2012-09-19 Thread Philipp Gesang
· > 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 remember whether its title is lowercase, T

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

2012-09-18 Thread Philipp Gesang
· > 2012-09-18 Philipp Gesang : > > > [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 threads. > > > >A

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

2012-09-18 Thread Philipp Gesang
Hi all, · > 2012-09-18 "Schmitz Thomas A." : > > > > 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 external tool for this? Why does ConTeXt > > > not read in th

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

2012-09-18 Thread Philipp Gesang
· > On 17-9-2012 21:29, Philipp Gesang wrote: > >·· >o.>··· > > > >>Hello, > >> > >>1) is there a Ctx command/switch which would generate list of all current > >>ConTeXt commands? E.g. > > > >Hi Lukáš, if you inte

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

2012-09-17 Thread Philipp Gesang
· > 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

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

2012-09-17 Thread Philipp Gesang
· > 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 hashtable with these lines:

[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, · > \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{ } to the problematic entries. you c

Re: [NTG-context] beta

2012-08-10 Thread Philipp Gesang
· > 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 used in an editor: > > >>

Re: [NTG-context] beta

2012-08-09 Thread Philipp Gesang
· > 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: > >> > >>mtxrun > >

[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, · > 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, · > 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: \setupbackend[xmpfile=metadata.xmp] Of course, the XMP n

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

2012-07-18 Thread Philipp Gesang
Hey Marcin, · > 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 > recommendations for people wanting to learn to write a (sim

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

2012-07-16 Thread Philipp Gesang
· > 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 about. Fwiw Taco’s “System Macros” is part of th

Re: [NTG-context] beta

2012-07-09 Thread Philipp Gesang
· > 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: ··· \se

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 \expandaft

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% call

Re: [NTG-context] upload

2012-07-04 Thread Philipp Gesang
· > 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]% +\def\syst_helpers_seventuple_empty_four_yes#1#2#3#4[#5]% Philipp > > Hans > > > ---

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

2012-06-26 Thread Philipp Gesang
· > On 25-6-2012 16:50, Philipp Gesang wrote: > >· > > > >>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) manipula

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

2012-06-25 Thread Philipp Gesang
· > 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 to k

[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 t

Re: [NTG-context] \box0 to Lua

2012-06-19 Thread Philipp Gesang
· > On 19-6-2012 07:53, Philipp Gesang wrote: > >Ahoj! > > > >·· >o.>··· > > > >>On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar > >>wrote: > >> > >>>Ahoj... > >>>To bych ti rekl ... :-) >

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Philipp Gesang
Ahoj! · > On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar 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 Luou na nějakou šířku? Na to budeš potřebovat node.hpack() (luatexref-t.p

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

2012-06-16 Thread Philipp Gesang
Hi Hans! · > 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 have a

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

2012-06-14 Thread Philipp Gesang
Hi Pavel! · > 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 started by this command: > \startcolum

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

2012-06-12 Thread Philipp Gesang
Hi Hans! · > 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 somewhere over here: > >

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

2012-06-11 Thread Philipp Gesang
Hi Aditya! · > 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 \framed not work

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

2012-06-11 Thread Philipp Gesang
Hi Aditya! · > 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 exceptions > &g

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

2012-06-11 Thread Philipp Gesang
Hi Wolfgang! · > > Am 11.06.2012 um 21:06 schrieb Philipp Gesang: > > > Hi Hans! > > > > · > > > >> On 11-6-2012 10:01, Philipp Gesang wrote: > >>> Hi all, > >>> > >>> there appears to be s

Re: [NTG-context] labeltext assignment

2012-06-11 Thread Philipp Gesang
Hi Hans! · > 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] 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] expansion and \processaction

2012-06-07 Thread Philipp Gesang
Hi Wolfgang! · > > 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

[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->, as well as \processactio

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

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! · > 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/bstellen/t-bib

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

2012-06-03 Thread Philipp Gesang
Hi Hans! · > 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 is defin

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

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! · > > > > \definebodyfontenvironment[42.0pt] %% a dozen times > > \starttext > > \switchtobodyfont[42.0pt] %% hundreds of times > > %\switchtobodyfont[42pt] %% <- this works, though > >

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

2012-06-03 Thread Philipp Gesang
Hi Wolfgang! · > 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

[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]

Re: [NTG-context] space between footnotes

2012-06-02 Thread Philipp Gesang
Hi Pablo! · > 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 (serried) footnotes: ···

Re: [NTG-context] space between footnotes

2012-06-02 Thread Philipp Gesang
Hi Pablo! · > 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 put some vertical distance between the n

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

[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 e

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, > >>> > >>>

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 an

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.

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 na

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 > t

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 yesterd

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 withou

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”

Re: [NTG-context] Most portable font name

2012-05-17 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 anyway

[NTG-context] Most portable font name

2012-05-17 Thread Philipp Gesang
Hi all, tl;dr: by which name to refer to a font. I was about to recommend (tomorrow; context: an introductory LaTeX course) *the* way of referring to a font by its name. As we all know, the same font (as in file) usually comes with a variety of possible denominations. “otfinfo -i” on a *file name

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 th

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

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: > > > > > >%

[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
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, ho

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 brandne

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 pu

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) > > \definealt

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 >

[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] 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 num

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 \in{appendi

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 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 l

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 = % > \s

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 'te

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] 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. &

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 humanitie

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 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

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

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.) Phili

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 do

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] > >+

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 p

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% > >> {\groupe

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Philipp Gesang
o UTF conversion. > > I prepared some tables: character conversion and removal of diacritics (see > 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

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 ASC

[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: · \definetextback

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

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

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] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Philipp Gesang
. Hope this helps 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{

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 operate

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: > > > > · > > &

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 funct

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).

[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

<    1   2   3   4   5   6   >