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

2011-05-15 Thread Andreas Harder
fix this nicely, but a crude > workaround to fix your project is: > > \appendtoks \global\topskip=10pt plus 50pt \to \everyafteroutput What about \setupinterlinespace[top=0]? I had once a related (?) problem: http://archiv

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

2011-05-15 Thread Steffen Wolfrum
] \setuppapersize[stw][stw] \setuplayout [width=113mm,height=572pt, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \usetypescript[times] \setupbodyfont[times, 10pt]\setupinterlinespace[line=12pt

Re: [NTG-context] Pull quotes

2011-04-28 Thread Cecil Westerhof
width=\annotationparameter{width}, >         style=\annotationparameter{style}] > %       {“#2”}}} >        {\setupinterlinespace“#2”\par}}} > > \defineannotation >  [pullquote] >  [alternative=command, >       command=\PullquoteCommand, >      location=right, >

Re: [NTG-context] Pull quotes

2011-04-28 Thread Wolfgang Schuster
ons. As do now know what you want here is a solution from me (MkIV only): \usemodule[annotation] \define[2]\PullquoteCommand {\placefigure[\annotationparameter{location},none]{}% {\framedtext [frame=off, width=\annotationparameter{width}, style=\annotation

Re: [NTG-context] First and last lines on a grid

2011-04-23 Thread Oliver Buerschaper
\measure{gridWidth}, width=\dimexpr6\measure{gridWidth}\relax, topspace=\measure{gridHeight}, height=\dimexpr7\measure{gridHeight}\relax, leftmargin=\zeropoint, rightmargin=\zeropoint, header=\zeropoint, footer=\measure{gridHeight}] \setupinterlinespace [line=\m

[NTG-context] First and last lines on a grid

2011-04-22 Thread Oliver Buerschaper
e height of a "C" or even "É") and the last baseline a certain distance above the textblock's lower border (say, the actual depth of a "g"). How would I do that? I tried playing with "\setupinterlinespace", however, its options "top" and

Re: [NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-16 Thread Reviczky, Adam
ter: There is no • (U+2022) in font euler! Missing character: There is no • (U+2022) in font euler! ) (c_tableofcontents.tex) (c_introduction.tex (/usr/share/texmf/tex/context/sample/knuth.tex) ! LuaTeX error /usr/share/texmf/tex/context/base/bibl-tra.lua:192: attempt to compare number with

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

2011-04-01 Thread Thomas A. Schmitz
t}] > > \definestartstop[quote] > [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}] > > > \starttext > > Test {\ss text} test\footnote{text {\ss text} test} test. > &

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

2011-04-01 Thread Steffen Wolfrum
fault] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[10.5pt] \usetypescript[times] \setupbodyfont[times,10.5pt] \setupfootnotes[bodyfont={rm,8.5pt}] \definestartstop[quote] [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switc

Re: [NTG-context] What are the best fonts to use

2011-03-16 Thread Henning Hraban Ramm
Am 2011-03-16 um 13:59 schrieb Willi Egger: Graphic designers describe in this way the font-size and linespacing. So one can do things like this: \definedfont[Baskerville at 11pt]\setupinterlinespace[line=12.5pt]... But use "bp" instead of "pt" - TeX's point is sm

Re: [NTG-context] What are the best fonts to use

2011-03-16 Thread Charles Doherty
s: > > \definedfont[Baskerville at 11pt]\setupinterlinespace[line=12.5pt]... > > Willi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@nt

Re: [NTG-context] What are the best fonts to use

2011-03-16 Thread Willi Egger
Hi, Graphic designers describe in this way the font-size and linespacing. So one can do things like this: \definedfont[Baskerville at 11pt]\setupinterlinespace[line=12.5pt]... Willi On 16 Mar 2011, at 13:50, Charles Doherty wrote: > Dear all, > > In light of the question on fon

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
er, chapternumber etc. > > Wolfgang Right: this works ok. \showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,tops

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
ou see the problem? the "getmarking" behaves correctly (one/one/two) >>>> while the "headnumber" is confused (1.1/1.2/1.2))! >>> >>> >>> >>> Could some maybe please have look at my test file (see original post): >>> Is this "as

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Willi Egger
is confused (1.1/1.2/1.2))! >> >> >> >> Could some maybe please have look at my test file (see original post): >> Is this "asynchronous"head a bug or am I simply doing something wrong?? > I don't know, but with > > \dorecurse{2}{\input tu

