Re: [NTG-context] Italicized text trailing space too small

2012-01-05 Thread Andreas Harder
On 05.01.2011, at 06:32, Aditya Mahajan wrote: On Wed, 4 Jan 2012, Kip Warner wrote: Text that I {\it have italicized} trails too tight with the first non-italicized word that is typeset next. I'm sure there is some ConTeXt command that adjusts this that I am unfamiliar with.

[NTG-context] \setlayerframed align-option causes shift

2012-01-02 Thread Andreas Harder
Hi Hans, setting the align-option of \setlayerframed causes a small (but visible) right shift. \definelayer[page][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=page] \starttext \showframe \setlayerframed [page] [x=\backspace,y=\topspace]

[NTG-context] Exporting itemize

2012-01-02 Thread Andreas Harder
Hi Hans, another one. \setupbackend[export=yes] \starttext \startitemize \startitem test \stopitem \stopitemize \stoptext Works with the beta but is broken in the experimental branch. Regards Andreas

Re: [NTG-context] Exporting itemize

2012-01-02 Thread Andreas Harder
On 02.01.2012, at 17:32, Hans Hagen wrote: On 2-1-2012 17:29, Andreas Harder wrote: Hi Hans, another one. \setupbackend[export=yes] \starttext \startitemize \startitem test \stopitem \stopitemize \stoptext Works with the beta but is broken in the experimental branch

Re: [NTG-context] beta

2012-01-02 Thread Andreas Harder
On 02.01.2012, at 17:28, Hans Hagen wrote: Hi, I uploaded a new beta ... hopefully not too many renaming side effects • xtables \starttext \startxtable \startxrow \startxcell test \stopxcell \stopxrow \stopxtable \stoptext ! LuaTeX error

Re: [NTG-context] beta

2012-01-02 Thread Andreas Harder
On 02.01.2012, at 19:41, Hans Hagen wrote: On 2-1-2012 18:46, Andreas Harder wrote: ! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=1]. fixed Thanks

Re: [NTG-context] beta

2012-01-02 Thread Andreas Harder
On 02.01.2012, at 19:41, Hans Hagen wrote: On 2-1-2012 18:46, Andreas Harder wrote: ! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=1]. fixed

Re: [NTG-context] beta

2012-01-02 Thread Andreas Harder
On 02.01.2012, at 21:06, Andreas Harder wrote: On 02.01.2012, at 19:41, Hans Hagen wrote: On 2-1-2012 18:46, Andreas Harder wrote: ! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry

[NTG-context] Custom chapter footer

2012-01-01 Thread Andreas Harder
Hi Hans, the following used to work. Has the syntax changed? \definetext[chapter][footer][pagenumber] \setuphead [chapter][footer=chapter] \starttext \chapter{test} \stoptext ! Undefined control sequence. Regards Andreas

[NTG-context] Bug in \date (experimental branch)

2011-12-30 Thread Andreas Harder
Hi Hans, a day is prefixed to every day-number. \starttext \date[d=29,m=12,y=2011] \currentdate \stoptext outputs December day29, 2011 December day30, 2011 Regards Andreas ___ If your question is of

Re: [NTG-context] Hyphenation in Natural Table

2011-12-28 Thread Andreas Harder
Hi, try it with: \starttext \bTABLE[align=normal] \bTR \bTD Topic\eTD \bTD Text\eTD \eTR \bTR \bTD Foo\crlf Bar\eTD \bTD \input tufte \eTD \eTR \bTR \bTD BAR \crlf FOO\eTD \bTD \startitemize \item \input tufte \item \input tufte \stopitemize \eTD \eTR \eTABLE

[NTG-context] Bug or feature?

2011-12-21 Thread Andreas Harder
Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext Regards Andreas ___ If your

Re: [NTG-context] Bug or feature?

2011-12-21 Thread Andreas Harder
On 21.12.2011, at 12:33, Wolfgang Schuster wrote: Am 21.12.2011 um 12:04 schrieb Andreas Harder: Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext It’s

[NTG-context] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder
Hi, is there a way to mimic the tabulate behavior with TABLE (or xtable)? \starttext \def\HtTest#1% {\setbox\scratchbox\vbox{#1}hight=\the\ht\scratchbox\par\vbox{#1}\blank} \HtTest{\strut (Äg) first line\par second line\par (Äg) third line} \setuptabulate[before=,after=,]

