[NTG-context] [supp-fil.mkiv] \openoutputfile braces

2011-05-29 Thread Philipp Gesang
Hi all, the mkiv definition of \openoutputfile adds undesired braces to filenames like “{out}.testfile2” and “{out.testfile3}”. ··8· \newwrite \testme %\openout \testme \jobname.testfile %%% works \openoutputfile \testme

[NTG-context] [register] setup detailed formatting

2011-06-01 Thread Philipp Gesang
Hi all, according to the manual (current draft p. 238f.) the following should work: ···8 \setupinteraction[state=start] \defineregister[myreg][myreg] \setupregister[myreg][textstyle=italic,pagestyle=slanted] %% That’s what it’s about:

[NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
Hi all, I’m struggling with the font used in metapost. The only way to actually change it appears to be enclosing the mp graphic in two statements of \setupbodyfont[…] -- which I need to avoid. In the following example, the background text should be typeset (drawn) as lm sans, whereas the main

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
On 2011-06-09 23:31:49, Wolfgang Schuster wrote: Am 09.06.2011 um 23:20 schrieb Philipp Gesang: snip/ · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment %\start

[NTG-context] [layers] unsolicited “0” after setting background

2011-06-10 Thread Philipp Gesang
Hi again, when setting a background layer combined with an early font setup there appears a “0” (ascii 0x30) right after “\starttext”: · \setupbodyfont[sans] %%% -- comment this out and the “0” vanishes

Re: [NTG-context] [layers] unsolicited “0” after setting background

2011-06-10 Thread Philipp Gesang
On 2011-06-10 12:12:15, Wolfgang Schuster wrote: Am 10.06.2011 um 12:07 schrieb Philipp Gesang: Hi again, when setting a background layer combined with an early font setup there appears a “0” (ascii 0x30) right after “\starttext

Re: [NTG-context] Current Commands/Columns

2011-06-26 Thread Philipp Gesang
Hi, On 2011-06-26 21:06:45, H. Hodges wrote: Is there some sort of guide to which commands are still used in ConTeXt or a latest edition of the main manual? There’s a sort-of reference maintained by Wolfgang: https://bitbucket.org/wolfs/commands in addition

Re: [NTG-context] apos; not working anymore

2011-07-04 Thread Philipp Gesang
On 2011-07-04 20:42:17, Hans van der Meer wrote: On 4 jul 2011, at 20:04, Wolfgang Schuster wrote: Is the entity defined? To create one there are two commands available: - \xmlsetentitiy{…}{…} - \xmltexentitiy{…}{…} This seems curious to me. I searched for xmlsetent

Re: [NTG-context] Changing item indicator

2011-07-06 Thread Philipp Gesang
Hi Kip, On 2011-07-06 00:18:06, Kip Warner wrote: Hey list, I'd like to change the colour of the item indicator (e.g. the roman numeral or number). I am using the following, but ConTeXt seems to ignore it: \definecolor[colour_item][r=.828,g=.313,b=.176] \setupitems

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Philipp Gesang
On 2011-07-06 00:22:39, Kip Warner wrote: Hey list, I'd like to get framed text to break over a page, but I'm not sure how to do this. Right now, I am using: Hi again, there’s also the background mechanism which has been explicitly (see pack-rul.mkiv) designed with page breaks in mind.

[NTG-context] [lang-url.lua] setcharacters()

2011-07-06 Thread Philipp Gesang
Hi Hans, in lang-url.lua, line 106 (introduced 23.6.2011), - chars[s] = value or 1 + characters[s] = value or 1 Regards, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpQy1kI36lfE.pgp Description: PGP

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter head moves up into the page header which it did not prior to the update (cf. mkii’s behaviour): ·

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
On 2011-07-14 11:29:29, Hans Hagen wrote: On 14-7-2011 10:49, Philipp Gesang wrote: Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter head moves up into the page header which it did not prior to the update (cf. mkii’s

Re: [NTG-context] [beta] grid head

2011-07-14 Thread Philipp Gesang
On 2011-07-14 16:37:55, Hans Hagen wrote: On 14-7-2011 4:26, Philipp Gesang wrote: On 2011-07-1411:29:29, Hans Hagen wrote: On 14-7-2011 10:49, Philipp Gesang wrote: Hi Hans, the new beta appears to modify the behaviour of long headings on the grid. In the following example the chapter

Re: [NTG-context] lpeg splitter

2011-08-05 Thread Philipp Gesang
On 2011-08-05 16:44:59, Hans Hagen wrote: On 5-8-2011 4:37, Peter Rolf wrote: Hi, I'm currently trying to adapt my MP specials to the 'new' plugin handler. My actual problem is the splitting of the 'ssh_colors' string with lpeg. Sadly my knowledge about lpeg is nearly zero and it would

[NTG-context] [float] location options of \placefloat

2011-09-17 Thread Philipp Gesang
Hi all, some of the possibilities concerning float placement that are listed on the wiki[1] cause mkiv to fail with an “undefined control sequence”. E.g. - \starttext \placefigure[left][]{A Dutch Cow}{\externalfigure[cow]}

Re: [NTG-context] [float] location options of \placefloat

2011-09-18 Thread Philipp Gesang
On 2011-09-18 09:44, Wolfgang Schuster wrote: syst-aux.mkiv \def\do_quit_prev_comma_list#1]% - {\let\do_process_comma_item\do_quit_commalist} + {\let\do_process_comma_item\do_quit_comma_list} Wolfgang Thanks a lot, that did it! Have a beatiful Sunday, Philipp -- () ascii ribbon

Re: [NTG-context] slides proceedings from ConTeXt Meeting

2011-09-28 Thread Philipp Gesang
On 2011-09-28 00:53, Mojca Miklavec wrote: Hello everyone, in particular those who missed all the fun at the ConTeXt Meeting in Belgium. The slides from conference have been uploaded to the web page: http://meeting.contextgarden.net/2011/programme.shtml and most of talks will also be

[NTG-context] location of mtx-scripts

2011-09-30 Thread Philipp Gesang
Hi Hans, I’d like to ask if there is any update on this: On 2011-09-04 22:31, Hans Hagen wrote: On 4-9-2011 19:46, Mojca Miklavec wrote: mtxrun would currently find it under scripts/context/lua/third/rst because of LUAINPUTS = .;$TEXINPUTS;$TEXMF/scripts/context/lua//, but Hans

Re: [NTG-context] location of mtx-scripts

2011-10-02 Thread Philipp Gesang
On 2011-10-02 00:19, Karl Berry wrote: Id like to ask if there is any update on this: The same issue has now arisen with context-simpleslides (hi Aditya and Thomas), which now has: scripts/context/lua/third/simpleslides/mtx-simpleslides.lua The t- prefix doesn't make a difference

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
Hi Pablo, On 2011-10-02 12:58, Pablo Rodríguez wrote: Hi there, I'm a ConTeXt newbie that I have the following options and a command for URLs in the document preamble (what comes before \starttext [I don't know if it is named so in ConTeXt]):

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
On 2011-10-02 17:40, Pablo Rodríguez wrote: Hi Philipp, thanks for your reply. I'm afraid it doesn't work. No matter which method I use. (Of course, I copied and pasted your sample code, which doesn't work for me.) On 10/02/2011 01:34 PM, Philipp Gesang wrote: \definefontfeature

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
On 2011-10-02 19:53, Pablo Rodríguez wrote: On 10/02/2011 06:40 PM, Philipp Gesang wrote: Well, in my previous example, rather use: \definefontfeature[url][onum=no,smcp=yes] and come back with a complete example if it doesn’t help. Philipp, I'm afraid it doesn't work. Sample file

Re: [NTG-context] location of mtx-scripts

2011-10-03 Thread Philipp Gesang
On 2011-10-03 10:33, Hans Hagen wrote: On 30-9-2011 11:08, Philipp Gesang wrote: Sounds ok to me but we might think of a way to avoid clashes with names, like mtx-t-rst.lua and we can adapt the lookup to try to resolve in such away that the t- is not too much in the way. This doesn’t work

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
Good evening, Jannis! On 2011-11-01 17:16, Jan Heinen wrote: Today I wrote the function ConvertToConteXt which converts special ConTeXt-characters. You can see it below. The data necessary for converting HTML entities is already in Context, have a look at “char-ent.lua” if you are interested.

Re: [NTG-context] ConvertToConteXt 0.2 - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
On 2011-11-01 20:16, Jan Heinen wrote: @all: of course not every Character, i am converting, is a ConTeXt-special-character. Though I don't know all important characters I took all I could imagine. Shurly I converted too much however it is no problem: Which character must not be converted?

[NTG-context] width (height?) or 90° rotated tabulate

2011-11-02 Thread Philipp Gesang
Good evening all, the following example demonstrates my problem: ··8· \showframe \newdimen\tabcolsize \tabcolsize=.25\vsize \def\knuth{\input knuth\relax} \startbuffer[sometable]

Re: [NTG-context] width (height?) of 90° rotated tabulate

2011-11-03 Thread Philipp Gesang
On 2011-11-03 01:15, Philipp Gesang wrote: Good evening all, the following example demonstrates my problem: ··8· \showframe \newdimen\tabcolsize \tabcolsize=.25\vsize \def\knuth{\input knuth\relax} \startbuffer[sometable

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.

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

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

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

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

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

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

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

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

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

[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

[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

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

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

  1   2   3   4   5   6   >