[NTG-context] header entries semi-wrong

2011-03-06 Thread Steffen Wolfrum
t;1.2 two" and you get the header entry "1.2 two" you see the problem? the "getmarking" behaves correctly (one/one/two) while the "headnumber" is confused (1.1/1.2/1.2))! Is this a bug or am I doing something wrong? Steffen --- % ConTeXt ver: 2011.02.25 22

Re: [NTG-context] Text to edges of page

2011-03-04 Thread John Haltiwanger
> > \setuplayout[ > backspace=0mm, > topspace=0mm, > margin=0mm, > header=0mm, > footer=0mm > ] > > \setupindenting[none] > > \setupwhitespace[medium] > \setupinterlinespace[22pt] > &

[NTG-context] Text to edges of page

2011-03-04 Thread John Haltiwanger
ppapersize[short][short] \setuplayout[ backspace=0mm, topspace=0mm, margin=0mm, header=0mm, footer=0mm ] \setupindenting[none] \setupwhitespace[medium] \setupinterlinespace[22pt] \starttext \input Tufte \input Knuth \input Tufte

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hartmut Henkel
On Tue, 1 Mar 2011, Hans van der Meer wrote: > Silly perhaps, but I am stuck with something that shouldn't be > difficult to solve. I want to fill lines with small blocks (\vrule's > just 0.2 mm high) and then fit the indivdual lines as tight together > as is possible. Tryin

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
Sorry, mixed up what works and what not: On 1 mrt 2011, at 21:06, Hans van der Meer wrote: > > On 1 mrt 2011, at 20:21, Wolfgang Schuster wrote: > >> \setupinterlinespace[line=0.5mm] or use MetaPost (not sure what do you want). > > This does work out as I want it. The aim

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
On 1 mrt 2011, at 20:21, Wolfgang Schuster wrote: > \setupinterlinespace[line=0.5mm] or use MetaPost (not sure what do you want). This does work out as I want it. The aim is to place lines of smallblocks, taken from an input file \startdvbscreen \startdvbline \blok{colorva

Re: [NTG-context] lines tightly fitting together

2011-03-01 Thread Wolfgang Schuster
as is possible. Trying > \setupinterlinespace[height=0.2,depth=0] did not help and the kludge > \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-) > Anybody out there knowing how to do it? \setupinterlinespace[line=0.5mm] or use MetaPost (not su

[NTG-context] lines tightly fitting together

2011-03-01 Thread Hans van der Meer
Silly perhaps, but I am stuck with something that shouldn't be difficult to solve. I want to fill lines with small blocks (\vrule's just 0.2 mm high) and then fit the indivdual lines as tight together as is possible. Trying \setupinterlinespace[height=0.2,depth=0] did not help and

Re: [NTG-context] linespacing?

2011-03-01 Thread Taco Hoekwater
On 03/01/2011 04:37 PM, Hans van der Meer wrote: This comes from the ConTeXt manual (section 4, page 65) \starttext \setuplinespacing[height=1mm] \stoptext This is superceded. \setuplinespacing does not exist any more. Two pages earlier there is \starttext \setupinterlinespace[height=2

[NTG-context] linespacing?

2011-03-01 Thread Hans van der Meer
This comes from the ConTeXt manual (section 4, page 65) \starttext \setuplinespacing[height=1mm] \stoptext It gives an error: ! Undefined control sequence. l.2 \setuplinespacing [height=1mm] ? Two pages earlier there is \starttext \setupinterlinespace[height=2] \stoptext

[NTG-context] how to keep inmargin texts above the base of the page

2011-02-27 Thread Dinh Tran
3.7cm, leftmargindistance=1cm, %from right of leftmargin to left of textbody bottomspace=1.62cm, footer=1.49cm, % grid=yes, % to align text on a grid. If this is on, setupwhitespace and setupinterlinespace doesn't work. setup=strict] \showframe \setupinmargin[stack=yes] \starttext \dorecurse{2

Re: [NTG-context] Float option “top” affects page break (on following pages)

2011-02-24 Thread Andreas Harder
other page breaking than the corresponding product file. > > I hope there will be soon a fix for that … is there already one? I found a workaround. One can set \setupinterlinespace[top=0] Is this a bad idea? Are there any disadvantages? I would

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Marco
] > > I think that the best idea is to add a style=..., and color=..., key. ACK > In fact, I have added these keys to t-filter module. If you get the latest > version of the module from github[1], done > then you should be able to say: > > \definevimtyping &