Re: [NTG-context] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder
On 21.12.2011, at 14:20, Wolfgang Schuster wrote: Am 21.12.2011 um 13:24 schrieb Andreas Harder: Hi, is there a way to mimic the tabulate behavior with TABLE (or stable)? You need “offset=0pt” and “strut=yes” (not left=\strut). Thanks Wolfgang, but it still not the hight from

Re: [NTG-context] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder
On 21.12.2011, at 14:39, Wolfgang Schuster wrote: Am 21.12.2011 um 14:28 schrieb Andreas Harder: On 21.12.2011, at 14:20, Wolfgang Schuster wrote: Am 21.12.2011 um 13:24 schrieb Andreas Harder: Hi, is there a way to mimic the tabulate behavior with TABLE (or stable)? You

[NTG-context] tabulate error

2011-12-19 Thread Andreas Harder
Hi Hans, a line break in tabulate p-column leads to an error. ! TeX capacity exceeded, sorry [input stack size=1]. \starttext \starttabulate[|p|] % \NC \dorecurse{7}{paragraph, } \NC\NR % OK \NC \dorecurse{8}{paragraph, } \NC\NR % - line break (error) \stoptabulate \stoptext

Re: [NTG-context] tabulate error

2011-12-19 Thread Andreas Harder
On 19.12.2011, at 20:03, Hans Hagen wrote: On 19-12-2011 17:15, Andreas Harder wrote: Hi Hans, a line break in tabulate p-column leads to an error. ! TeX capacity exceeded, sorry [input stack size=1]. \starttext \starttabulate[|p|] % \NC \dorecurse{7}{paragraph, } \NC\NR

[NTG-context] Export itemize

2011-12-18 Thread Andreas Harder
Hi Hans, many thanks fort the itemize fixes! I’ve found another problem with the latest beta. \setupbackend[export=yes] \starttext \startitemize \item test \stopitemize \stoptext Regards Andreas ___

[NTG-context] Layer preset: leftbottom

2011-12-18 Thread Andreas Harder
Hi Hans, it seems that the layer preset leftbottom is broken. \definelayer[page] [width=\paperwidth,height=\paperheight] \setlayer [page] [preset=leftbottom] {\red TEST} % error % \setlayer [page] [preset=rightbottom] {\red TEST} % OK \setupbackgrounds[page][background=page] \starttext

Re: [NTG-context] Layer preset: leftbottom

2011-12-18 Thread Andreas Harder
On 18.12.2011, at 11:14, Wolfgang Schuster wrote: Am 18.12.2011 um 11:00 schrieb Andreas Harder: Hi Hans, it seems that the layer preset leftbottom is broken. I posted this fix a few days ago on the dev list: supp-box.mkiv: -\unexpanded\def\righttopbox_finish +\def

[NTG-context] Itemize option “text”

2011-12-15 Thread Andreas Harder
Hi Hans, itemize with option “text” gives me still an error (beta: 15-Dec-2011 09:27). \startitemize[text] \item alpha \item beta \item gamma \stopitemize Regards Andreas ___ If your question is of

Re: [NTG-context] beta

2011-12-14 Thread Andreas Harder
On 14.12.2011, at 00:10, Hans Hagen wrote: On 13-12-2011 21:07, Otared Kavian wrote: Hi Hans, Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item. \starttext \startitemize[n] \item One \item Two \stopitemize

[NTG-context] \definelayout

2011-12-13 Thread Andreas Harder
Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default] % needed? \definelayout[first] [default][header=2cm] \definelayout[unknown][default]%[reset] % \definelayout[2]

Re: [NTG-context] \definelayout

2011-12-13 Thread Andreas Harder
On 13.12.2011, at 16:44, Wolfgang Schuster wrote: Am 13.12.2011 um 16:26 schrieb Andreas Harder: Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default

[NTG-context] \definestartstop (not functioning before/after keys)

2011-12-12 Thread Andreas Harder
Hi Hans, has something changed with \definestartstop? Setting before and after do not change the output. \definestartstop[test][before=\blank,after=\blank] \starttext before \test{test} after \stoptext Tested with the current beta- and experimental-branch. Regards Andreas

