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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: [NTG-context] vertical alignment in TOC

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

[NTG-context] vertical alignment in TOC

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

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

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

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

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

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

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

[NTG-context] n-dash and line break

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

Re: [NTG-context] beta

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

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

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

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

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

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

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

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

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

Re: [NTG-context] beta

2011-06-09 Thread Thomas A. Schmitz
On Jun 9, 2011, at 12:56 PM, Hans Hagen wrote: > Its a chicken-egg problem when to expand some of them. I uploaded a beta that > makes a destinction: > > > \xmlsetentity{thinspace-a}{\,} > \xmltexentity{thinspace-b}{\,} Great, xmltexentity does what I need - it's just that the interface has

Re: [NTG-context] beta

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

Re: [NTG-context] xml syntax for \externalfigure

2011-06-04 Thread Thomas A. Schmitz
On Jun 4, 2011, at 12:14 AM, Peter Münster wrote: > \startluacode > function my_externalfigure(file, t) >local args_present >for k, v in pairs(t) do >if v == "" then >t[k] = nil >else >args_present = true >end >end >context.externalf

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 10:50 PM, Hans Hagen wrote: > On 3-6-2011 10:19, Thomas A. Schmitz wrote: >> >> Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. >> But your "fit" gave me an idea: this works: >> >> [height=\xm

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 10:19 PM, Thomas A. Schmitz wrote: > Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. But > your "fit" gave me an idea: this works: > > [height=\xmlattdef{#1}{height}{fit}] > > but only if I have a real dimens

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 9:57 PM, Aditya Mahajan wrote: > (untested) > > \exeternalfigure[...][height=\doifemptyelse{\xmlatt{#1}{height}}{fit}{\xmlatt{#1}{height}}] > > Aditya Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. But your "fit" gave me an idea: this works: [hei

[NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
Hi all, I'm pulling my hair - thought this was easy, but turns out to be more difficult. The \externalfigure command can take a width and/or a height parameter, and context will be happy to take either one into account. I'm trying to translate that into xml syntax. Here's a minimal example that

Re: [NTG-context] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 8:38 PM, Julian Becker wrote: > I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX ver: > beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography item > having an author with a German umlaut "ä" > >From btxdoc, which is part of texlive:

Re: [NTG-context] bug in luatex on osx-ppc

2011-05-24 Thread Thomas A. Schmitz
On May 24, 2011, at 12:01 PM, Otared Kavian wrote: Hi Thomas, Some time ago I had an analogous problem related to a new version of LuaTeX (on Mac OS X 10.6.7, Intel processor). I can't say anything about the error message you get, but what I did was the following: --- I erased the

Re: [NTG-context] [bibliography] publications layout

2011-05-24 Thread Thomas A. Schmitz
On May 24, 2011, at 11:05 AM, Pontus Lurcock wrote: ? I'm using "ams" there and realized that the title tag of @book is not treated that way (so with @book there are caps inside the title without extra {} in the bib-file). This is the case for most bibliography styles: journal articles on

[NTG-context] bug in luatex on osx-ppc

2011-05-24 Thread Thomas A. Schmitz
Hi all, after updating the minimals to the latest beta on osx-ppc, I can't compile any document, I always get this error: context test mtx-context | run 1: luatex --fmt="/Users/tas/context/tex/texmf- cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/ cont-en" --lua="/

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Thomas A. Schmitz
On May 23, 2011, at 11:32 PM, John Haltiwanger wrote: > I hope my question does not come off as too aggressive, but why on earth are > we still using BibTeX? Or, more accurately, when can we _stop_ using BibTeX > and move onto something that has native UTF-8 support and can also integrate > wi

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Thomas A. Schmitz
On May 23, 2011, at 10:45 PM, Stefan Müller wrote: > +1 for Zotero > > I tried Mendeley some time ago. It's standalone but sill quite similar to > Zotero. "Browser-integration" works via a special bookmark. It also has an > embedded pdf-viewer, which is very neat. Reason for changing to Zotere

Re: [NTG-context] [NTG-conte​xt] How to retreive the bibentry number and use it somewhere?

2011-05-09 Thread Thomas A. Schmitz
On May 9, 2011, at 11:47 AM, seasoul wrote: > Hi, I sorted the reference by the squence they appear in the text. I want to > retreive a bibentry number, but use it at other places. > I try to use \onlinecite, this number is the same as \cite[xxx]. Its number > will become smaller if I put it b

Re: [NTG-context] [t-rst] inclusion into Minimals, i. e. installation using `./first-setup.sh --extras='t-rst'`

2011-05-08 Thread Thomas A. Schmitz
On May 8, 2011, at 11:00 PM, Marco wrote: >> Having a GUI installer for the minimals (to make it more >> user-friendly and enable the user to choose what modules >> and fonts to install). > > Just a (maybe stupid) idea: > > What about making the existing windows GUI install and/or > update al

Re: [NTG-context] bibliography basics

2011-05-05 Thread Thomas A. Schmitz
On May 5, 2011, at 2:24 PM, Hagmann Jörg wrote: > Hi Taco, > > Thanks, but my problem is not sorting, it is the appearance of the references > in the list of references. > > When using > "\setuppublications[alternative=num,criterium=text,sorttype=cite]", I get the > sequence "first name-surn

Re: [NTG-context] quotation marks for language latin

2011-05-01 Thread Thomas A. Schmitz
On May 1, 2011, at 4:59 PM, Hans Hagen wrote: > > > > On Sunday 01/05/2011 at 4:09 pm, Thomas A. Schmitz wrote: >> Hi all, Hans, >> >> in lang-def.mkiv (line 623) and and lang-ita.mkii (line 101), we have >> >> \installlanguage % the same as

[NTG-context] quotation marks for language latin

2011-05-01 Thread Thomas A. Schmitz
Hi all, Hans, in lang-def.mkiv (line 623) and and lang-ita.mkii (line 101), we have \installlanguage % the same as italian [\s!la] [\c!rightquote=\lowerrightsingleninequote, \c!rightquotation=\lowerrightdoubleninequote, ... This can't possibly be right (is there a language which has “quot

Re: [NTG-context] something's wrong with arranging

2011-04-01 Thread Thomas A. Schmitz
Hi Willi, shoot, I had a very vague memory that you had recently posted about this, but didn't find anything; thanks for pointing this out! So Hans is on the job, I guess... I hope you had a nice time in Bremen! All best Thomas On Apr 1, 2011, at 9:25 PM, Willi Egger wrote: > Hi Thomas, > >

[NTG-context] something's wrong with arranging

2011-04-01 Thread Thomas A. Schmitz
Hi all, something doesn't work with arranging pages in the latest beta. Minimal example: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{24}{\input tufte \page} \stoptext Only the first two sheets are properly arranged. Must be pretty recent, it worked about two weeks ago

Re: [NTG-context] rscale (only for integers?)

2011-04-01 Thread Thomas A. Schmitz
On Apr 1, 2011, at 11:00 AM, Steffen Wolfrum wrote: > Ok, but something still is missing The bodyfont doesn't get bigger here: > > > > \starttypescript [times] > \definetypeface [times] [ss] [sans][helvetica] [default] > [rscale=10.2] > \stoptypescript > > > \starttypescript

Re: [NTG-context] Minimal example for Cyrillic

2011-03-31 Thread Thomas A. Schmitz
Your example is very nice, and I appreciate that you took the time to comment all this. But actually, all you need is: \setupbodyfont[gentium,12pt] and then your text. Explanation: gentium is in the minimal distribution, there's a typescript for it (context/tex/texmf/tex/context/third/gentium/

Re: [NTG-context] rscale (only for integers?)

2011-03-31 Thread Thomas A. Schmitz
On Mar 31, 2011, at 5:22 PM, Steffen Wolfrum wrote: > Hi, > > in a typescript I need to set sansserif font proportional bigger than serif > font. > Using "rscale"? > As far as I have seen this only works when integers are used for bodyfont: > > \starttypescript [times] >\definetypeface [t

Re: [NTG-context] \setuppublications problem

2011-03-11 Thread Thomas A. Schmitz
On Mar 10, 2011, at 3:38 PM, Jean Magnan de Bornier wrote: Using the last mkiv from the minimals, \setuppublications seems out of order. If I write: .. \setupbibtex [database=/home/jean/biblio] \setuppublications[alternative=apa] \starttext {\bf Bibliograph

Re: [NTG-context] Numbering again..

2011-03-02 Thread Thomas A. Schmitz
On Mar 2, 2011, at 3:59 PM, Ian Lawrence wrote: The following is untested (since you don't include a working example, just snippets of code) > I have a counter that I'd like to reset > > > \newcounter \nuggetnumber > \def \numberofnuggets{0} > > \definehead [nugget] [section] > \setuphead [nu

Re: [NTG-context] No widows and orphans

2011-03-01 Thread Thomas A. Schmitz
On Mar 1, 2011, at 3:41 PM, Cecil Westerhof wrote: > I do not want to have widows and orphans. Because of this I use: > \clubpenalty=1 > \widowpenalty=1 > > But this has no effect. Still the last two lines of a paragraph are put on > the next page instead of the complete paragraph. I t

Re: [NTG-context] problems with bib

2011-03-01 Thread Thomas A. Schmitz
On Feb 28, 2011, at 10:31 PM, Stefan Müller wrote: >> \usepublications[criterium=text] > > I'm not sure where to put this command and how to adapt other commands. But > \completepublications[criterium=text] works for me. So that's okay with me. Yes, sorry, I was typing too fast. Thomas __

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: > I will try to do this using lua loop. I should learn it. I am learning > so many new things currently that I have not had a chance to learn > Lua. > lua is not all that different from other languages such as python or perl; once you've grasped

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
"Curiouslearn" (if you're older than 13 years, I'd appreciate a real name), it's not easy to see what you want to do. The included pages, like the document where you want to include them, are letter size. If you simply include them, they will take the entire width. The small margin left and big

Re: [NTG-context] filtering xml

2011-02-21 Thread Thomas A. Schmitz
On Feb 21, 2011, at 11:37 PM, Hans Hagen wrote: > On 21-2-2011 8:11, Thomas Schmitz wrote: >> Hi all, >> >> this must be easy, but I don't find the solution. Given an xml structure >> like this: >> >> >> dog >> cat >> mouse >> >> >> which \xmlfilter expression do I need to get the first ele

Re: [NTG-context] some equivalent of latex beamer \item?

2011-02-20 Thread Thomas A. Schmitz
On Feb 21, 2011, at 12:57 AM, Hans Hagen wrote: > Not in the short term, i might give it a try some day but I hate mechanisms > that interfere with others in unpredictable ways as do such multiple page > solutions (references, spacing etc) unless one sticks to predictable > structure and wants

[NTG-context] problem with bibliography

2011-02-16 Thread Thomas A. Schmitz
Hi Hans and all, the current beta has a problem with a bibliography entry I have in my project. I can't quite put my finger to it, but here's a fairly minimal example. It compiles without problems with an older version I happen to have on my disk (2011.01.06 17:08), but not with the current bet

Re: [NTG-context] [PATCH] tex/context/base/strc-ref.mkii: Typo. s/mechsnism/mechanism/

2011-02-04 Thread Thomas A. Schmitz
On Feb 4, 2011, at 3:53 PM, Paul Menzel wrote: > The same typo is present in the ConTeXt user manual [1] in chapter 13 > »Figures«. > > There is also a wording issue in my opinion. > > Normally, users need not concern themselves … > > I would change that to > > Normally, users do

[NTG-context] mkii broken in latest beta?

2011-01-21 Thread Thomas A. Schmitz
Hi all, am I the only one having this problem? On OS X, the latest beta ver: 2011.01.18 19:34 MKII fmt: 2011.1.21 breaks with any and every input, even a simple \starttext hello world \stoptext, with this error: systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ) (\end

Re: [NTG-context] mkiv: verbatim lua eats my quotes

2011-01-10 Thread Thomas A. Schmitz
On Jan 10, 2011, at 2:14 PM, Hans Hagen wrote: > On 9-1-2011 10:16, Thomas A. Schmitz wrote: >> \starttext >> >> \startLUA >> require 'lpeg' >> >> sep = lpeg.P(",") >> \stopLUA >> >> \stoptext > > I'll p

[NTG-context] mkiv: verbatim lua eats my quotes

2011-01-09 Thread Thomas A. Schmitz
Hi all, is this a bug or a feature: in verbatim lua code, my " double and ' single quotation marks are eaten up in mkiv (everything is colorless, but correct in mkii). Example: \starttext \startLUA require 'lpeg' sep = lpeg.P(",") \stopLUA \stoptext Thanks Thomas _

Re: [NTG-context] howto start with presentations?

2011-01-08 Thread Thomas A. Schmitz
On Jan 8, 2011, at 6:08 PM, Wolfgang Schuster wrote: >> I found nice designs like pre-22 where can i find a good >> example for the text structure >> (like table of contents and headlines)? > > Take a look at the simpleslides module. Which, however, doesn't do TOCS. Thomas __

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-08 Thread Thomas A. Schmitz
On Jan 8, 2011, at 3:23 PM, Achim Jander wrote: > Hi Thomas, > yes, of course you are right, but thats not making the problems. Its switched > in while making a "minimal" example. > My problem or maxbe misunderstanding ist what I try to achieve with Sorry, but I still don't have the faintest id

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-08 Thread Thomas A. Schmitz
On Jan 8, 2011, at 1:39 PM, Achim Jander wrote: > Hi Hans, > sorry, i'll try to make it more clear: Excuse me, your example makes my head spin. Just from looking at it, there appears to be a fundamental error: you flush the content of into a context \startchapter \stopchapter environment, AFA

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
On Jan 3, 2011, at 7:09 PM, Daniel Schopper wrote: > \setupfootnotes[ > location=text, > numberconversion=empty, > paragraph=, > ] > \newcount\entrycounter > \entrycounter=0 > \def\appentry#1#2{% > \startline[line:\the\entrycounter]% > \pagereference[page:\the\

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
On Jan 3, 2011, at 3:11 PM, Daniel Schopper wrote: > Dear list, > this seems a really basic question (and probably not even strictly > ConTeXt-focused) - so please accept my apologies… > > I'm trying to construct a macro which first creates two labels in the text > (\start/stopline and \pagere

Re: [NTG-context] \note and \footnote

2010-12-23 Thread Thomas A. Schmitz
On Dec 23, 2010, at 10:34 PM, Jon Crump wrote: > mysterious: I tried that and got the same output; both for your version and > mine Here's mine. Are you using the same version? ConTeXt ver: 2010.12.22 20:18 MKIV fmt: 2010.12.23 int: english/english doublefoot.pdf Description: Adobe PDF

Re: [NTG-context] \note and \footnote

2010-12-23 Thread Thomas A. Schmitz
On Dec 23, 2010, at 10:17 PM, Jon Crump wrote: > My thought, ill-informed perhaps, was simply for clarity: to make it > clear that I'm using the same value in both \note[] and \footnote[]. > In any case, sadly, using what you suggest still gets me the same > result. I get correct output here. Tr

Re: [NTG-context] \note and \footnote

2010-12-23 Thread Thomas A. Schmitz
On Dec 23, 2010, at 9:47 PM, Jon Crump wrote: > Attached is a minimal working example, along with the pdf output I got > running: > context --environment=doublefoot.tex doublefoot.xml Why do you use the intermediate step of creating a macro? I think this does what you want: \startxmlsetups x

Re: [NTG-context] another cld question!

2010-12-23 Thread Thomas A. Schmitz
On Dec 23, 2010, at 5:19 PM, Taco Hoekwater wrote: > On 12/23/2010 05:12 PM, Thomas A. Schmitz wrote: >> >> On Dec 23, 2010, at 4:56 PM, Hans Hagen wrote: > > Compare: > >>> if languages.current() == "en" then > > and > >> if la

Re: [NTG-context] another cld question!

2010-12-23 Thread Thomas A. Schmitz
On Dec 23, 2010, at 4:56 PM, Hans Hagen wrote: > if languages.current() == "en" then Thanks Hans, but it still doesn't work properly: \starttext \startluacode function doit(s) if languages.current == "en" then context("ENGLISH: ") context(s) else context("NOT ENGLISH:") context(

[NTG-context] another cld question!

2010-12-23 Thread Thomas A. Schmitz
Since y'all are playing with cld, here's my little question: how can I write me a language test? Here is what I've been playing with: \mainlanguage[fr] \starttext \startluacode function doit(s) if tex.language == 2 then context("ENGLISH: ") context.currentmainlanguage() context(s) else

Re: [NTG-context] Marginal line numbers

2010-12-17 Thread Thomas A. Schmitz
On Dec 16, 2010, at 10:28 PM, Jon Crump wrote: > Thomas, et alia. > > Thanks so very much! I now have this: > > \startluacode > function filter(s) > if math.mod(s,5) == 0 then >context.color( { "darkred" }, s ) > end > end > \stopluacode > > \define[1]\MyNumber% > {\ctxlua{filter(#1)}\en

Re: [NTG-context] Marginal line numbers

2010-12-17 Thread Thomas A. Schmitz
On Dec 16, 2010, at 10:28 PM, Jon Crump wrote: > Thomas, et alia. > > Thanks so very much! I now have this: > > \startluacode > function filter(s) > if math.mod(s,5) == 0 then > context.color( { "darkred" }, s ) > end > end > \stopluacode > > \define[1]\MyNumber% > {\ctxlua{filter(#1)}

Re: [NTG-context] TEI - conTeXt

2010-12-15 Thread Thomas A. Schmitz
On Dec 11, 2010, at 8:56 PM, Jon Crump wrote: > > I've done as you suggest and downloaded the minimals beta leaving the > TeX-live distribution behind, so I can be on the same page with you > all. Hans's fix has worked. I'm gratified that my intuition about how > @xml:id should work was not wron

Re: [NTG-context] Marginal line numbers

2010-12-15 Thread Thomas A. Schmitz
On Dec 14, 2010, at 9:33 PM, Jon Crump wrote: > All, > > Thanks to Thomas's help, I've been making my way up the learning curve. > > My TEI xml has empty lb elements indicating lines in the original and > corresponding lb elements in the translation. I'd like to be able to > set these numbers i

Re: [NTG-context] for each script a different font

2010-12-07 Thread Thomas A. Schmitz
On Dec 7, 2010, at 2:44 PM, Khaled Hosny wrote: > Then: > > \definefontsynonym [Serif][name:vollkornregular][fallbacks=arrows] > > But I don't know how to use multiple fallbacks. You can define as many fallbacks as you wish. Here's a silly example: \definefontfallback [Foo] [name:texgyreterme

[NTG-context] bib problems

2010-12-07 Thread Thomas A. Schmitz
All, I've begun summarizing the bibliography problems. Could you all see if your particular problem is mentioned here? If I missed something, please send your test files to the list or to me, please use the sample.bib which is now included in the minimals, and please make the test cases as shor

Re: [NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Thomas A. Schmitz
On Dec 2, 2010, at 12:11 PM, Hans Hagen wrote: > there is more granularity now: see v-xml.mkiv Ahh, I see! Yes, that's indeed a very nice way to define colors! Thanks a lot! Thomas ___ If your question is of intere

[NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Thomas A. Schmitz
Hi all, pardon my ignorance, but how can I define custom colors for pretty printing xml in current mkiv? I tried defining a palet, I tried defining the usual colors prettyone etc., but to no avail. And, on a related note: are the files pret-lua.lua pret-mp.lua pret-tex.lua pret-xml.lua no lo

[NTG-context] bib problems

2010-12-01 Thread Thomas A. Schmitz
Hi all, the last days have brought a couple of bug reports on bibliographies in ConTeXt. I will try and create a number of examples so Hans can test and debug. In order to facilitate the creation of minimal examples for all users, we have a couple of suggestions: 1. There is now a dedicated pa

Re: [NTG-context] TEI - conTeXt - pdf

2010-11-25 Thread Thomas A. Schmitz
On Nov 24, 2010, at 11:47 PM, Jon Crump wrote: > All, > > Having abandoned apache's FOP, I've now been trying to get my arms > around XML typesetting with conTeXt with the help of Thomas's > excellent tutorial at http://wiki.contextgarden.net/TEI_xml. With some > difficulty I got the philostratu

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
On Nov 9, 2010, at 4:53 PM, Wolfgang Schuster wrote: > Another solution: > > \setupbodyfont[termes,12pt] > > \setupinterlinespace[line=4.5ex] > > \setupalign[hanging] > > \defineitemgroup[myline][width=1cm,symstyle=bold] > > \define[3]\MyLine > {\startmyline\hsize=7cm > \sym{#2}#3\wordrig

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
On Nov 9, 2010, at 3:47 PM, Wolfgang Schuster wrote: > You have to enable protrusion for natural tables your self with > „align=hanging“. > > Another solution for your problem is to use descriptions: Thanks Wolfgang, I must remember align=hanging (had a similar problem with footnotes recently

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
Oh, I forgot one important detail: I have protrusion enabled, so I need protrusion for the main text (argument #2). This works with the low-level approach, but not with the other ones, I think. On Nov 9, 2010, at 10:12 AM, Thomas A. Schmitz wrote: > Hi all, > > I need a somewha

[NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
Hi all, I need a somewhat unusual vertical setup for typesetting a play. Here is some ASCII art that may show what I want: SP XXX XX15 So: beginning of the line has a fixed space for the abbreviation of the speaker (if there is a speaker designation attached to the line)

Re: [NTG-context] TEI XML

2010-11-07 Thread Thomas A. Schmitz
On Nov 7, 2010, at 10:47 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > We don't have a free default Greek for MkIV? I think Scheherezade from SIL is > default for Arabic (or should be anyway -- I think Khaled made some > improvements) and is fully unicode etc. Does SIL or someone else have a

Re: [NTG-context] TEI XML

2010-11-07 Thread Thomas A. Schmitz
why i need to rewrite some parts of it... All best Thomas On Nov 7, 2010, at 10:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > Hi Thomas, > > On Sun, 07 Nov 2010 13:38:18 -0700, Thomas A. Schmitz > wrote: > >> If you want to see that/how it works, I can sen

Re: [NTG-context] TEI XML

2010-11-07 Thread Thomas A. Schmitz
On Nov 7, 2010, at 9:23 PM, Daniel Grycman wrote: > Hi Thomas, > > the pdf output consists only of the text with no structure in it, like > linenumbering for example. > > Daniel > Oh wait, now I see: you were trying to use the entire file structure on the wiki, the example text and the style

Re: [NTG-context] Problems with bib and \completepublications, \placepublications

2010-11-04 Thread Thomas A. Schmitz
On Nov 4, 2010, at 7:09 PM, Michael Murphy wrote: > \starttext > > \startbodymatter > I can cite single authors, like this \cite[Bailey], and I > can also do more than one citation \cite[Bailey,Bay1]. > > \blank[medium] > > \placepublications > \completepublications > > \stopbodymatter > > \

Re: [NTG-context] \quote

2010-11-04 Thread Thomas A. Schmitz
On Nov 4, 2010, at 12:59 PM, Alan BRASLAU wrote: > On Thursday 04 November 2010 12:47:44 Herbert Voss wrote: >> the documation says, that \quote gives a single quote. >> Why do I get a double one for french? >> >> \starttext >> \language[nl]\quote{Nederlandse}, >> \language[en]\quote{English}, >

Re: [NTG-context] Spanning in \start/stop-table?

2010-11-03 Thread Thomas A. Schmitz
On Nov 3, 2010, at 4:54 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > Hello, > > just to confirm - > > - is it possible to span several columns (rows) in tables created by > \starttable ... \stoptable? > > I cannot find such an example, so I guess it's not possible. > > - I mean someth

Re: [NTG-context] transliteration russian

2010-10-29 Thread Thomas A. Schmitz
On Oct 29, 2010, at 1:18 PM, Steffen Wolfrum wrote: > Hi all, > > I am just about to typeset a book of a russian author written in english, but > with a lot of russian literature listed in the bibliography: > The titles of theses sources are russian but in latin transliteration, like > this ..

Re: [NTG-context] Bibliographies in Mark IV

2010-10-22 Thread Thomas A. Schmitz
On Oct 22, 2010, at 4:47 PM, Hans Hagen wrote: > fixed in next beta ... it probably never worked in mkiv so it went unnoticed > quite long > Excellent - works now! Charles should look into the output; those spurious periods are not quite right, but I don't have time now to look into them. Th

Re: [NTG-context] Bibliographies in Mark IV

2010-10-22 Thread Thomas A. Schmitz
On Oct 22, 2010, at 3:51 PM, Hans Hagen wrote: > we could have a bib file that describes all context related publications but > someone has to volunteer for that > > Hans You mean we have to wait till Idris finishes THE BOOK? Seriously: we need a sample of different publication forms - books,

Re: [NTG-context] Bibliographies in Mark IV

2010-10-22 Thread Thomas A. Schmitz
On Oct 22, 2010, at 11:38 AM, Charles Doherty wrote: > Dear Thomas and Hans, > > Thanks for looking at this and apologies for not sending the bib file. I > attach a .tex file and a .bib file for Hans to test. I make my .bib file in > BibDesk on the Mac (the preview style is abbrev). BibDesk u

Re: [NTG-context] Bibliographies in Mark IV

2010-10-20 Thread Thomas A. Schmitz
On Oct 20, 2010, at 2:11 PM, Charles Doherty wrote: > Dear all, > > The file below produces a bibliography using Mark II but only a title when > using Mark IV. Have things changed or do I need a new approach? I am using > Minimals. > > Thanks, > Charlie > > \usemodule[bib] > \setuppublicatio

Re: [NTG-context] pictures in tabulate

2010-10-17 Thread Thomas A. Schmitz
On Oct 18, 2010, at 12:20 AM, Hans Hagen wrote: > When there is a 'p' in the preamble, lines are forced to lineheights but as I > needed images in tabulate a while ago too, I added: > > \tabulatesplitlinemode 2 > > So maybe that helps. It might become an option some day. > > Hans Excellent,

[NTG-context] pictures in tabulate

2010-10-17 Thread Thomas A. Schmitz
Hi all, I'm looking for a way to use pictures inside a tabulate environment. Unfortunately, newer versions of ConTeXt don't take the picture height into account. The following code gives a somewhat disappointing result both in mkii and mkiv: \starttext \starttabulate[|rw(3em)|p|] \NC YYY \NC

Re: [NTG-context] Updating via TLContrib

2010-10-12 Thread Thomas A. Schmitz
On Oct 12, 2010, at 9:50 PM, Mojca Miklavec wrote: >> For the record: I'm getting the exact same error when trying to install a >> new minimals tree on my linux-ppc box: > > The executable bit was missing. (I think that you should have the > credentials to fix it with "svn propset svn:executabl

Re: [NTG-context] Updating via TLContrib

2010-10-12 Thread Thomas A. Schmitz
On Oct 12, 2010, at 5:41 PM, Taco Hoekwater wrote: > On 10/12/2010 05:22 PM, Daniel Grycman wrote: >> Hi list, >> >> I updated my TeXLive 2010 (MacTeX) installation using the TLContrib >> repository. Now I get the following error message when I use "context >> --version". > > Try mtxrun --gener

[NTG-context] typesetting xml targets

2010-10-08 Thread Thomas A. Schmitz
Hi all, I'm currently experimenting with the TEI schema for critical editions. There's one thing that goes beyond my minimal understanding: for internal references, the guidelines strongly suggest defining them with the xml:id attribute. Let's take the example of a textual witness, which could

Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz
OK, another question, hopefully less stupid: \defineinmargin [MyOuter] [outer] [normal] [distance=1cm] \starttext test \MyOuter{1}test \stoptext gives ! You can't use `\dimexpr' in restricted horizontal mode. but the definition is taken from page-mar.mkiv Thomas _

Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz
On Oct 6, 2010, at 3:57 PM, Wolfgang Schuster wrote: > It’s “D’oh” :) > > Wolfgang \dorecurse{2}{D'oh!} Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz
On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote: > \setuppagenumbering > [alternative=doublesided] > > inner/outer tracking only kicks in when in doublesided mode DUH! (to quote a well-known cartoon character). Of course! I thought my location=doublesided in \setuplayout did this, but I was wron

[NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz
Dear gang, consider the following: \setuppapersize[A6][A6] \setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm, location=doublesided] \starttext This nation, \inouter{1}turning 100 years old, had no {\em Odyssey}, no St.~George slaying the dragon, no Prometheu

Re: [NTG-context] placepublications does not place publications

2010-10-06 Thread Thomas A. Schmitz
On Oct 6, 2010, at 10:21 AM, Hans Hagen wrote: > On 5-10-2010 3:04, Thomas A. Schmitz wrote: >> Hi all, >> >> the following code works in mkii. It used to work in mkiv as well, but >> doesn't anymore with the latest beta (I can't tell at which version it

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