Re: [NTG-context] [t-vim] Line numbers

2011-02-21 Thread Aditya Mahajan
obodyfont[small]\setupinterlinespace}, ] I will upload a new version soon. Aditya [1]: https://github.com/adityam/filter/blob/dev/t-filter.tex PS: The style=.. and color=... attributes only work with MkIV. I need to think of a good way to get them

Re: [NTG-context] running headers on postponed makeup

2011-02-15 Thread Steffen Wolfrum
pages also footnotes and stuff are involved I managed to cook down a minimal that shows the mistake: please run attached example. On page 3 it is header = 1.2 One section = 1.1 One (On page 4 starts a new section "1.2 Two"!) Thanks, Steffen --- \showframe \setupbodyfont[postscript

Re: [NTG-context] [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Stefan Müller
=10cm, align=yes] \bTD \setupinterlinespace[10ex] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure

[NTG-context] [***SPAM***] Re: Left/right justification and interline-spacing inside natural tables (TABLE)

2011-01-31 Thread Peter Münster
Stefan Müller writes: > \starttext > \bTABLE \bTR[width=10cm] > \bTD \input knuth \eTD > \eTR \eTABLE > \stoptext \starttext \bTABLE \bTR[width=10cm, align=yes] \bTD \setupinterlinespace[5ex] \input knuth \eTD \eTR \eTABLE \stoptext --

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
>> thanks for pointing me into the right direction. This did not work at first >> ether but it was my fault. I had \setupinterlinespace[big] before >> \setupbodyfont. This will reset the interlinespace. However, >> \setupinterlinespace[line=1.7em] before \setupbody

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Wolfgang Schuster
Am 16.01.2011 um 11:17 schrieb Florian Wobbe: > thanks for pointing me into the right direction. This did not work at first > ether but it was my fault. I had \setupinterlinespace[big] before > \setupbodyfont. This will reset the interlinespace. However, > \setupinterlinespac

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
>> Hmm, does not seem to work here. I have following setup: >> >> \environment env_draft % <-- setting \setupinterlinespace[big] here >> \startproduct >> %\setupinterlinespace[big] % works except for references when uncommented > > \st

Re: [NTG-context] Problem with \setuptyping-ed \typefile

2011-01-13 Thread Wolfgang Schuster
Am 13.01.2011 um 11:35 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > I encountered another problem with \typefile. This code crashes: > > --- > \setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace] You need \definetyping[Mode

[NTG-context] Problem with \setuptyping-ed \typefile

2011-01-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I encountered another problem with \typefile. This code crashes: --- \setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace] \starttext \typefile[Model]{t2.txt} %{t.u8} %\startluacode context.typefile({"Model"}, "t.u8")\stopluacode \stoptext --- Although

Re: [NTG-context] \setupinterlinespace questions