Re: [NTG-context] \definestartstop (not functioning before/after keys)

2011-12-12 Thread Andreas Harder
On 12.12.2011, at 13:00, Wolfgang Schuster wrote: Am 12.12.2011 um 12:55 schrieb Andreas Harder: Hi Hans, has something changed with \definestartstop? Setting before and after do not change the output. \definestartstop[test][before=\blank,after=\blank] \starttext before \test

[NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display: block } table { display: table ; width: 100% } tablerow { display: table-row }

Re: [NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
On 10.12.2011, at 00:28, Hans Hagen wrote: On 9-12-2011 21:58, Andreas Harder wrote: Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display

Re: [NTG-context] Keep struggling with old style numerals!

2011-12-08 Thread Andreas Harder
On 08.12.2011, at 10:56, Verhaag, G.C.H.M. wrote: Hi ConTeXt user's, A few days ago I installed the latest ConTeXt version but now my oldstyle settings don't seem to work any more! I use the following settings in my preamble: \usetypescript[schola] \setupbodyfont[schola,10pt]

[NTG-context] itemize option

2011-12-06 Thread Andreas Harder
Hi all, is there an itemize option, so that the \blank[-line] in the following example is not needed? If not, can we have one? \starttext \showframe \definedescription[Test] \startTest {head} % \blank[-line] \startitemize[joinedup] \item one \item two \stopitemize \stopTest

[NTG-context] Header spoils X(HT)ML export

2011-12-06 Thread Andreas Harder
Hi Hans, please consider the following example. \setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}] \starttext \startbuffer \startparagraph \input tufte \stopparagraph \startparagraph \input ward \stopparagraph \stopbuffer

[NTG-context] Tabulate-export

2011-12-05 Thread Andreas Harder
Hi Hans, it seems that tabulate environments are not exported correctly. Here is an example. \setupbackend[export=yes] \starttext \starttabulate[|l|c|r|] \NC left \NC center \NC right \NC \NR \NC l\NC c \NC r \NC \NR \stoptabulate \stoptext exports to: tabulate /tabulate

[NTG-context] \start- \stopalign (in formulas) is broken

2011-11-25 Thread Andreas Harder
Hi, with the latest beta the following do not work anymore (example from math-ali.mkiv). \starttext \placeformula \startformula \startalign \NC a \EQ b \NR[+] \NC c \EQ d \NR \NC\EQ f \NR[for:demo-a-1] \NC\EQ g \NR[for:demo-a-2][a] \NC\EQ h \NR[for:demo-a-3][b] \NC

[NTG-context] xtable (\getbuffer vs. \processxtablebuffer)

2011-11-24 Thread Andreas Harder
Hi Hans, it seems \processtablebuffer ignores the table settings (at least the stretch-option). \starttext \startbuffer[my:xtable] \startxtable[option=stretch] \startxrow \startxcell alpha \stopxcell \startxcell beta \stopxcell \startxcell gamma \stopxcell

Re: [NTG-context] xtable (\getbuffer vs. \processxtablebuffer)

2011-11-24 Thread Andreas Harder
On 24.11.2011, at 17:19, Hans Hagen wrote: On 24-11-2011 11:24, Andreas Harder wrote: Hi Hans, it seems \processtablebuffer ignores the table settings (at least the stretch-option). \starttext \startbuffer[my:xtable] \startxtable[option=stretch] \startxrow \startxcell

Re: [NTG-context] Placing text in the margin of a header or the top right corner of a page

2011-11-23 Thread Andreas Harder
On 23.11.2011, at 06:11, Christian wrote: I think I see what you mean. It disappeared after I tossed the box 1mm to the right with adjusting the x position: change x=180mm to x=181mm Is that it? Hi, there are already presets and \setlayerframed. See my attached example.

Re: [NTG-context] cross referencing suite

2011-11-21 Thread Andreas Harder
On 22.11.2011, at 00:13, Aditya Mahajan wrote: On Mon, 21 Nov 2011, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Knights, http://www.pragma-ade.com/general/magazines/mag-1103.pdf mentions a 4-file test site, but I can't find it in my context tree ... Can someone point me to it?

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Andreas Harder
On 16.11.2011, at 15:21, Pavneet Arora wrote: Hello, I am trying to do a simple cell background shading in a table using the example at the wiki: http://wiki.contextgarden.net/Table Unfortunately, I get an Undefined control sequence ... error: ! Undefined control sequence.

