Re: [NTG-context] Adobe Garamond Problems with letter combination "fi"

2013-04-24 Thread Thomas A. Schmitz
On 04/25/2013 08:20 AM, Keith J. Schultz wrote: First I think it better if ligatures should be off as a default. Then you should not be using any form of TeX. ligatures have been part of TeX since its invention (TeXbook, p. 4), and they have been part of fine typesetting since Gutenberg. It's

Re: [NTG-context] Can't make ISBN print in bibliography

2013-04-18 Thread Thomas A. Schmitz
On 04/19/2013 01:03 AM, john Culleton wrote: Any suggestions? Using MKIV currently. Use \setuppublicationlayout[book] (explained in the bib manual). Thomas ___ If your question is of interest to others as well, ple

Re: [NTG-context] the difference between \def and \define

2013-04-16 Thread Thomas A. Schmitz
On 04/16/2013 11:05 AM, Marco Patzer wrote: It doesn't make sense to use named parameters with \define, since you explicitly pass the parameter*number* in brackets. You cannot refer to a number by name. Well, you could theoretically, but I'd strongly object. Just out of curiosity: why would yo

Re: [NTG-context] Too many word-breaks in consecutive lines

2013-04-12 Thread Thomas A. Schmitz
On 04/12/2013 11:13 AM, Wolfgang Schuster wrote: You can add \setupalign[stretch] to your document which increases the space between words, it is only a small value and helps in some cases. I could have sworn there was a way to set the maximum number of consecutive lines which can be hyphena

[NTG-context] prezi presentations