2011-01-11 Thread Wolfgang Schuster
Am 10.01.2011 um 22:57 schrieb Florian Wobbe: >>>>> b) Is there a possibility to use relative sizes like >>>>> \setupinterlinespace[2*big] (which does not work)? >>>> >>>> You can write \setupinterlinespace[3]. >>>

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
> Hi Florian, > > can I interest you in some columnsets? > > ··8<· > > \definecolumnset[three][n=3] > \starttext > \startcolumnset[three] > \setupinterlinespace[small] > \input knuth > \column

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Philipp Gesang
set stays the > same regardless of the linespacing. > > \starttext > \startcolumns[n=3] > \setupinterlinespace[small] > \input knuth > \column > \setupinterlinespace[medium] > \input knuth > \column > \setupinterlinespace[big] > \input knuth > \stopco

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
>>>> b) Is there a possibility to use relative sizes like >>>> \setupinterlinespace[2*big] (which does not work)? >>> >>> You can write \setupinterlinespace[3]. >> >> Thanks! >> >> Why can't I put \setupinterlinespace[3]

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Wolfgang Schuster
Am 10.01.2011 um 22:36 schrieb Florian Wobbe: >>> b) Is there a possibility to use relative sizes like >>> \setupinterlinespace[2*big] (which does not work)? >> >> You can write \setupinterlinespace[3]. > > Thanks! > > Why can't I put \setupin

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
>> b) Is there a possibility to use relative sizes like >> \setupinterlinespace[2*big] (which does not work)? > > You can write \setupinterlinespace[3]. Thanks! Why can't I put \setupinterlinespace[3] or \setupinterlinespace[big] in the preamble? They only take effect

Re: [NTG-context] \setupinterlinespace questions

2011-01-10 Thread Wolfgang Schuster
Am 10.01.2011 um 20:41 schrieb Florian Wobbe: > b) Is there a possibility to use relative sizes like > \setupinterlinespace[2*big] (which does not work)? You can write \setupinterlinespace[3]. Wolfgang

[NTG-context] \setupinterlinespace questions

2011-01-10 Thread Florian Wobbe
=3] \setupinterlinespace[small] \input knuth \column \setupinterlinespace[medium] \input knuth \column \setupinterlinespace[big] \input knuth \stopcolumns \stoptext b) Is there a possibility to use relative sizes like \setupinterlinespace[2*big] (which does not work)? Best, Florian

[NTG-context] problem with setupwhitespace

2010-12-18 Thread Achim Jander
=125mm, height=210mm] \setuppapersize [NomosLexSozA] [A4] \setuplayout[ header=0cm,footer=0cm, backspace=2.54cm,topspace=1.5cm, width=middle,height=middle, location=middle,marking=on,] \showframe \setuppagenumbering[alternative=doublesided] \setupbodyfont[rm,7.5pt,serif] \setupinterlinespace

[NTG-context] \setuptyping: font size

2010-12-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm trying to \setuptyping to use a 8pt font size [of a tt typeface]. Here are my trials - in several cases I get the wanted result but with error messages: --- t.mkiv \enableregime[cp1250] %\setuptyping[default][style=\ttxx\setupinterlinespace] % This works somehow but with e

Re: [NTG-context] Strange behavior (vertical space added!!!) with accentuated letters

2010-11-27 Thread Wolfgang Schuster
rgin-fullwidth-1.pdf He means the space between the header and the following paragraph, he can fix this by changing the interlinespace, e.g. \setupinterlinespace[height=.8,depth=.2] or \setupinterlinespace[line=3ex] He can also try if a different grid option give the correct output

[NTG-context] problem in resume module

2010-11-21 Thread views63
Hi Wolfgang, I find a problem in resume module with latest beta log: structure : section @ level 3 : 0.0.0 -> Extra 1 ! Undefined control sequence. ~ \firstoftwoarguments #1#2->#1 \docvline ...2}{~}{\setupinterlinespace \relax #2}

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

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

2010-11-09 Thread Wolfgang Schuster
> > and define a description that will take "5" as "closesymbol" and "Fa." as > "text"? Otherwise, I'd need to define a description for every speaking > character. Another solution: \setupbodyfont[termes,12pt] \setupinterlinespace[line=4

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