[NTG-context] Error with export

2011-11-14 Thread Andreas Harder
Hi Hans, todays beta breaks the following example. It worked the day before yesterday. \setupbackend[export=yes] \definehighlight[Title][color=red] \startsetups document:start \Title{\documentvariable{title}} \stopsetups \startdocument [title=Test] some text \stopdocument Thank you in

Re: [NTG-context] defineframed has no effect

2011-11-14 Thread Andreas Harder
On 14.11.2011, at 21:54, Christian wrote: This gives only a framed Hello, no red, frame still on. Did something change for setting up own frames? \defineframed[GreyBg][backgroung=color,backgroundcolor=red,frame=off] You’ve written backgroung instead of background. Greeting Andreas

Re: [NTG-context] defineframed has no effect

2011-11-14 Thread Andreas Harder
On 14.11.2011, at 22:12, Aditya Mahajan wrote: On Mon, 14 Nov 2011, Christian wrote: This gives only a framed Hello, no red, frame still on. Did something change for setting up own frames? \defineframed[GreyBg][backgroung=color,backgroundcolor=red,frame=off] You’ve written

Re: [NTG-context] Metafun manual section titles

2011-11-13 Thread Andreas Harder
On 13.11.2011, at 23:24, Romain Diss wrote: Hello, I'm trying to make some section titles which look like the ones of the metafun manual: title and number underlined, with number in margin. I thougth it would not be too hard but I can't do it. Actually, I'm using a frame with an

[NTG-context] No colons with pxmath fonts

2011-11-11 Thread Andreas Harder
Hi, there is (still) no colon if one uses the pxmath fonts. By the way, \setupTEXpage causes an error (Undefined control sequence). \setupbodyfont[palatino] % no colon % \setupbodyfont[asana] % OK % \setupTEXpage[offset=1ex] % error \startTEXpage % [offset=1ex] % OK $a$:\,$b$\par $a\colon

Re: [NTG-context] Help on centering text inside the standard makeup

2011-11-11 Thread Andreas Harder
On 11.11.2011, at 13:27, Marco Pessotto wrote: Hello! I have some problem centering the text inside the standardmakeup. The resulting alignment is centered, yes, but relative to the text block of the defined layout, and being a doublesided document, the left space is lesser then the

Re: [NTG-context] feature request

2011-11-11 Thread Andreas Harder
On 11.11.2011, at 16:34, Steffen Wolfrum wrote: Hi Hans, quite often I wish we could have a kind of in line comment: Something like ¿this is my comment¡ this. Isn't there already \comment{…}? \starttext test \comment{comment} test \stoptext Andreas

[NTG-context] Split option toggles caption font size