2013-04-09 Thread Thomas A. Schmitz
Hi all, this is a very far shot, but just maybe... I have been looking at prezi (http://prezi.com/). There's lots of aspects there that don't appeal to me, but I find the general idea very nice: a presentation is sort of a big poster, with some background graphics. You define areas on this po

Re: [NTG-context] userpagenumber

2013-03-27 Thread Thomas A. Schmitz
On 03/26/2013 06:07 PM, Wolfgang Schuster wrote: 1. \setuppagenumber is a synonym for \setupuserpagenumber 2. The “number=XX” setting doesn’t work in MkIV and you have to use \setupcounter. Thank you for your words of wisdom, Wolfgang. Wouldn't it make sense to have backwards compatibility?

Re: [NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz
On 03/26/2013 01:54 PM, Marco Patzer wrote: I don't know if that's the recommended way, but I set the page number as follows: \setcounter [userpage] [34] Thank you. Yes that works, but I thought that \setupuserpagenumber was the "proper" way to do those things. Thomas ___

[NTG-context] userpagenumber

2013-03-26 Thread Thomas A. Schmitz
Hi, shouldn't this work? \setupuserpagenumber[number=34] \starttext \dorecurse{20}{\userpagenumber \page} \stoptext I must admit that I'm pretty confused about pagenumbering; there are too many options of \setup...pagenumber and \setup...pagenumbering for my simple brain now, and I often d

Re: [NTG-context] different page background for chapter title page

2013-03-23 Thread Thomas A. Schmitz
On 03/23/2013 01:27 PM, Hans Hagen wrote: Hi, You know the price you have to pay: wikifying .. Hi Hans, thanks a lot - will do after I have played with it and understood at least the main parts of it! All best Thomas ___

[NTG-context] different page background for chapter title page

2013-03-23 Thread Thomas A. Schmitz
Hi all, I'm sure there must be a solution for this, but I haven't been able to find it yet: I want my chapter titles typeset in a sort of frame which will span the entire page, not only the text area, so I guess the easiest way to do that would be a page background. How can I set up a backgro

Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Thomas A. Schmitz
On 03/21/2013 10:14 PM, Alan BRASLAU wrote: Hello, 1. Is there some way to enable interaction with bibliographies? (i.e. hyperlinks from the citations to the list.) 2. Can one create an index of author names, for example, listing the pages of citations? Alan Hi Alan, 1. should work by defau

[NTG-context] switching language introduces spurious space

2013-03-16 Thread Thomas A. Schmitz
Hi Hans, there is a small typo in l. 390 of lang-ini.mkiv which introduces a spurious space when you switch language: --- lang-ini.mkiv 2013-03-16 18:06:05.547177226 +0100 +++ lang-ini.mkiv.new 2013-03-16 18:07:04.443844765 +0100 @@ -387,7 +387,7 @@ \let\dohyphens\relax \unexpanded\

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Thomas A. Schmitz
On 03/16/2013 04:07 PM, Marco Patzer wrote: Hi, I am looking for a way to assign the value of a TeX macro to an MP variable. However, this only works the first time, then the value is not updated any longer. Example: I'm not quite sure if this is what you're looking for, but here is an exampl

Re: [NTG-context] \simplealignedbox

2013-03-08 Thread Thomas A. Schmitz
On 03/07/2013 03:11 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... OK, thanks to Marco and Wolfgang. Best regads, Lukas So did you add it to the wiki? Thomas ___ If your question is of interest to others a

Re: [NTG-context] upload

2013-03-05 Thread Thomas A. Schmitz
On 03/05/2013 07:18 PM, Hans Hagen wrote: Hi, I uploaded a 0.75 matching beta. I also new / updated: http://www.pragma-ade.com/general/manuals/sql-mkiv.pdf http://www.pragma-ade.com/general/manuals/lua-mkiv.pdf http://www.pragma-ade.com/general/manuals/templates-mkiv.pdf http://www.pragma-ade.

Re: [NTG-context] XML Lua engine in ConTeXt

2013-03-05 Thread Thomas A. Schmitz
On 03/05/2013 10:59 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: which XML processing Lua engine is used by ConTeXt? There are more XML processors developed for Lua - LuaXML, LuaExpat etc. Does ConTeXt use one of these or another, or its own - a built-in one? As I'm processing XML tables

Re: [NTG-context] processing xml with lua

2013-03-05 Thread Thomas A. Schmitz
On 03/05/2013 11:11 AM, Hans Hagen wrote: \startluacode local lookuptable = { } function xml.functions.lookup(t) local mytype = xml.text(t, "c") local myvalue = lookuptable[mytype] if not myvalue then myvalue = xml.first(t, "d") lookuptable[mytype] = myvalue

Re: [NTG-context] processing xml with lua

2013-03-05 Thread Thomas A. Schmitz
On 03/05/2013 09:58 AM, Hans Hagen wrote: lookuptable[mytype] = mytype .. " = " .. myvalue inspect(lookuptable) the .. triggers a tostring on myvalue which in turn serializes the xml lookuptable[mytype] = { mytype = myvalue } would keep myvalue as xml node Hans, thanks a lot,

Re: [NTG-context] processing xml with lua

2013-03-05 Thread Thomas A. Schmitz
Hi, may I ask another question about my new favorite topic? No? Anyway: here comes. While processing xml, I would like to store the content of a node in a lua table and retrieve it later. The example is silly, but demonstrates my problem. Is there a way to have ConTeXt process and typeset the

Re: [NTG-context] simpleslides bug?

2013-02-21 Thread Thomas A. Schmitz
On 02/21/2013 09:31 AM, Hans Hagen wrote: On 2/21/2013 2:21 AM, Zhichu Chen wrote: This must be a consequence of the new MP instance code. I can reproduce the error, but I can't isolate it. I think the lines Thanks for the tip. After I've committed the lines with Field[Text][Text] in s

Re: [NTG-context] simpleslides bug?

2013-02-20 Thread Thomas A. Schmitz
Maybe this is my fault. The simpleslides module works just fine these days and I "accidentally" updated the ConTeXt to the latest version: context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /opt/context/tex/texmf-context/t

Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt

2013-01-30 Thread Thomas A. Schmitz
On 01/30/2013 10:12 PM, Aditya Mahajan wrote: On Wed, 30 Jan 2013, Bill Meahan wrote: An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary. Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directl

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Thomas A. Schmitz
On 01/30/2013 07:42 PM, Alain Delmotte wrote: Thomas, It's better not start such a discussion. When I was younger ( :-) ) I was reacting this way, so I understand, but this never helped!!! Regards to both, and, Keith, I'd like to see your programming manual when you have it ready. Alain OK,

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Thomas A. Schmitz
On 01/30/2013 07:03 PM, Keith J. Schultz wrote: I have already seen these. My needs are more sophisiticated and I need programmers manuals and no such users manuals. Thanx regards Keioth. Wow. I think you misspelled your name. And the words "thank you." And you may be too sophistica

[NTG-context] two problems with xml processing

2013-01-11 Thread Thomas A. Schmitz
Hi all, I am encountering two problems with xml processing; minimal example below. My questions/observations: 1. How can I prevent every index term to be sorted under "x" (for \xmlflush)? 2. What is the readon that the \cite command displays this bizarre behavior and the list of references

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread Thomas A. Schmitz
On 01/08/2013 03:10 PM, Alan BRASLAU wrote: Yes, Many simpleslides styles seem to be broken. Thomas seems to be aware of this but has not gotten to looking into it. (t-slidesvisualcounter.tex is part of the simpleslides module: texmf-modules/tex/context/third/simpleslides) Alan I hope there

Re: [NTG-context] Problem with module ancientgreek

2013-01-08 Thread Thomas A. Schmitz
On 01/08/2013 11:17 AM, MANUEL GONZALEZ SUAREZ wrote: I send you a code in which I use the module "ancientgreek" to write the vowels with the sign of long and short. In the case of the short vowel, the sign appears perfectly, but in the case of the long vowel, a rare sign appears. Does anyone kno

Re: [NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Thomas A. Schmitz
On 01/04/2013 02:18 PM, Hans Hagen wrote: and \letterpercent at the tex end, so \letterpercent h Thank you Peter and Hans, letterpercent works! Thomas ___ If your question is of interest to others as well, please

[NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Thomas A. Schmitz
Hi, luatex 0.74.0 has problems with an escaped string which used to work in 0.72. Small example (typeset git information, so may only work in directory under version control): \starttext git revision \ctxlua{context(os.resultof("git --no-pager log --pretty='\%h of \%aD' -1"))} \crlf ConTeXt

Re: [NTG-context] \IncludePicture in SimpleSlides

2013-01-04 Thread Thomas A. Schmitz
On 12/30/2012 03:05 AM, Roland Thiers wrote: Hello, I have tried the simpleslides module. Starting with it is very nice. I have get some trouble with \IncludePicture. Running : ConTeXt ver: 2012.12.28 20:30 MKIV fmt: 2012.12.29 int: english/english \IncludePicture [horizontal] [riviere] {La Du

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Thomas A. Schmitz
On 12/19/2012 07:09 PM, Troy Henderson wrote: Is there a way to for ConTeXt to do basic arithmetic operations? For example, \calc{1+2} and have it return 3 or \calc{1/3.8} and have it return 0.263157894736842 (or rounded) Troy http://wiki.contextgarden.net/Programming_in_LuaTeX#Examples __

Re: [NTG-context] one small remark and one broad question

2012-12-19 Thread Thomas A. Schmitz
On 12/15/2012 05:07 PM, Thomas A. Schmitz wrote: Hi all, small remark first: archive.contextgarden.net has been down for a few days now; I suppose because of the new server? I don't want to be a pest, but the archive still hasn't come back to life yet... All be

Re: [NTG-context] here is ae

2012-12-17 Thread Thomas A. Schmitz
On 12/17/2012 10:15 AM, Hans Hagen wrote: well, that bit of code is *not* going so save the world OK, after playing with it for a while now: 1. Is it possible to have the benefits of components, i.e. compiling just one chapter with crossrefs, pagenumbers etc. taken over from the main file?

Re: [NTG-context] here is ae

2012-12-17 Thread Thomas A. Schmitz
On 12/17/2012 10:15 AM, Hans Hagen wrote: well, that bit of code is *not* going so save the world It's going to save my world... Will wikify as soon as I've played a bit with it, thanks a lot! (2) master xml file (with balanced quotes) that's what I meant - someone forgets to balance thei

Re: [NTG-context] CRITICAL EDITIONS MODULE

2012-12-15 Thread Thomas A. Schmitz
On 12/14/2012 01:33 PM, MANUEL GONZALEZ SUAREZ wrote: Hello I would get the module "CritTeXt" Idris Samawi. I have the documentation but still does not appear on the "ConTeXt wiki". I think it may be interesting to develop critical editions. Thanks to all I'm afraid the module doesn't exist. W

[NTG-context] one small remark and one broad question

2012-12-15 Thread Thomas A. Schmitz
Hi all, small remark first: archive.contextgarden.net has been down for a few days now; I suppose because of the new server? And now for the overly broad question: I'm embarking on what could become a long project. One part of it is typesetting a book (with many graphics). On the one hand, i

Re: [NTG-context] request for a few volunteers to test distribution on new server

2012-12-01 Thread Thomas A. Schmitz
On 11/30/2012 03:22 AM, Mojca Miklavec wrote: Dear ConTeXters, we will point the distribution to the new server later today (for a moment without any significant changes). Before we do that I would like to ask some of you to try out ./first-install.sh --server=distribution.contextgarden.net

Re: [NTG-context] Updating texlive?

2012-11-27 Thread Thomas A. Schmitz
On 11/27/2012 11:06 PM, Hans Hagen wrote: > > you probably need to copy mtxrun.lua to mtxrun in some bin path Yes, that appears to be the culprit - after overwriting the "old" mtxrun with the fresh copy, it seems to work. On 11/27/2012 11:07 PM, Mojca Miklavec wrote:> What exactly do you mean wi

[NTG-context] Updating texlive?

2012-11-27 Thread Thomas A. Schmitz
Hi, is there a canonical way to update texlive so it runs the latest context beta? From time to time, I'd like to be sure that I can run texlive as well. I tried unzipping the latest zip file in texlive/texmf-local, running mtxrun --generate and context --make, but I get texmf-local/scripts/conte

Re: [NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
On 11/26/2012 07:39 PM, Aditya Mahajan wrote: \contextversion Aditya Oh gosh, how embarrassing! Thank you Aditya, I should definitely have found that myself...Thomas ___ If your question is of interest to ot

[NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
Hi all, this is a very easy one, but I couldn't find information: for a document under version control, I would like to typeset the git revision and the context version used in a footer. For git, I have come up with \starttext git revision \ctxlua{context(os.resultof("git --no-pager log --p

Re: [NTG-context] disable expansion for one single component

2012-11-24 Thread Thomas A. Schmitz
On 11/23/2012 11:44 PM, Hans Hagen wrote: You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign. Hmm, thanks Hans. How can I test whether this actually works? My problem, as briefly as possible: in one component, I get an overfull h

Re: [NTG-context] disable expansion for one single component

2012-11-23 Thread Thomas A. Schmitz
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: > Hi all, > > for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then > > \setupalign[hanging,hz] > > in the main environment. Now it turns out that in one of the components

Re: [NTG-context] mtxrun server help broken

2012-11-23 Thread Thomas A. Schmitz
On 11/21/2012 05:14 PM, Thomas A. Schmitz wrote: nope, afraid I get the same error with 2012.11.21 16:11. Thomas OK, it works again with 2012.11.22 18:09. I'm just wondering: the help information is always at the very bottom of the list of commands, so one has to scroll all the way

Re: [NTG-context] mtxrun server help broken

2012-11-21 Thread Thomas A. Schmitz
On 11/21/2012 05:10 PM, Hans Hagen wrote: with current minimals, the help server appears to be broken. Running mtxrun --script server --start --auto the server starts up, but when I click on "help," I get a page with [an error] Already present in 2012.11.08 12:14, too. should work again

[NTG-context] mtxrun server help broken

2012-11-20 Thread Thomas A. Schmitz
Hi all, with current minimals, the help server appears to be broken. Running mtxrun --script server --start --auto the server starts up, but when I click on "help," I get a page with the helpful hint ConTeXt Help Information no definition some error There is no error message on the termin

Re: [NTG-context] Equivalent of Includeonly?

2012-11-20 Thread Thomas A. Schmitz
On 11/19/2012 01:41 PM, Hans Hagen wrote: that there is a lua error ... can you try with: if not component or component == componentname then -- skip else Hans, yes, this appears to work! I now get page numbers et

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Thomas A. Schmitz
On 11/19/2012 10:33 AM, Hans Hagen wrote: this is already in place for a while given that one uses the right structures: http://www.pragma-ade.com/general/magazines/mag-1103.pdf Oops, sorry, I must have missed this! But I can't get it working. After adding \setupreferencing[autofile=yes] \s

Re: [NTG-context] simpleslides placeTitle undefined control sequence

2012-11-18 Thread Thomas A. Schmitz
On 11/17/2012 07:58 PM, Ondřej Hošek wrote: Just to be sure, I re-downloaded ConTeXt Standalone (it's now on 2012.11.16), unpacked the newest simpleslides from modules.contextgarden.net in texmf-modules (overwriting the existing files), and, compiling my minimal example, got the same error. For

Re: [NTG-context] simpleslides placeTitle undefined control sequence

2012-11-17 Thread Thomas A. Schmitz
On 11/17/2012 09:04 AM, Thomas A. Schmitz wrote: I can't reproduce this here; your test file compiles and produces the expected output. Or wait: did you download the modules during the last three days? I may have uploaded a wrong version; can you try again with the latest? T

Re: [NTG-context] simpleslides placeTitle undefined control sequence

2012-11-17 Thread Thomas A. Schmitz
On 11/16/2012 06:18 PM, Ondřej Hošek wrote: Hi, I've encountered another simpleslides problem, which can probably be chalked up to mkiv's "moving target" status. Minimal example: \usemodule[simpleslides] \setupTitle[title=Hi] \starttext \placeTitle \stoptext I can't reproduce this here; your

Re: [NTG-context] disable expansion for one single component

2012-10-02 Thread Thomas A. Schmitz
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Ah, that's it! Thanks Wolfgang, precise and quick, as always! Thomas ___ If your question is of

[NTG-context] disable expansion for one single component

2012-10-02 Thread Thomas A. Schmitz
Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some chara

Re: [NTG-context] \define a command with square-bracket arguments

2012-09-27 Thread Thomas A. Schmitz
On 09/27/2012 05:45 PM, Sietse Brouwer wrote: Hi all, As I understand it, \define[2] is preferred over \def#1#2 because it refuses to overwrite existing commands. \define[2]\mycommand{code code code} defines a command to be invoked with \mycommand{...}{...} Can I use \define, or a related comm

Re: [NTG-context] xml cross-references in lua?

2012-09-11 Thread Thomas A. Schmitz
On 09/11/2012 08:18 PM, Hans Hagen wrote: If the number of bib items is not that large hashing does not save much. (In x-xfdf.mkiv you can see another example). \starttext \startbuffer[demo] Hans Hagen The Meaning of Life Is 42 The Rhetoric of Mathematics 2011 Hans Hagen The New Meaning i

[NTG-context] xml cross-references in lua?

2012-09-11 Thread Thomas A. Schmitz
Hi all, I have a question about xml processing and I think that what I want/need can best be achieved by using lua code, but so far, I'm not really sure how to proceed, so any help from one of the resident lua gurus would be welcome. So: the question. xml allows to provide elements with uniq

Re: [NTG-context] bibliography: multiple categories

2012-09-11 Thread Thomas A. Schmitz
On 09/11/2012 02:20 PM, Andreas Mang wrote: is there a way to split the bibliography (at the end of the document with bibtex support) in several categories, which have different headings (similar to what latexs' multibib or splitbib does)? Cheers, Andreas This is what I would like to have as

Re: [NTG-context] Struggling with ConTeXt

2012-08-05 Thread Thomas A. Schmitz
, I have reorganized the XML page on the wiki a bit. The separation between mkii and mkiv wasn't visible enough, I think. It would now make sense to add a category "manipulating xml in lua code" (or something to that effect) under the mkiv heading and then add the lxml code.

Re: [NTG-context] Critical editions with ConTeXt

2012-07-23 Thread Thomas A. Schmitz
[If this is considered too off-topic for this list, please ignore this mail. My main point has still something to do with ConTeXt, but I guess this discussion shouldn't be continued on the list.] On 07/22/2012 08:07 PM, Pablo Rodríguez wrote: And to explain that a bit: it's not merely "ugly." If

Re: [NTG-context] Bibliography sectioned

2012-07-22 Thread Thomas A. Schmitz
On 07/22/2012 11:17 AM, Robert Blackstone wrote: What can I do to get it, sections with individual Bibliographies, working with mkiv? Thanks in advance for any advice. Robert Blackstone Have you tried replacing \placepublications[criterium=local] with \placepublications[criterium=cite]? Thi

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz
On 07/20/2012 08:01 PM, Wolfgang Schuster wrote: Hans speaks about something like this \startone … \starttwo … \stopone … \stopone where environment ranges overlap. And to explain that a bit: it's not merely "ugly." If all you want is the printed book, you don't care about the ugliness and s

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz
On 07/20/2012 06:45 PM, Hans Hagen wrote: Actually ranges have always been supported (as we needed in the previous century already for referring to passages in texts where students had to comment on): Yes, that's something I forgot in my mail: ask on the list, and chances are that it has alrea

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Thomas A. Schmitz
Just a few comments on this helpful mail: On 07/19/2012 12:57 PM, MANUEL GONZALEZ SUAREZ wrote: I'm not a classical philologist, but the way ConTeXt works is much clearer than ledmac to me (although I have only tested ledmac for a couple of days). I haven't looked at ledmac too closely, and of

Re: [NTG-context] columns in latest beta

2012-07-19 Thread Thomas A. Schmitz
On 07/19/2012 05:03 PM, Wolfgang Schuster wrote: I can’t give a answer without more information but you can try to use the new columns mechanism with “\definemixedcolumns[columns]” at the begin of your document. Yes, this one works OK, thanks Wolfgang! I'll see if I can find a minimal exampl

[NTG-context] columns in latest beta

2012-07-19 Thread Thomas A. Schmitz
I was writing a reply to Dalyoung, but Wolfgang beat me to it. So I'm going to ask a question myself: I'm a bit desperate about columns. I want nothing fancy, just a simple two-columns layout for a few pages. Unfortunately, the two betas I have on my computer both have trouble. 2012-06-30 comp

Re: [NTG-context] Critical editions with ConTeXt

2012-07-18 Thread Thomas A. Schmitz
On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote: Hey. First, thanks to Andreas for his solution to the bibliographies. Second, a question: is there a module to produce critical editions with ConTeXt? In critical editions usually have several groups of footnotes and reference is usually made by

Re: [NTG-context] write my own text in the header

2012-07-17 Thread Thomas A. Schmitz
Hi Dalyoung, On 07/17/2012 06:25 PM, dalyoung wrote: Dear all, I have two questions. 1. I'd like to write various text in the header differently at every page. It is like "SlideTitle{}" used in the simpleslide module. I tried "\setupheadertexts[text]" at the beginning of every page. But only

Re: [NTG-context] ancient greek module and footnote fontsize problem

2012-07-16 Thread Thomas A. Schmitz
On 07/16/2012 03:05 PM, Alan Bowen wrote: The following code fails to produce greek in the footnote. \usemodule[ancientgreek] [font=GreekOldStandard,scale=1.00,altfont=GreekLibertine,scale=0.95] \def\grk{\localgreek} \setupnote[footnote][way=bypage,conversion=numbers] \setupnote[footnote][loc

Re: [NTG-context] linenumbering

2012-07-14 Thread Thomas A. Schmitz
On 07/12/2012 10:34 PM, Wolfgang Schuster wrote: The liner numbering environment has no before/after keys, you should always keep in mind that line numbers are added after the page is finished and the start/stop commands are mark the begin and end of the block where numbers are added. You can

Re: [NTG-context] linenumbering

2012-07-12 Thread Thomas A. Schmitz
On 07/09/2012 10:46 PM, Hans Hagen wrote: btw, you can define linenumberings ... Hi Hans, I finally had time to play a bit with your code, and AFAICS, the settings for "before" and "after" in \definelinenumbering are quietly ignored; at least, I get no blank lines: \definelinenumbering [

Re: [NTG-context] two more bugs in latest

2012-07-10 Thread Thomas A. Schmitz
On 7/10/12 9:57 AM, Hans Hagen wrote: in the process of cleaning up section code i forgot to pass some info around so effectively we had no structure (and that it turn influences all those mechanisms) concerning 'bad news' ... it doesn't surprise me too much as much code is touched ... the good

[NTG-context] two more bugs in latest

2012-07-09 Thread Thomas A. Schmitz
Hi all, sorry for bringing the bad news all the time... There are two more bugs in the latest beta which I just stumbled upon: userpage=bysection does not work, pdf bookmarks are not produced. Example: \setupuserpagenumber [state=start,way=bysection] \setupfootertexts [{\getmarking[sectionnu

Re: [NTG-context] linenumbering

2012-07-09 Thread Thomas A. Schmitz
On 7/9/12 10:46 PM, Hans Hagen wrote: fixed % \startlinenumbering[|continue|settings|name] % \startlinenumbering[name][|continue|settings] btw, you can define linenumberings ... Thanks for the fix, and for the code - I'll play with it later today! All best Thomas ___

[NTG-context] linenumbering

2012-07-09 Thread Thomas A. Schmitz
OK, here's another one. For the code, I must admit: http://www.alyssahiba.com/wp-content/uploads/2012/02/no-idea-what-im-doing-dog.jpg I think it was the Wolfgang who helped me with this a couple of months ago. I want a start/stop pair that will take as an argument a key-value to set the begin

Re: [NTG-context] modes + arranging

2012-07-08 Thread Thomas A. Schmitz
On 07/09/2012 12:17 AM, Hans Hagen wrote: Can you test with c_flags.noarrange = nil in line 671 in mtx-context.lua (some time ago the 'opt' file has been replaced by passing commandline arguments and this slipped through). Hans Hi Hans, yes, when I change this line, ar

[NTG-context] modes + arranging

2012-07-08 Thread Thomas A. Schmitz
Hi all, sorry for the slightly silly example, but it's something I can't figure out, and it has worked before. For processing my documents, I have defined a mode which will arrange pages. Here's the silly example test.tex: \startmode[arranged] \setuppapersize[A6][A4] \setuparranging[2*4] \s

Re: [NTG-context] simpleslides is broken after texlive 2011 upgrading

2012-06-15 Thread Thomas A. Schmitz
On 06/15/2012 01:27 PM, Zhiguang li wrote: Hi Thomas, Thanks for your quick response, here's the version of my ConTeXt, joshua@msh-pc1983:~$ context --version mtx-context | main context file: /usr/local/texlive/2011/texmf-dist/tex/context/base/context.mkiv mtx-context | current version:

Re: [NTG-context] simpleslides is broken after texlive 2011 upgrading

2012-06-15 Thread Thomas A. Schmitz
On 06/15/2012 11:49 AM, Zhiguang li wrote: Hi All, The simpleslides can not work any more after texlive 2011 upgrading, here's the example.tex from slideslides What version of context are your referring to, i.e. what its the output of context --version? texlive 2012 is just around the corner

Re: [NTG-context] beta

2012-06-06 Thread Thomas A. Schmitz
ocate lucian-style.tex /Users/tas/texmf/tex/generic/lucian-style.tex But when I compile my xml with context --environment=lucian-style.tex lucian.xml it isn't read and used. Everything works as expected with the beta of 05.30.2012. All best Thomas -- Prof. Dr. Thomas A. Schmitz Abt

Re: [NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Thomas A. Schmitz
On 05/11/2012 01:28 PM, Peter Schorsch wrote: Hi, I "reactivated" some code that was working a year ago. But now it seems that \expanded has no effect in my case (see below). I also tried it with \normalexpanded and \expandedafter but both had also no effect. My problem seems to be this line of

Re: [NTG-context] mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 06:38 PM, Weber, Matthias wrote: Hmm, TeXShop reports in the console that I am executing luatex --fmt="/Applications/ConTeXtStandalone/tex/texmf-cache/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en" --lua="/Applications/ConTeXtStandalone/tex/texmf-cache/luate

Re: [NTG-context] mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 05:53 PM, Weber, Matthias wrote: Is that too old?: ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2012.5.5 int: english/english Matthias Depends. Mkiv is moving quite fast, so if you really need to use mkiv, this is way too old. Be warned though: things have changed pretty dramati

Re: [NTG-context] \mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 03:37 PM, Weber, Matthias wrote: Dear all, I don't get \mapsto to display using SimpleSlides and MkIV. It shows in "normal" MkIV documents, and works in MKII Example below. Thanks for any advice. Matthias \usemodule[simpleslides] [style=BottomSquares, color=

Re: [NTG-context] "standard" for bibliographies

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 01:35 PM, Thomas A. Schmitz wrote: but I couldn't get my head around it and was just hitting too many limitations And a short follow-up (because Mojca's question made me google this again): one glaring omission to me was the lack of support for cross-referen

Re: [NTG-context] "standard" for bibliographies

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 01:29 PM, Mojca Miklavec wrote: There used to be discussions about some "common standard" for storing bibliographies. I'm testing http://www.mendeley.com/ and would like to export to ConTeXt-friendly database (bibtex export is supported). It seems that for that one would have

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-16 Thread Thomas A. Schmitz
On 04/16/2012 08:48 AM, Aditya Mahajan wrote: You should make an example yourself, I'm still guessing what it is you want to achieve. I'm not sure what a "pdf-version for the internet" is - pdf is not a web-based format? My guess is that that OP wants to display the pdf the same way Acrobat r

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Thomas A. Schmitz
On 04/16/2012 12:17 AM, Jan Heinen wrote: I was lucky to get a fast answer - but with your code I don't get the right result: -- start your code \startmode[booklet] \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \stopmode \starttext First page \startmode[booklet] \null \page \stopmo

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-15 Thread Thomas A. Schmitz
On 04/15/2012 10:01 AM, Jan Heinen wrote: Hello, someone here on a sunday? I want to have a PDF-screen-version of my booklet: The book has 8 pages including the coverpages. The result should look like this: (first and last page NOT doublesided) 1 first page of the pdf (coverpage) 2 3

[NTG-context] citations are broken

2012-04-04 Thread Thomas A. Schmitz
in the current beta. Minimal example: \setuppublications[criterium=all,numbering=no] \setupbibtex[database=sample,sort=author] \starttext \startsection[title=Whatever] \cite[hh2010a] \placepublications[criterium=text] \stopsection \stoptext ends with \12>:77>:abc ...trc_lists_get_referen

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Thomas A. Schmitz
On 04/02/2012 05:15 PM, Wolfgang Schuster wrote: The problem are these two synonyms: \let \getnumber \getcounter % [name] \let \convertednumber \getcounter % [name] There is a \convertedcounter but no \getcounter. @Thomas: You can \rawcounter to print only the num

Re: [NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Thomas A. Schmitz
On 04/02/2012 04:56 PM, Hans Hagen wrote: they were already for a while synonyms ... recently all 'structurecounter' names became 'counter' (the structure was a transition addition in order to have old and new code alongside) in the process we got rid of the 'number' synonyms so, just replace n

[NTG-context] why is \getnumber an undefined control sequence?

2012-04-02 Thread Thomas A. Schmitz
Hi all, what's wrong with this code? \definenumber [testnumber] [way=bytext,prefix=no] \starttext \incrementnumber[testnumber] A \getnumber[testnumber] \stoptext Works with older betas, craps out with latest. Thomas __

Re: [NTG-context] footnotes

2012-04-02 Thread Thomas A. Schmitz
On 4/2/12 12:26 PM, Steffen Fritzsche wrote: Hi Thomas, this is what I use with the latest beta: \setupnotation[footnote][ alternative=, width=2.5em, numbercommand={\setupinterlinespace[line=14pt]\ss\normal}, style={\setupinterlinespace[line=14pt]}] Maybe this comes close to what y

[NTG-context] footnotes

2012-04-01 Thread Thomas A. Schmitz
hi all, would a kind soul please enlighten me about the new footnote commands? I can't find a way to achieve what I was able to achieve in older versions. The following code is on the wiki. It is supposed to give us the footnote marker aligned with the text area, then some blank space, then t

Re: [NTG-context] how can I use framewidth in calculations

2012-03-24 Thread Thomas A. Schmitz
On 03/24/12 08:44, Herbert Voss wrote: \framed[width=7cm]{\externalfigure[cow][width=0.75\expandafter\dimexpr\framedparameter{width}]} works for me Herbert Ooh, expansion, my old nemesis, strikes again! Thanks, that works too - this is one of the many aspects of TeX that I have never really

Re: [NTG-context] how can I use framewidth in calculations

2012-03-24 Thread Thomas A. Schmitz
On 03/24/12 03:27, Rogers, Michael K wrote: Try \framed[width=7cm]{\externalfigure[cow][width=\dimexpr\framedparameter{width}*9/10]} [I don't understand \dimexpr. For instance 7cm = ~198pt, 0.9 * 7 cm = ~179pt, but \dimexpr0.9\framedparameter{width} yields 27.5992pt. It doesn't seem to work

[NTG-context] how can I use framewidth in calculations

2012-03-23 Thread Thomas A. Schmitz
Hi all, maybe I'm overlooking something obvious, but...: when I have a figure, I can calculate its width dependent on the page width, and it will adapt: \starttext \externalfigure[cow][width=0.6\textwidth] \stoptext But is there a method for similar calculations inside a frame? Here's what

Re: [NTG-context] Request to help categorizing commands on wiki

2012-03-21 Thread Thomas A. Schmitz
On 03/22/2012 02:44 AM, Jan Heinen wrote: I hope we get some help of all the people around here that use ConTeXt. With organizing existing information we can improve the documentation of ConTeXt and help beginners and maybe also experts. Woutld be nice if everyone who gets help from this mailin

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Thomas A. Schmitz
On 03/21/2012 10:19 AM, Malte Stien wrote: Hi all, Is there a way to define your own itemize symbols? I would like a solid square, as in symbol 8 (referring to Table 10.1 in the Context Manual, but solid/filled whereas 8 is hollow. I tried to declare my own bullet point, as in: \def\square

Re: [NTG-context] new footnotes

2012-03-19 Thread Thomas A. Schmitz
On 03/19/2012 08:55 AM, Honza Hejzl wrote: Is the work still in progress or am I missing something? In the first place, you're missing an example... Thomas ___ If your question is of interest to others as well, ple

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