2010-11-09 Thread Wolfgang Schuster
r natural tables your self with „align=hanging“. Another solution for your problem is to use descriptions: \definefontfeature[default][default][protrusion=quality] \setupbodyfont[termes,12pt] \setupinterlinespace[line=4.5ex] \setupalign[hanging] \starttext \definedescription [Fa] [text=Fa.,

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

2010-11-09 Thread Thomas A. Schmitz
the bottom. Is > there any parameter or trick for that? > > 3. baseline between columns is not aligned (maybe I'm missing the right > parameter?), extra vertical space is added. > > Eagerly awaiting your suggestions! > > All best > > Thomas > > \setupbodyfo

[NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
columns is not aligned (maybe I'm missing the right parameter?), extra vertical space is added. Eagerly awaiting your suggestions! All best Thomas \setupbodyfont[termes,12pt] \setupinterlinespace[line=4.5ex] \startbuffer \MyLine{5}{Fa.}{This line is short.} \MyLine{10}{Me.}{This l

Re: [NTG-context] \typefile from n-th line

2010-10-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, it doesn't seem to work. Let's have "t-TypeF2.mkiv" with the following content: --- \setuptyping[default][bodyfont=small,style={\ttx\setupinterlinespace}] % 1 % 2 \starttext % 3 \typefile[default][start=4]{t-TypeF2.mkiv} % = This file; 4 \typefile[default][start

Re: [NTG-context] Temporary landscape

2010-10-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
={\ttx\setupinterlinespace}] \starttext \def\T#1#2{ \subjectLand{#1} \setuppapersize[A4,landscape][A4,landscape] \typefile[Dim]{../../Statics/Dim/Res/#2.txt} \typefile[Dim]{../../Statics/Dim/Res/#2.txt} % Just to test (=> more than one page) \typefile[Dim]{../../Statics/

Re: [NTG-context] vertical space between \framed ’s

2010-10-13 Thread Andreas Harder
on,width=2em,height=2em]{A\par}} > \setupinterlinespace[0pt] > \starttext > > \testbox\testbox > \stoptext > > ···8< > > there’s still a vertical gap that I thought I eliminated by > switching off the in

[NTG-context] vertical space between \framed’ s

2010-10-13 Thread Philipp Gesang
Hi, how do I get rid of the space between two consecutive framed texts? In the following example: ···8< \def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}} \setupinterlinespace[0pt] \starttext \testbox\testbox \stoptext ·

[NTG-context] Marginal heads and non-text sections