2011-11-11 Thread Andreas Harder
Hello Hans, it seems that with the split option the body font setting from tabulate is also applied to the float caption. \starttext \startbuffer \setuptabulate[bodyfont=small] \starttabulate \NC test \NC test \NC\NR \stoptabulate \stopbuffer \placetable[split]{Should be

[NTG-context] Local footnotes

2011-11-10 Thread Andreas Harder
Hi Hans, here is the minimal example which shows the problem with local footnotes. \starttext \startlocalfootnotes \dorecurse{23}{footnote\footnote{footnote}\par} % error % \dorecurse{22}{footnote\footnote{footnote}\par} % OK \placelocalfootnotes \stoplocalfootnotes \stoptext

Re: [NTG-context] Local footnotes

2011-11-10 Thread Andreas Harder
On 10.11.2011, at 14:27, Wolfgang Schuster wrote: Am 10.11.2011 um 10:47 schrieb Andreas Harder: Hi Hans, here is the minimal example which shows the problem with local footnotes. \starttext \startlocalfootnotes \dorecurse{23}{footnote\footnote{footnote}\par} % error

[NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
Hi all, I think there is a bug with \placefloat and split option. \starttext \showframe[text] \setupxtable [split=yes,option=stretch, width=4cm,height=3cm, align={middle,middle}] \startbuffer \startxtable \dorecurse{15}{% \startxrow \dorecurse{5}{\startxcell cell: #1 x ##1

Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
On 09.11.2011, at 17:05, Wolfgang Schuster wrote: Am 09.11.2011 um 16:55 schrieb Andreas Harder: Hi all, I think there is a bug with \placefloat and split option. \starttext \showframe[text] \setupxtable [split=yes,option=stretch, width=4cm,height=3cm, align={middle,middle

Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
On 09.11.2011, at 21:09, Hans Hagen wrote: On 9-11-2011 16:55, Andreas Harder wrote: Hi all, I think there is a bug with \placefloat and split option. fixed but it needs testing (the float code has been cleaned up a bit and as a side effect grouping is slightly different) Thank you

Re: [NTG-context] beta

2011-11-08 Thread Andreas Harder
On 08.11.2011, at 15:28, Hans Hagen wrote: […] I might have introduced some issues there. Hi Hans! \setupbackend[export=yes] \setupcaptions[number=no] \starttext \startplacefigure[title={Some Caption},location=right] % OK with here \externalfigure[dummy] \stopplacefigure \stoptext

Re: [NTG-context] beta

2011-11-08 Thread Andreas Harder
On 08.11.2011, at 18:31, Hans Hagen wrote: On 8-11-2011 16:58, Andreas Harder wrote: The floatcaption- and floattext-tags are missing. added in next beta (same for empty floats) Thanks, it works! Andreas

Re: [NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-11-07 Thread Andreas Harder
On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15

Re: [NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-11-07 Thread Andreas Harder
On 07.11.2011, at 12:03, Wolfgang Schuster wrote: Am 07.11.2011 um 11:53 schrieb Andreas Harder: On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry

Re: [NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-11-07 Thread Andreas Harder
On 07.11.2011, at 13:02, Wolfgang Schuster wrote: Am 07.11.2011 um 12:45 schrieb Andreas Harder: When you don’t need subformulas change this in strc-mat.mkiv: I don’t, thanks. Instead of patching strc-mat.mkiv you can create a file with the name cont-loc.mkiv in your working

[NTG-context] Export \thinspace

2011-11-07 Thread Andreas Harder
Hi Hans! If one uses the HZ-algorithm the behavior of (the exported) \thinspace depends on the line break. \definefontfeature[default][default][expansion=quality] \setupalign[hz] \setupbackend[export=yes,css=yes,xhtml=yes] \starttext \startbuffer narrow\,nonbreaking\,space \stopbuffer

[NTG-context] Italic correction (line starts with comma)

2011-11-07 Thread Andreas Harder
Hi Hans, as a side effect of italic correction some lines start with an comma. \setuppapersize[A5] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[always] \starttext \showframe[text] \startbuffer {\it italic}, normal, {\em emphasized}, normal \stopbuffer

Re: [NTG-context] page number placement in multiline TOC entry

2011-11-07 Thread Andreas Harder
On 07.11.2011, at 15:51, Michael Guravage wrote: Greetings, At the recent ConTeXt workshop someone mentioned that they had achieved placing a pagenumber to the right of the first line of a multiline table of contents entry. Can anyone describe how to acomplish this? Hi, something like

[NTG-context] Italic correction spoils XHTML-output

2011-10-31 Thread Andreas Harder
Hi all, I spotted an curious side effect while using italic correction together with the export feature. The XHTML-export has unwanted spaces while the PDF is fine. \startbuffer[css] highlight[detail=emph] { font-style: italic } \stopbuffer \savebuffer[css][test.css] % - do not work!

Re: [NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-10-30 Thread Andreas Harder
On 30.10.2011, at 09:45, Wolfgang Schuster wrote: Am 29.10.2011 um 23:57 schrieb Andreas Harder: On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15

Re: [NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-10-29 Thread Andreas Harder
On 29.10.2011, at 23:47, Paul Menzel wrote: Dear ConTeXt folks, I am sorry for another reference related question. Using ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english That's also true for yesterdays beta. \starttext \placeformula[eq:1]

[NTG-context] Wrong reference number

2011-10-26 Thread Andreas Harder
Hi all, I'm not sure if this was introduced with the latest beta, but I just realized that the referencing numbers not right. \starttext \chapter{First} \in{Figure}[fig:a] % should be 1.1 \placefigure[here][fig:a]{}{} \in{Figure}[fig:b] % should be 1.2

Re: [NTG-context] Links in exported XHTML file

2011-10-25 Thread Andreas Harder
On 25.10.2011, at 00:20, Hans Hagen wrote: On 24-10-2011 23:22, Andreas Harder wrote: On 24.10.2011, at 15:01, Hans Hagen wrote: On 21-10-2011 11:27, Andreas Harder wrote: \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext

[NTG-context] Links in exported XHTML file

2011-10-21 Thread Andreas Harder
Hi all, how do I manage to get proper links in the exported XHTML document. It works well with intern references. \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext \useURL[google][http://www.google.com/][][Google] \from[google]

[NTG-context] Error with anglebetween(…)

2011-10-21 Thread Andreas Harder
Hello Hans, has something changed with the anglebetween definition in MetaPost? I’m sure this worked a couple of betas ago. \startMPpage path p,q ; p := origin -- (50,0) ; q := origin -- (50,50); drawarrow anglebetween(p,q,somelabel) ; \stopMPpage ! Missing `)' has been inserted.

[NTG-context] Bug in latest beta

2011-10-20 Thread Andreas Harder
Hi Hans, something is wrong with the \mathprime definition in math-pln.mkiv. The compilation of \starttext $f'(x)$ \stoptext Stopps with: \dodomathprime -\normalprime \futurelet \nexttoken \dododomathprime Regards Andreas

[NTG-context] xmldir (mtxrun still unpatched?)

2011-10-20 Thread Andreas Harder
Hi Hans, with the latest beta I still have to patch mtxrun to make xmldir work … Besides, the root-parameter (--root=some/path) don’t seem to have any impact. As an workaround I’m using \startmode[*first] \executesystemcommand {cd some/path mtxrun --script tools --dirtoxml

[NTG-context] xmldir

2011-10-16 Thread Andreas Harder
Hello, I would like to use some tricks described in xmldir manual (only with MkIV) but mtxrun --script tool --dirtoxml stops with /Users/ah/context-old/tex/texmf-osx-64/bin/mtxrun:3248: bad argument #1 to '(for generator)' (directory metatable expected, got nil) Regards

[NTG-context] Item-referencing broken in latest beta

2011-10-15 Thread Andreas Harder
Hi, here is a test file: \startcomponent test \startitemize[n] \item[itm:1] test \stopitemize In \in{item}[itm:1] \stopcomponent and the relevant log excerpt: references itm:1={ { [error]=unknown inner, [inner]=itm:1, [reference]=itm:1, }, [n]=1, [prefix]=test,

[NTG-context] No \colon with pxmath

2011-10-15 Thread Andreas Harder
Hi, the colon sign disappears if one uses pxmath fonts (latest beta MkIV). \setupbodyfont[palatino] % not OK % \setupbodyfont[asana] % OK \startTEXpage $a:b$\par $a\colon b$ \stopTEXpage Regards Andreas

Re: [NTG-context] bug in latest beta

2011-10-14 Thread Andreas Harder
On 13.10.2011, at 21:46, Hans Hagen wrote: On 13-10-2011 09:37, luigi scarso wrote: Please type another input file name: A new beta ... better check mp code as I've split all mkii/mkiv mp related code (i.e. metafun ii is frozen and metafun iv will be mainstream). I might have messed

[NTG-context] Latest Beta

2011-10-13 Thread Andreas Harder
Hello, in some rare circumstances the enabled italic correction (\setupitaliccorrection[always]) cause the following error: /tex/texmf-context/tex/context/base/typo-itc.lua:99: attempt to index local 'cd' (a nil value) In needed I will try to make a minimal example. I’ve asked it

Re: [NTG-context] Long word out of text area/No proper line wrap with flushleft

2011-09-20 Thread Andreas Harder
On 20.09.2011, at 11:31, Stefan Müller wrote: Hi again, in one of my documents I want the text to be flushedleft and not hyphenated, see the following example. \setupalign[flushleft, nothyphenated] \starttext \showlayout bb bb bb bb bb

Re: [NTG-context] Long word out of text area/No proper line wrap with flushleft

2011-09-20 Thread Andreas Harder
On 20.09.2011, at 11:50, Stefan Müller wrote: Ah, thank you very much! Can you tell me why it's called broad? I don't get the intention behind this key… I’ve no clue. Wolfgang Schuster postet this solution a several times, so I've remembered it. Andreas

Re: [NTG-context] Problem with \automigrateinserts

2011-07-19 Thread Andreas Harder
Am 18.07.2011 um 13:39 schrieb Hans Hagen: On 16-7-2011 1:40, Andreas Harder wrote: Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! experimental hack in next version Thanks a lot! It works. Andreas

Re: [NTG-context] vertical alignment in TOC

2011-07-19 Thread Andreas Harder
Am 19.07.2011 um 20:36 schrieb 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]

[NTG-context] Problem with \automigrateinserts

2011-07-16 Thread Andreas Harder
Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! \starttext \in{Footnote}[foot:a] \par \in{Footnote}[foot:b] \par \in{Footnote}[foot:c] \placefigure[here] [pic:ref:h]{test\footnote[foot:a]{a footnote}}{}

[NTG-context] \environment before vs. after \startproduct

2011-07-16 Thread Andreas Harder
Hi, here is another problem regarding \environments. % \setupbodyfont[palatino] % OK \starttext \setupbodyfont[palatino] % not OK \startformula \binom{n}{0} \stopformula \stoptext To avoid it, I'd have to use something like the following? \environment font-setups \startproduct

Re: [NTG-context] Problem with \automigrateinserts

2011-07-16 Thread Andreas Harder
Am 16.07.2011 um 15:28 schrieb Wolfgang Schuster: Am 16.07.2011 um 13:40 schrieb Andreas Harder: Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! Do the notes appear when you comment \automigrateinserts? Yes

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 13:33 schrieb Hans Hagen: On 15-7-2011 1:00, Andreas Harder wrote: The problematic part was \setupblank[medium]. Would it be possible to make this setup work also before \start[component | prodoct | text]? Well, in that case you need to initialize the bodyfont

Re: [NTG-context] beta

2011-07-15 Thread Andreas Harder
Am 15.07.2011 um 14:28 schrieb Wolfgang Schuster: Am 15.07.2011 um 13:43 schrieb Andreas Harder: If I'm getting you right, this should work? \startbuffer \setupbodyfont[modern] \setupblank[medium] \showframe \stopbuffer \getbuffer % \setupblank[medium] not applied \starttext

[NTG-context] Export problems

2011-07-14 Thread Andreas Harder
Hi, I played a little with the export feature. It's really fun. So far I've two questions/problems. 1. \setupbackend[export=yes,xhtml=yes,css=yes] \starttext before \quotation{test \quote{test}} after \stoptext exports to: before “test ‘test’ ” after -^ (space

Re: [NTG-context] beta

2011-07-14 Thread Andreas Harder
Am 14.07.2011 um 17:24 schrieb Hans Hagen: (also see http://www.pragma-ade.com/show-mag-13.htm) So it's recommended to load the \environment before the \start- \stopcomponent and \start- \stopproduct? So far I've done it vice versa, but this changes my page break. Greeting Andreas

[NTG-context] Footnote number followed by a dot

2011-07-02 Thread Andreas Harder
Hi all, I'm pretty sure the following example worked a white ago \setupnote [footnote] [numbercommand=,right={.}] \starttext \dorecurse{12}{test\footnote{test}} \stoptext Can someone help? I would like to have: 1. First footnote 2. Second footnote etc. Greeting Andreas

Re: [NTG-context] Footnote number followed by a dot

2011-07-02 Thread Andreas Harder
Am 02.07.2011 um 14:42 schrieb Wolfgang Schuster: Am 02.07.2011 um 14:20 schrieb Andreas Harder: Hi all, I'm pretty sure the following example worked a white ago \setupnote [footnote] [numbercommand=,right={.}] Use \setupnotedefinition. Hi Woflgang, I tried this allready

Re: [NTG-context] Footnote number followed by a dot

2011-07-02 Thread Andreas Harder
Am 02.07.2011 um 15:52 schrieb Wolfgang Schuster: Am 02.07.2011 um 15:05 schrieb Andreas Harder: I tried this allready \setupnote [footnote] [numbercommand=,] \setupnotedefinition [footnote] [right={.}] \starttext \dorecurse{12}{test\footnote{test}} \stoptext

[NTG-context] \setupbodyfont[dejavu]

2011-06-26 Thread Andreas Harder
Hi Hans, with the latest beta (as well as experimental) \setupbodyfont[dejavu] \starttext test \stoptext breaks with ! LuaTeX error ...xt-new/tex/texmf-context/tex/context/base/l-file.lua:121: bad argument #1 to 'find' (string expected, got nil) Greeting Andreas

[NTG-context] \lohi{…}{…}

2011-06-20 Thread Andreas Harder
Hi Hans, something goes wrong with \lohi{high}{low}. inline: Bildschirmfoto 2011-06-20 um 11.08.34.png \starttext \lohi{high}{low} \stoptext Greeting Andreas___ If your question is of interest to others

Re: [NTG-context] (URGENT) floating objects causing bug

2011-05-15 Thread Andreas Harder
Am 15.05.2011 um 12:39 schrieb Taco Hoekwater: On 05/15/2011 11:35 AM, Steffen Wolfrum wrote: Hi Hans, while finishing a big project (900 pages, 300 floating tables/figures) I noticed that the first line of each page is moving up/down (almost half a line)! Reason: As soon a a

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Andreas Harder
Am 27.04.2011 um 16:39 schrieb Ulrike Fischer: Am Wed, 27 Apr 2011 16:19:45 +0200 schrieb Wolfgang Schuster: Am 27.04.2011 um 15:53 schrieb Alasdair McAndrew: Hello, The effect I want is something like: 1. First item 2. Second item 5. Fifth item 6. Sixth item 8. Eight item

Re: [NTG-context] Context and metapost: using \frac

2011-04-26 Thread Andreas Harder
Am 26.04.2011 um 13:36 schrieb Matthieu Stigler: Le 26/04/2011 12:36, Hans Hagen a écrit : On 26-4-2011 12:02, Matthieu Stigler wrote: Dear Hans Thanks for your quick answer! I was however not able to produce the graph with the textext code... Should I actually then use another

[NTG-context] beta (backend)

2011-03-28 Thread Andreas Harder
Here is another error with the latest beta: \setupbackend[format=PDF/X-4p] \starttext test \stoptext Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Capital spacing feature

2011-03-28 Thread Andreas Harder
Consider the following example \definefontfeature[capital spacing] [cpsp=yes] \definefontfeature[small capitals] [c2sc=yes] \starttext \setfontfeature{capital spacing} % not OK % \setfontfeature{small capitals} % OK ABCDEFGHIJKLMNOPQRSTUVWXYZ \stoptext It works okay with small capitals

[NTG-context] beta (asana goodies)

2011-03-26 Thread Andreas Harder
Hi Hans, with the latest beta asana-math.lfg don't seem to have any influence of the output. \setupbodyfont[asana] \startTEXpage[offset=1ex] $\binom{n}{k}\quad \dbinom{n}{k}$ \stopTEXpage It used to work with the experimental two or three days ago. Greeting Andreas

[NTG-context] beta (itemize fit-option)

2011-03-26 Thread Andreas Harder
Hi all, the fit-option in itemize-environments seem to be broken. Can someone confirm this? \starttext \startitemize[R,fit] % ,fit - error \dorecurse{8}{\item test} \stopitemize \stoptext Greeting Andreas

[NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Hi Hans, I don't know it its legible to post problems with the current experimental, so tell me if its not. 1) With OpenType math fonts italic will not work. \setupbodyfont[asana] % \setupbodyfont[cambria] % \setupbodyfont[xits] % \setupbodyfont[euler] \starttext {\it test} \stoptext 2)

Re: [NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Am 22.03.2011 um 14:07 schrieb Hans Hagen:On 22-3-2011 1:01, Andreas Harder wrote:I don't know it its legible to post problems with the current experimental, so tell me if its not.What exactly is current experimental? Works ok here the real experimental -)I tried again with the one fromhttp

Re: [NTG-context] $n\choose k$-issue with OpenType math fonts

2011-03-13 Thread Andreas Harder
Am 06.03.2011 um 15:33 schrieb Hans Hagen: On 6-3-2011 1:22, Andreas Harder wrote: I don't know the best value either, but et least one could manipulate it. the next beta will support parameter overload in the goodies parameters = { -- test values FactorA = 123.456

  1   2   3   4   >