Re: [NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Wolfgang Schuster
Am 08.05.2014 um 01:17 schrieb Malte Stien : > Hi all, > > I have a rather long document listing a number of items, which I need to be > numbered continuously throughout the entire document. The following approach > appears to work well, except that the numbering restarts at the beginning of

[NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Malte Stien
Hi all, I have a rather long document listing a number of items, which I need to be numbered continuously throughout the entire document. The following approach appears to work well, except that the numbering restarts at the beginning of every chapter. Is there a way that can be avoided? \star

Re: [NTG-context] \placeinitial query

2014-05-07 Thread Alan Bowen
Thanks, Hans. That works perfectly. Best, Alan On Wed, May 7, 2014 at 5:02 PM, Hans Hagen wrote: > On 5/6/2014 1:51 PM, Alan Bowen wrote: > >> In the following: >> >> \definefallbackfamily[mainface][serif][IFAO Grec Unicode] >> [range={02BB-1D513}] >> >> \definefontfamily[mainface][serif][Tex

Re: [NTG-context] \placeinitial query

2014-05-07 Thread Hans Hagen
On 5/6/2014 1:51 PM, Alan Bowen wrote: In the following: \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-1D513}] \definefontfamily[mainface][serif][Tex Gyre Termes][] \setupbodyfont[mainface,10pt] \defineinitial[Greek] [location=margin, font={Regular sa 3}, n=2, distanc

Re: [NTG-context] LuaTeX-Plain and Inline Math

2014-05-07 Thread Aíre Funvake
On 2014-05-07, 21:32 , Hans Hagen wrote: > On 5/7/2014 7:56 PM, Aíre Funvake wrote: >> Inline $\sqrt{1.2}$ math. % same for $\root n of x$ >> \end > replace this in luatex-math.tex: > > \def\sqrt {\Uroot "0 "221A{}} > \def\root#1\of{\Uroot "0 "221A{#1}} > > Worked like a charm, thank you. __

Re: [NTG-context] Text background that spans the width of the page

2014-05-07 Thread Darksair
Hi Hans, On Tue, May 06, 2014 at 09:29:32PM +0200, Hans Hagen wrote: > On 5/2/2014 5:59 PM, Darksair wrote: > >Hi all, > > > >I would like to have a colored horizontal stripe as background for one > >line of text. Sort of like what textbackground does, but I want it to > >span the whole \paperwid

Re: [NTG-context] LuaTeX-Plain and Inline Math

2014-05-07 Thread Hans Hagen
On 5/7/2014 7:56 PM, Aíre Funvake wrote: Inline $\sqrt{1.2}$ math. % same for $\root n of x$ \end replace this in luatex-math.tex: \def\sqrt {\Uroot "0 "221A{}} \def\root#1\of{\Uroot "0 "221A{#1}} -- -

[NTG-context] LuaTeX-Plain and Inline Math

2014-05-07 Thread Aíre Funvake
Hi, Sorry to be a pain: %% $ luatex --fmt luatex-plain tst01.tex This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) (format=luatex-plain 2014.5.7) 7 MAY 2014 11:48 \write18 enabled. **tst01.tex 8< (../tex/generic/context/luatex/luatex mplib.tex) ! Missing { in

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Romain Diss
Hi, Le 07/05/2014, Sanjoy Mahajan a écrit > Here are a few more keys. I don't fully understand their effect, but I > found them in strc-flt.mkvi (p.s. shouldn't that be .mkiv ?). Some of the keys are documented in the 'details' manual (http://www.pragma-ade.com/general/manuals/details.pdf) in se

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
Here are a few more keys. I don't fully understand their effect, but I found them in strc-flt.mkvi (p.s. shouldn't that be .mkiv ?). In the final "grid" examples, I extended the figure height to 4.5cm, to show the effect of the grid, which seems to be that the bottom of the figure aligns with a b

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
I use "high" in combination with zero spacing afterwards, in order to tighten the text flowing around the figure. Compare the two variants below. (I confess to not knowing the difference between "sidespaceafter" and "spaceafter," but both seem to have the same effect.) \starttext {\setupfloats[s

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Mojca Miklavec
On Wed, May 7, 2014 at 2:48 PM, Sanjoy Mahajan wrote: >> I would like to vertically shift the placement of figures >> (\placefigure[right]...), so that the upper side of the figure would >> be aligned with the top of the first line in a paragraph as opposed to >> the bottom [of the first line?] of

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
> I would like to vertically shift the placement of figures > (\placefigure[right]...), so that the upper side of the figure would > be aligned with the top of the first line in a paragraph as opposed to > the bottom [of the first line?] of the first paragraph. Ah, I can finally answer a question.

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Wolfgang Schuster
Am 07.05.2014 um 14:23 schrieb Mojca Miklavec : > Hi, > > I would like to vertically shift the placement of figures > (\placefigure[right]...), so that the upper side of the figure would > be aligned with the top of the first line in a paragraph as opposed to > the bottom of the first paragraph.

Re: [NTG-context] How to place a verbatim environment in the text such that the following paragraph is not indented?

2014-05-07 Thread Wolfgang Schuster
Am 07.05.2014 um 12:46 schrieb Thomas Möbius : > Dear list, > > how do I place a verbatim environment in the text such that the > following paragraph is not indented? I expect the environment to > behave the same as the formula-environment. How can I achieve this? Add “indentnext=auto” to your

Re: [NTG-context] setuppage is ignored

2014-05-07 Thread Wolfgang Schuster
Am 07.05.2014 um 10:57 schrieb Thomas Möbius : > Dear list, > > it seems as if \setupnumber is ignored or I am using the wrong way to > reset the page numbering. > > How to start the page numbering at 1 in the body matter? You have to change the value of the “userpage” counter, i.e. \setcount

[NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Mojca Miklavec
Hi, I would like to vertically shift the placement of figures (\placefigure[right]...), so that the upper side of the figure would be aligned with the top of the first line in a paragraph as opposed to the bottom of the first paragraph. Here's a minimal example. The second "ugly workaround" shows

[NTG-context] How to place a verbatim environment in the text such that the following paragraph is not indented?

2014-05-07 Thread Thomas Möbius
Dear list, how do I place a verbatim environment in the text such that the following paragraph is not indented? I expect the environment to behave the same as the formula-environment. How can I achieve this? --- minimal example --- \starttext \setupindenting[1.3em] \setupindenting[yes] \defin

Re: [NTG-context] Handling MathML in ConTEXt

2014-05-07 Thread Mojca Miklavec
Hi, is this a duplicate email by accident? On Wed, May 7, 2014 at 6:59 AM, Ananth Narayanan wrote: > Dear Sir, > > I am new to ConTEXt. I am using the below mentioned coding in a TEX file and > try to compile it in ConTEXt to get a .DVI output. But I am getting PDF > output only > > %

Re: [NTG-context] \pm set too low in MkIV?

2014-05-07 Thread Otared Kavian
On 7 mai 2014, at 10:46, Mikael P. Sundqvist wrote: > […] > > I guess one could do this for the other signs one don't like in TeX > Gyre Pagella Math… Hi, This is a good trick to know, especially if one combines \pm and \mp as in the counter-example given by Hans: % Start example \definefa

Re: [NTG-context] Force two figures to appear on the same page

2014-05-07 Thread Thomas Friedrich
Thank you Wolfgang, it works like a bliss! Best Thomas 2014-05-06 12:49 GMT+02:00 Wolfgang Schuster : > > Am 06.05.2014 um 12:36 schrieb Thomas Friedrich > : > >> Unfortunately, this is not what I am looking for: Both figures have >> there own caption and shall appear as separate figures in the

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
Dear list, it seems as if \setupnumber is ignored or I am using the wrong way to reset the page numbering. How to start the page numbering at 1 in the bodymatter? ---minimal exampe--- \setuppapersize[A5] \setuppagenumbering[start=start,alternative=doublesided,location=] \setupheader[style=sma

Re: [NTG-context] \pm set too low in MkIV?

2014-05-07 Thread Mikael P. Sundqvist
On Wed, May 7, 2014 at 2:34 AM, Sanjoy Mahajan wrote: >> the + aligns on the math axis so one can argue if the type-one variant >> is ok ... so we would need a smaller (less height) + then which would >> look visually weird > > Plain TeX doesn't align the plus/minus to the math axis. Rather, the