2010-10-12 Thread Brian Sniffen
ference (well, it moves the table down, showing that tables don't have the space-filling property of itemizes), but uncommenting the apricot does cause the "Second" subject to appear. How can I force the "Second" subject to appear next to the table? Thank you for any help. \se

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
change in this example would be most helpful: >> >> == >> >> %%% SETUP AREA >> >> %% PAGE SETUP >> \setuppapersize[A4][A4] >> \setuplayout[grid=on] >> \showgrid >> \setupinterlinespace[line=3.8ex] >> \set

Re: [NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Wolfgang Schuster
and with the problem of the footnote rule/marker. Reference to > what I should change in this example would be most helpful: > > == > > %%% SETUP AREA > > %%PAGE SETUP > \setuppapersize[A4][A4] > \setuplayout[grid=on] > \showgrid > \setu

[NTG-context] footnotes when using RtL (Arabic)

2010-10-05 Thread Talal Al-Azem
: == %%% SETUP AREA %% PAGE SETUP \setuppapersize[A4][A4] \setuplayout[grid=on] \showgrid \setupinterlinespace[line=3.8ex] \setupindenting[yes,big] %% FONTS \usemodule[simplefonts] \setupsimplefonts[size=12pt] \definefontfeature[default] [default] [mode=node,script=arabic

Re: [NTG-context] Line height for smaller fonts. (Migrating from LaTeX to ConTeXt:) forcing new line and new page

2010-10-04 Thread Aditya Mahajan
On Mon, 4 Oct 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, let's have the following example: --- \starttext \tt \input tufte \hairline \switchtobodyfont[small] or \tfx\setupinterlinespace (untested) \tfx \input tufte \hairline \tfxx \input tufte \sto

Re: [NTG-context] Line height for smaller fonts. (Migrating from LaTeX to ConTeXt:) forcing new line and new page

2010-10-04 Thread Hans Hagen
p" between lines (or this may be taken as "line height" relative to letter height). \starttext \start \tt \input tufte \par \stop \hairline \start \ttx \input tufte \par \stop \hairline \start \ttxx \setupinterlinespace \input tufte \par \stop

Re: [NTG-context] placing a paragraph with non-standard interlinear spacing onto the grid

2010-10-03 Thread Talal Al-Azem
>> Unfortunately, I think I may have spoken too soon, as I've run into a small >> problem. :-) Using Wolfgang's suggestion of baselinecorrection: >> >> \startbaselinecorrection\setupinterlinespace[line=5ex] >> >> \stopbaselinecorrection >>

Re: [NTG-context] placing a paragraph with non-standard interlinear spacing onto the grid

2010-10-03 Thread Hans Hagen
On 4-10-2010 12:40, Talal Al-Azem wrote: Dear Hans and Wolfgang (et al), Unfortunately, I think I may have spoken too soon, as I've run into a small problem. :-) Using Wolfgang's suggestion of baselinecorrection: \startbaselinecorrection\setupinterlinespac

Re: [NTG-context] placing a paragraph with non-standard interlinear spacing onto the grid

2010-10-03 Thread Talal Al-Azem
Dear Hans and Wolfgang (et al), Unfortunately, I think I may have spoken too soon, as I've run into a small problem. :-) Using Wolfgang's suggestion of baselinecorrection: \startbaselinecorrection\setupinterlinespace[line=5ex] ... \stopbaselinecorrection I can no longer get footn

Re: [NTG-context] placing a paragraph with non-standard interlinear spacing onto the grid

2010-10-03 Thread Wolfgang Schuster
\setuplayout[grid=yes]\showgrid \starttext \input knuth \startbaselinecorrection\setupinterlinespace[line=3.6ex] \input knuth \stopbaselinecorrection \input knuth \stoptext Wolfgang ___ If your question is of interest

Re: [NTG-context] Interline spacing in lists

2010-10-01 Thread Elias Oltmanns
n contains an explicit \crlf. >> >> Thanks in advance for your help, > > \start\setupinterlinespace[line=...] > \placelistoffigures > \stop That's odd. Why didn't \setupinterlinespace[big] work then? Anyway, thanks for your quick response. Regards, Elias __

Re: [NTG-context] Interline spacing in lists

2010-10-01 Thread Wolfgang Schuster
advance for your help, \start\setupinterlinespace[line=...] \placelistoffigures \stop Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

[NTG-context] urgent bottom line problem (thin paper)

2010-09-12 Thread Steffen Wolfrum
ypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \setuplayout [width=113mm,height=532pt, backspace=20mm,topspace=15mm, header=12pt,headerdistance=6pt, footer=0pt,footerdistance=0pt,

Re: [NTG-context] caught in the grid

2010-08-12 Thread Steffen Wolfrum
This can only be used in single, controlled situations. Look what happens when the section is to be placed at top of page: \definegridsnapping[MyGrid] [off] \showframe \starttext \setuplayout[grid=MyGrid] \switchtobodyfont[42pt] \setupinterlinespace[line=30pt] Big text\crlf written in

[NTG-context] caught in the grid

2010-08-11 Thread Steffen Wolfrum
text \starttext \setuplayout[grid=MyGrid] \switchtobodyfont[42pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three row \section{One\\Two\\Three} Big text\crlf written in\crlf three row \stoptext Literally the whole day I tried various gri

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Steffen Wolfrum
\definetypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript,30pt]\setupinterlinespace[line=10pt] \setuplayout[grid=local] \starttext \input tufte \par \stoptext Steffen ___ If your question is of

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Steffen Wolfrum
ight have in a real-life-project. What does "local" do here, as there are only global settings?! \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript,30pt]\setupinterlinespace[line=10pt

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Hans Hagen
On 6-8-2010 2:22, Steffen Wolfrum wrote: \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript,30pt]\setupinterlinespace[line=10pt]\lineskiplimit-\maxdimen \starttext \input tufte \par \stoptext this is because \starttext synchronizes a

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Steffen Wolfrum
how 10pt interlinespace. \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \setupbodyfont[postscript,30pt]\setupinterlinespace[line=10pt]\lineskiplimit-\maxdimen \starttext \input tufte \par \stop

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Steffen Wolfrum
eskip related >> code is quite ... precarious. >> But maybe an unofficial hack is doable? > > no hack needed > > \enabletrackers[nodes.vsnapping] > > \starttext % see spac-ver.mkiv: \definegridsnapping > >\switchtobodyfont[42pt] \setupinterlinesp

Re: [NTG-context] hack needed (MkIV)

2010-08-06 Thread Hans Hagen
ver.mkiv: \definegridsnapping \switchtobodyfont[42pt] \setupinterlinespace[line=30pt] Big text\par written in\par three row \setuplayout[grid=strict] \setupinterlinespace[line=30pt] Big text\par written in\par three row \stoptext with 'yes' the line gets snapped to fit an e

Re: [NTG-context] A problem with combining characters

2010-07-07 Thread luigi scarso
gt;>> \usetypescript[libertine] >>> \setupbodyfont[libertine,rm,10pt] >>> \setupinterlinespace[line=2.6ex] >>> >>> \starttext >>> %%echo '\N{LATIN SMALL LETTER A}\N{COMBINING DOT BELOW}\N{COMBINING >>> CARON BELOW}' |./uconv -t utf-8  -x &quo

Re: [NTG-context] A problem with combining characters

2010-07-05 Thread luigi scarso
On Fri, Jul 2, 2010 at 6:33 PM, Khaled Hosny wrote: > On Fri, Jul 02, 2010 at 05:57:01PM +0200, luigi scarso wrote: >> In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ? >> >> \usetypescript[libertine] >> \setupbodyfont[libertine,rm,10pt] >>

Re: [NTG-context] A problem with combining characters

2010-07-04 Thread luigi scarso
On Fri, Jul 2, 2010 at 5:57 PM, luigi scarso wrote: > In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ? > > \usetypescript[libertine] > \setupbodyfont[libertine,rm,10pt] > \setupinterlinespace[line=2.6ex] > > \starttext > %%echo '\N{LATIN SM

Re: [NTG-context] A problem with combining characters

2010-07-02 Thread luigi scarso
On Fri, Jul 2, 2010 at 6:33 PM, Khaled Hosny wrote: > On Fri, Jul 02, 2010 at 05:57:01PM +0200, luigi scarso wrote: >> In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ? >> >> \usetypescript[libertine] >> \setupbodyfont[libertine,rm,10pt] >>

Re: [NTG-context] A problem with combining characters

2010-07-02 Thread Khaled Hosny
On Fri, Jul 02, 2010 at 05:57:01PM +0200, luigi scarso wrote: > In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ? > > \usetypescript[libertine] > \setupbodyfont[libertine,rm,10pt] > \setupinterlinespace[line=2.6ex] > > \starttext > %%echo &#x

[NTG-context] A problem with combining characters

2010-07-02 Thread luigi scarso
In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ? \usetypescript[libertine] \setupbodyfont[libertine,rm,10pt] \setupinterlinespace[line=2.6ex] \starttext %%echo '\N{LATIN SMALL LETTER A}\N{COMBINING DOT BELOW}\N{COMBINING CARON BELOW}' |./uconv -t utf-8 -x &qu

[NTG-context] page numbering with make-up-pages

2010-06-17 Thread Vyatcheslav Yatskovsky
tartstandardmakeup[align=center] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace[24pt] \getbuffer[UpperBanner] \blank[line] \getbuffer[ApprovedByPolukhin] \blank[line] \getbuffer[SyllabusIndex] \blank[line] \getbuffer[DisciplineBanner] \blank[line]

Re: [NTG-context] Filtering contents

2010-06-14 Thread Wolfgang Schuster
er,section,subsection] \setupcombinedlist [content] [alternative=c, width=2.5em] \startstandardmakeup[] \setupinterlinespace[24pt] \subject{CONTENTS} \placelist[content] \vfill \stopstandardmakeup does not work for me -- empty contents page. \placelist[chapter,section,subsect

Re: [NTG-context] Irregularity in a topspace a bottomspace?

2010-06-11 Thread Jaroslav Hajtmar
idsnapping \doprocesslocalsetups{\layoutparameter\c!setups}% depends on gridsnapping ! \simplesetupwhitespace \simplesetupblank \setupinterlinespace[\v!reset]% \synchronizegloballinespecs \global\cutspace\layoutparameter\c!cutspace \relax \doifelse{\layoutparameter\c!width

Re: [NTG-context] Irregularity in a topspace a bottomspace?

2010-06-11 Thread Wolfgang Schuster
ter\c!backspace \global\topspace\layoutparameter\c!topspace \setlayoutdimensions % the rest of the `dimensions' \docheckgridsnapping \doprocesslocalsetups{\layoutparameter\c!setups}% depends on gridsnapping ! \simplesetupwhitespace \simplesetupblank \setupinterlinespac

Re: [NTG-context] macro beginner question

2010-06-05 Thread Bernhard Rosensteiner
> You should put the definition back, and add \Mycolor to the > \OpticalTest macro, perhaps like so: > > \def\OpticalTest[#1]#2{% > \addff{\OOFeature}% >\definedfont[#2 at \OOSize]% > \setupinterlinespace >

Re: [NTG-context] macro beginner question

2010-06-05 Thread Taco Hoekwater
, perhaps like so: \def\OpticalTest[#1]#2{% \addff{\OOFeature}% \definedfont[#2 at \OOSize]% \setupinterlinespace \hbox to \textwidth{\clip[width=.39\textwidth, bottomoffset=\strutdepth]{% \Mycolor ..\hbox to .39

[NTG-context] Syllabus title page (newbie problems)

2010-05-31 Thread Vyatcheslav Yatskovsky
cm,headings}] \starttext \startstandardmakeup[doublesided=no,align=center,style={\switchtobodyfont[ss,18pt]}] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace[28pt] % \let\\=\blank {\bf NATIONAL AVIATION UNIVERSITY} INSTITUTE OF ELECTRONICS AND CONTROL

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 18:45, schrieb Vyatcheslav Yatskovsky: Thank you, Wolfgang, with this correction it works fine! A few questions, if you don't mind: 1) what \setupinterlinespace \setupinterlinespace comes in two version, with the complex version you can change the values for the lineheight

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
Thank you, Wolfgang, with this correction it works fine! A few questions, if you don't mind: 1) what \setupinterlinespace \let\\=\blank means? I thought this setup can accept only values in brackets; I don't understand this construct. 2) Why I cannot use Part (with capital

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
]}] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace \let\\=\blank} \def\StopTitlePage {\par\vfill {\tfx Version \currentdate[year,-,mm,-,dd]} \stopstandardmakeup} \definehead[TitlePage][part] \setuphead [TitlePage] [before=\StartTitlePage

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
[none] \setupinterlinespace \let\\=\blank} \def\StopTitlePage {\par\vfill {\tfx Version \currentdate[year,-,mm,-,dd]} \stopstandardmakeup} \definehead[TitlePage][Part] \setuphead [TitlePage] [before=\StartTitlePage, after=\StopTitlePage] \starttext \TitlePage{Hello} \stoptext

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
[0pt] \stelinterliniein \vfil \let\\=\blank} I suppose that it is \setupinterlinespace, but it does not work without arguments, as seen in my minimal example: --- \setuphead [Part] [number=no, style={\ss\bfd}, page=right] \def\StartTitlePage% {\startstandardmakeup[doublesided=no

[NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
\let\\=\blank} I suppose that it is \setupinterlinespace, but it does not work without arguments, as seen in my minimal example: --- \setuphead [Part] [number=no, style={\ss\bfd}, page=right] \def\StartTitlePage% {\startstandardmakeup[doublesided=no

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Wolfgang Schuster
Am 15.05.10 00:23, schrieb Khaled Hosny: On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote: On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny wrote: I see, in the wiki: height: ration|size of strut (e.g. 0.72 or 9pt) depth: ration|size of strut (e.g. 0.28 or 3pt) And

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote: > On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny wrote: > > I see, in the wiki: > > > >   height: ration|size of strut (e.g. 0.72 or 9pt) > >   depth:  ration|size of strut (e.g. 0.28 or 3pt) > > > > And I assumed .7em is comparable to 9

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