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

2011-04-22 Thread Oliver Buerschaper
[gridheight] [\dimexpr\paperheight/9\relax] \setuplayout [grid=yes, backspace=\measure{gridwidth}, width=\dimexpr6\measure{gridwidth}\relax, topspace=\measure{gridheight}, height=\dimexpr7\measure{gridheight}\relax, leftmargin=\zeropoint, rightmargin=\zeropoint

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

2011-04-22 Thread Wolfgang Schuster
Am 22.04.2011 um 14:04 schrieb Oliver Buerschaper: Also I'd like to typeset the page number flush with the lower border of the footer frame. How would I achieve that? \setuppagenumbering[strut=no] Wolfgang ___

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

2011-04-22 Thread Oliver Buerschaper
Also I'd like to typeset the page number flush with the lower border of the footer frame. How would I achieve that? \setuppagenumbering[strut=no] That's wonderful! Any idea about the other thing? Thanks, Oliver

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

2011-04-22 Thread Oliver Buerschaper
Also I'd like to typeset the page number flush with the lower border of the footer frame. How would I achieve that? \setuppagenumbering[strut=no] I just realized that when I use oldstyle figures any pagenumber with a descender is bumped upwards a little. Is there a way to have them

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

2011-04-22 Thread Wolfgang Schuster
Am 22.04.2011 um 19:32 schrieb Oliver Buerschaper: Also I'd like to typeset the page number flush with the lower border of the footer frame. How would I achieve that? \setuppagenumbering[strut=no] I just realized that when I use oldstyle figures any pagenumber with a descender is

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

2011-04-22 Thread Oliver Buerschaper
I just realized that when I use oldstyle figures any pagenumber with a descender is bumped upwards a little. Is there a way to have them protrude (vertically) beyond the frame border? This should do the trick: \define[1]\PagenumberCommand {\smash[d]{#1}} \setuppagenumbering [

Re: [NTG-context] Grid typesetting and inline math

2011-04-21 Thread Christoph Redecker
the shown effect is desired. The \startlinecorrection ... \stoplinecorrection description in the wiki is also no help. What does it do and how does it differ from a globally enabled grid? Regards, Christoph Am 20.04.2011 12:31, schrieb Christoph Redecker: Thanks for the suggestion! With grid

[NTG-context] Grid typesetting and inline math

2011-04-20 Thread Christoph Redecker
Hello, I'm struggling with the grid. I've stepped from LaTeX to luaLaTeX for a simpler font selection, and from luaLaTeX to ConTeXt for getting a usable grid (because I was told that it supports typesetting on a grid). Now that I got font selection working as desired in ConTeXt, the grid

Re: [NTG-context] Grid typesetting and inline math

2011-04-20 Thread Khaled Hosny
On Tue, Apr 19, 2011 at 11:59:34AM +0200, Christoph Redecker wrote: Hello, I'm struggling with the grid. I've stepped from LaTeX to luaLaTeX for a simpler font selection, and from luaLaTeX to ConTeXt for getting a usable grid (because I was told that it supports typesetting on a grid). Now

Re: [NTG-context] Grid typesetting and inline math

2011-04-20 Thread Christoph Redecker
Thanks for the suggestion! With grid=on, I get a different result, but it's not better. Code: Testing inline math: \gform{x_2 = \sqrt{\frac{a}{b_2}}}. The following line should be seperated from this one with half a line, but it isn't. In this case, there is no space and the root sign reaches

[NTG-context] Defining new head grid problem

2011-03-19 Thread Bart Wise
The code below prints out the word Text: in bold and then follows with the text. However, if I turn the grid on (as is coded below), the first line of the paragraph is printed, followed by a blank line, followed by the remaining text. The blank line after the first line should

Re: [NTG-context] Defining new head grid problem

2011-03-19 Thread Wolfgang Schuster
Am 19.03.2011 um 12:57 schrieb Bart Wise: The code below prints out the word Text: in bold and then follows with the text. However, if I turn the grid on (as is coded below), the first line of the paragraph is printed, followed by a blank line, followed by the remaining text. The blank

Re: [NTG-context] Defining new head grid problem

2011-03-19 Thread Bart Wise
Wolfgang, Works great. Thanks! Bart On Sat, Mar 19, 2011 at 6:54 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.03.2011 um 12:57 schrieb Bart Wise: The code below prints out the word Text: in bold and then follows with the text. However, if I turn the grid

[NTG-context] Problem with typing to the grid

2011-02-18 Thread Jaroslav Hajtmar
Hello ConTeXist, Is there a way to achieve alignment all of texts in a grid lines? The attached example shows, that inserting of picture violate fixed spacing inside the \startframedtext \stopframedtext environment (on left on line 22 ) and final sequel of the text is not right too. (from line

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Oliver Buerschaper
Not sure if there are side effects but this works (requires mkiv and a recent installation): \setuplayout[grid=yes]\showgrid \setupbodyfont[14pt] \usemodule[annotation] \define[2]\ZitatCommand {\topskip\dimexpr\topskip+\lineheight/2\relax \startnarrower “#2”% \stopnarrower

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Wolfgang Schuster
Am 14.02.2011 um 12:20 schrieb Oliver Buerschaper: Unfortunately introducing a \blank just before the last \input tufte in the above example breaks grid alignment. The afterspace-value from \stopzitat is ignored with your \blank and you get only one empty line while you need one and a half

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Oliver Buerschaper
Unfortunately introducing a \blank just before the last \input tufte in the above example breaks grid alignment. The afterspace-value from \stopzitat is ignored with your \blank and you get only one empty line while you need one and a half (one from the \blank command and a half from

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Oliver Buerschaper
In the long run would it be possible in grid mode to have \blank insert 1+x lines of vertical space where x is adjusted such that the following material is aligned on the grid? … or simply make it not swallow the previous halfline correction from the quotation? Oliver

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Wolfgang Schuster
Am 14.02.2011 um 18:18 schrieb Oliver Buerschaper: In the long run would it be possible in grid mode to have \blank insert 1+x lines of vertical space where x is adjusted such that the following material is aligned on the grid? … or simply make it not swallow the previous halfline

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-12 Thread Wolfgang Schuster
installation): \setuplayout[grid=yes]\showgrid \setupbodyfont[14pt] \usemodule[annotation] \define[2]\ZitatCommand {\topskip\dimexpr\topskip+\lineheight/2\relax \startnarrower “#2”% \stopnarrower} \defineannotation [zitat] [alternative=command, command=\ZitatCommand, spacebefore

[NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid=verytolerant] % - overlapping \setupheads[expansion=yes] \starttext

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder andreas.har...@rz-online.de wrote: Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 14:46 schrieb luigi sc test-toc-on-grid.pdf Description: Adobe PDF document arso: On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder andreas.har...@rz-online.de wrote: Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder ahar...@uni-koblenz.de wrote: Am 11.02.2011 um 14:46 schrieb luigi sc arso: On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder andreas.har...@rz-online.de wrote: Hi all, if one sets the grid option to verytolerant the list entries overlap

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 15:08 schrieb luigi scarso: On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder ahar...@uni-koblenz.de wrote: Am 11.02.2011 um 14:46 schrieb luigi sc arso: On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder andreas.har...@rz-online.de wrote: Hi all, if one sets the grid

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
Harder andreas.har...@rz-online.de wrote: Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid=verytolerant

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Wolfgang Schuster
Am 11.02.2011 um 14:33 schrieb Andreas Harder: Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
On Fri, Feb 11, 2011 at 3:27 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 11.02.2011 um 14:33 schrieb Andreas Harder: Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Wolfgang Schuster
Am 11.02.2011 um 15:32 schrieb luigi scarso: There is no grid option “verytolerant”. true, the same with \setuplayout[grid=ztolerant] If I recall correctly there a way to see the in the log. Depends on the commands, sometimes the value is checked but no with gridsnapping. The “yes” value

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
Am 11.02.2011 um 15:55 schrieb Wolfgang Schuster: Am 11.02.2011 um 15:32 schrieb luigi scarso: There is no grid option “verytolerant”. true, the same with \setuplayout[grid=ztolerant] If I recall correctly there a way to see the in the log. Depends on the commands, sometimes

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-11 Thread Oliver Buerschaper
I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] spacebefore={force,halfline} Hello

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-23 Thread Oliver Buerschaper
I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] spacebefore={force,halfline} Hello

[NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Oliver Heins
Hello, I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote] [spacebefore=halfline] However, this fails when the blockquote

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Wolfgang Schuster
Am 20.01.2011 um 17:04 schrieb Oliver Heins: Hello, I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3 of the example file). \setupdelimitedtext [blockquote

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-01-20 Thread Oliver Heins
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 20.01.2011 um 17:04 schrieb Oliver Heins: Hello, I want to have both a halfline space before and after blockquotations. Normally, this works fine; after the quotation the main text snaps back to the grid (see page 3

Re: [NTG-context] \startquotation, grid and footnote

2011-01-16 Thread Oliver Heins
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: \mainlanguage[de] \setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot] With MkIV you can just write \setuplanguage[de][leftquotation=»,rightquotation=«] \setupquotation[

[NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Oliver Heins
Hello, I have to typeset paragraphed quotations in a smaller font (and maybe a smaller baselineskip, but this is not necessary) and with larger margins. However, after the quotation, the main text has to be on the grid again. Main Text Main Text

Re: [NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Oliver Heins
I forgot to say that I use mkiv. olli -- Oliver Heins he...@sopos.org http://www.sopos.org/olli GPG: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments:

Re: [NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Wolfgang Schuster
Am 15.01.2011 um 11:44 schrieb Oliver Heins: Hello, I have to typeset paragraphed quotations in a smaller font (and maybe a smaller baselineskip, but this is not necessary) and with larger margins. However, after the quotation, the main text has to be on the grid again

[NTG-context] heading in margin + grid

2010-11-21 Thread Philipp Gesang
Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that: ···8 \def\text{knuth} \setuplayout[grid=yes] \showgrid \setuphead[section][ %grid=yes, style={\tf\bf\color[red

Re: [NTG-context] heading in margin + grid

2010-11-21 Thread Wolfgang Schuster
Am 21.11.2010 um 12:28 schrieb Philipp Gesang: Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that: \setuplayout[grid=yes]\showgrid \define[2]\SectionCommand {\inleftmargin{#2}} \setuphead [section] [alternative=text, style

Re: [NTG-context] heading in margin + grid

2010-11-21 Thread Philipp Gesang
On 2010-11-21 13:22:32, Wolfgang Schuster wrote: Am 21.11.2010 um 12:28 schrieb Philipp Gesang: Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that: \setuplayout[grid=yes]\showgrid \define[2]\SectionCommand

Re: [NTG-context] Grid typesetting

2010-10-30 Thread Andrzej Orłowski-Skoczyk
On 10/23/2010 06:18 AM, Wolfgang Schuster wrote: \setuplayout[grid=yes] %\showgrid \starttext \title{Example texts} \subject{Knuth} \input knuth \subject{Tufte} \input tufte \stoptext Thank you very much. It worked. This puzzled me a lot, as seemingly the same setup refused to work

Re: [NTG-context] Grid typesetting

2010-10-30 Thread Wolfgang Schuster
Am 30.10.2010 um 21:42 schrieb Andrzej Orłowski-Skoczyk: On 10/23/2010 06:18 AM, Wolfgang Schuster wrote: \setuplayout[grid=yes] %\showgrid \starttext \title{Example texts} \subject{Knuth} \input knuth \subject{Tufte} \input tufte \stoptext Thank you very much. It worked

[NTG-context] Grid typesetting

2010-10-22 Thread Andrzej Orłowski-Skoczyk
Hello Contexters I've been typesetting (mainly books and reports) in LaTeX for ca 15 years now. Recently I got really fed up with various problems related to typesetting on grid in LaTeX, and this is how I learned about ConTeXt. You can't imagine how excited I was when I started reading about

Re: [NTG-context] Grid typesetting

2010-10-22 Thread Wolfgang Schuster
Am 22.10.2010 um 21:59 schrieb Andrzej Orłowski-Skoczyk: Hello Contexters I've been typesetting (mainly books and reports) in LaTeX for ca 15 years now. Recently I got really fed up with various problems related to typesetting on grid in LaTeX, and this is how I learned about ConTeXt

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

2010-10-03 Thread Talal Al-Azem
; it wouldn't work if split across pages: %%% Donald Arseneau’s Gridblock Environment %%% % For placing paragraphs into a box, and that box then % being placed on a “grid” of the baselineskip. This ensures % that following paragraphs are also on the grid. \makeatletter \...@ifundefined{@tempdimc}{\newdim

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

2010-10-03 Thread Hans Hagen
if the entire paragraph was on one page; it wouldn't work if split across pages: does \setulayout[grid=yes] give acceptable results? - Hans Hagen | PRAGMA ADE Ridderstraat 27

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

2010-10-03 Thread Wolfgang Schuster
the grid (though obviously the individual Arabic lines of the paragraph would not). Currently, when I typeset an English paragraph, followed by an Arabic paragraph, followed by an English paragraph, the second English paragraph is no longer on the grid, having been throw off by the Arabic one

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

2010-10-03 Thread Talal Al-Azem
Hello Hans and Wolfgang, Hans: Thanks for your reply. No, simply setting up the grid does not work. Because of the size of Arabic fonts relative to latin fonts, the Arabic paragraph naturally needs a bit more interlinear spacing; as such, I do not expect the paragraph to lineup on the grid

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

2010-10-03 Thread Talal Al-Azem
testminimal.tex Description: Binary data testminimal.pdf Description: Adobe PDF document On 3 Oct 2010, at 22:47, Talal Al-Azem wrote: Hello Hans and Wolfgang, Hans: Thanks for your reply. No, simply setting up the grid does not work. Because of the size of Arabic fonts relative to latin

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

2010-10-03 Thread Hans Hagen
attachments for an example. does \automigrateinserts help? (concerning the grid ... at some point we can associate lineht/dp with a font ... it's rather trivial to influence) - Hans Hagen

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

2010-10-03 Thread Talal Al-Azem
? It does indeed. Many thanks, Hans, for your quick responses and help! Kind regards, Talal (concerning the grid ... at some point we can associate lineht/dp with a font ... it's rather trivial to influence

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

2010-10-02 Thread Talal Al-Azem
Dear all, This is important for anyone working with mixed language (font) texts. In my example, the overall document is Latin-based (e.g. English), with a paragraph of Arabic text; I want this Arabic paragraph as a whole to fit onto the grid (though obviously the individual Arabic lines

[NTG-context] grid typesetting with Mark IV

2010-09-17 Thread sebastien-listes
Hi, I don't get the expected result when I compile the following code with context minimal (ConTeXt ver: 2010.09.14 23:27 MKIV). With mk II (ConTeXt ver: 2010.09.14 23:27 MKII) it's ok -- lines are well aligned on the grid. Any clue? Here's the code: \setuplayout[grid=yes,marking

Re: [NTG-context] natural tables -- split 'n grid

2010-09-12 Thread Hans Hagen
On 11-9-2010 6:03, Philipp Gesang wrote: Hi, line correction leads to unwanted vertical spacing in split natural tables. Example (in both MkII and MkIV): ··8· %\setuplayout[grid=yes] % not required to reproduce it \starttext

[NTG-context] natural tables -- split 'n grid

2010-09-11 Thread Philipp Gesang
Hi, line correction leads to unwanted vertical spacing in split natural tables. Example (in both MkII and MkIV): ··8· %\setuplayout[grid=yes] % not required to reproduce it \starttext \dorecurse{4}{\input knuth\par} \startlinecorrection

Re: [NTG-context] caught in the grid

2010-08-12 Thread Steffen Wolfrum
!! Have a look, please: I have no time now. I will document the grid snapper once I've finished the (still somewhat experimental) mechanism. OK. ... Just to avoid basic mistakes: What is right syntax (direct/indirect)? The results differ (see below) ... Steffen \definegridsnapping

Re: [NTG-context] caught in the grid

2010-08-12 Thread Piotr Kopszak
: Hi, as there is no setup for paragraphs (see thread before), I really don' know how to come out of this trap: I need a tight interlinespace for the normal body text, but no lunatic headings!! Have a look, please: I have no time now. I will document the grid snapper once I've finished

Re: [NTG-context] caught in the grid

2010-08-12 Thread Hans Hagen
On 12-8-2010 12:30, Piotr Kopszak wrote: You can play with embedding \section inside \start and \stoplinecorrection to get rid of overlapping, but I'm not sure if it's the right thing to do. there will be more control over nested snapping as said, the current mechanism is experimental

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

[NTG-context] caught in the grid

2010-08-11 Thread Steffen Wolfrum
\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 grid key

Re: [NTG-context] caught in the grid

2010-08-11 Thread Hans Hagen
will document the grid snapper once I've finished the (still somewhat experimental) mechanism. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] the grid (MkIV)

2010-04-27 Thread Hans Hagen
On 19-4-2010 1:37, Steffen Wolfrum wrote: Hi, how can I exclude a section head from grid? Just compare setuplayout with grid=yes/no. Is there a solution? \showgrid \starttext \setuplayout[grid=yes]% [grid=no] \setuphead[chapter][grid=none] \chapter{one} \page \chapter{one\\line

Re: [NTG-context] the grid (MkIV)

2010-04-27 Thread Hans Hagen
On 27-4-2010 7:14, Steffen Wolfrum wrote: I was reading spac-ver.mkiv on gridsnapping values ... but didn't find the local switch. What's it about? using local interlinespace vs bodyfont related -

Re: [NTG-context] the grid (MkIV)

2010-04-22 Thread Steffen Wolfrum
No answer at all ... Does that mean that nobody uses MkIV grid-typesting? Or does that mean that excluding section heads from gridsnapping is impossible? Steffen Am 19.04.2010 um 13:37 schrieb Steffen Wolfrum: Hi, how can I exclude a section head from grid? Just compare

Re: [NTG-context] the grid (MkIV)

2010-04-22 Thread luigi scarso
On Thu, Apr 22, 2010 at 1:40 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: No answer at all ... Does that mean that nobody uses MkIV grid-typesting? Or does that mean that excluding section heads from gridsnapping is impossible? sorry, no answer BTW I was experimenting with \vtop

Re: [NTG-context] the grid (MkIV)

2010-04-22 Thread Taco Hoekwater
Steffen Wolfrum wrote: No answer at all ... Does that mean that nobody uses MkIV grid-typesting? Nobody that wants to exclude section heads from the grid, it seems. Or does that mean that excluding section heads from gridsnapping is impossible? I would say that \setuphead[chapter][grid

Re: [NTG-context] the grid (MkIV)

2010-04-22 Thread Hans Hagen
On 22-4-2010 2:18, Taco Hoekwater wrote: Steffen Wolfrum wrote: No answer at all ... Does that mean that nobody uses MkIV grid-typesting? Nobody that wants to exclude section heads from the grid, it seems. Or does that mean that excluding section heads from gridsnapping is impossible? I

Re: [NTG-context] the grid (MkIV)

2010-04-22 Thread Taco Hoekwater
Hans Hagen wrote: On 22-4-2010 2:18, Taco Hoekwater wrote: Steffen Wolfrum wrote: No answer at all ... Does that mean that nobody uses MkIV grid-typesting? Nobody that wants to exclude section heads from the grid, it seems. Or does that mean that excluding section heads from gridsnapping

[NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Jan Pohanka
Hello, I'm trying to typeset on the grid, but I also need to reduce vertical spacing around headings. Unfortunately when i specify the 'before/after' setting for head, grid typesetting fails. Is there any option to make \blank more flexible? (I'm using MKII) example: \setupoutput[pdftex

Re: [NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Peter Rolf
Hello Jan, Am 20.04.2010 14:11, schrieb Jan Pohanka: Hello, I'm trying to typeset on the grid, but I also need to reduce vertical spacing around headings. Unfortunately when i specify the 'before/after' setting for head, grid typesetting fails. Is there any option to make \blank more

[NTG-context] the grid (MkIV)

2010-04-19 Thread Steffen Wolfrum
Hi, how can I exclude a section head from grid? Just compare setuplayout with grid=yes/no. Is there a solution? \showgrid \starttext \setuplayout[grid=yes]% [grid=no] \setuphead[chapter][grid=none] \chapter{one} \page \chapter{one\\line} \page \chapter{one\\line\\line} \stoptext

[NTG-context] Grid typesetting, colums and vertical spacing

2010-04-19 Thread Honza Pohanka
Hello, I'm trying to typeset on the grid, but I also need to reduce vertical spacing around headings. Unfortunately when i specify the 'before/after' setting for head, grid typesetting fails. Is there any option to make \blank more flexible? (I'm using MKII) example: \setupoutput[pdftex

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Hans Hagen
On 13-4-2010 3:33, Michael Saunders wrote: Peter M?nster wrote: \setupfootnotes[numbercommand=, textcommand=, style=, textstyle=, bodyfont=] Thanks, Peter. With some experimentation I got what I wanted. For the record, I'm using: \definefontfeature[su][body][sups=yes,ordn=yes]%superior

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Michael Saunders
numr feature which gives me exactly the right shape and height, but I have a little space between the footnotes. How do I eliminate the space? Maybe by setting a verytolerant grid for the footnotes? I don't know how

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Hans Hagen
On 14-4-2010 4:51, Michael Saunders wrote: i was not even aware that \newcommand was there ... probably more a catch for bibtex issues I have been using it a lot since, although Context seems to use a lot of brackets, it won't allow nested ones. For example, I have to use:

[NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-13 Thread Michael Saunders
their own grid to prevent this? I am already using \setuplayout[...,grid=verytolerant], which I thought would take care of it. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Mikael Persson
Dear list, With the following example: \setuplayout[grid=yes] \setuphead[section][alternative=text] \starttext \section{Test}\input knuth \stoptext I get the attached result. I would expect no empty line between the section line and the rest of the paragraph. Any advices? Best regards, Mikael

Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Wolfgang Schuster
Am 19.03.10 08:21, schrieb Mikael Persson: Dear list, With the following example: \setuplayout[grid=yes] \setuphead[section][alternative=text] \setuphead[section][alternative=text,strut=no] Wolfgang

Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Mikael Persson
On Fri, Mar 19, 2010 at 3:10 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.03.10 08:21, schrieb Mikael Persson: Dear list, With the following example: \setuplayout[grid=yes] \setuphead[section][alternative=text] \setuphead[section][alternative=text,strut

Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Alex Lubberts
My solution was ... : \setuphead[section][grid={low,fit}] Regards, Alex On vr, 2010-03-19 at 15:10 +0100, Wolfgang Schuster wrote: Am 19.03.10 08:21, schrieb Mikael Persson: Dear list, With the following example: \setuplayout[grid=yes] \setuphead[section][alternative=text

[NTG-context] MkIV grid ?

2010-02-17 Thread Steffen Wolfrum
Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} Steffen

Re: [NTG-context] MkIV grid ?

2010-02-17 Thread Hans Hagen
On 17-2-2010 10:58, Steffen Wolfrum wrote: Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on grid snapping (mkiv). What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} i have

Re: [NTG-context] Grid, Footnotes and MkIV

2010-02-14 Thread Hans Hagen
On 14-2-2010 19:39, Steffen Wolfrum wrote: Am 14.02.2010 um 19:25 schrieb Hans Hagen: On 14-2-2010 19:15, Steffen Wolfrum wrote: \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt] \setuplayout [grid=yes

[NTG-context] smaller inter line space for headings (on a grid)

2009-12-30 Thread Andreas Harder
Hi all, I have three questions: 1) Is there a convenient way to reduce the inter line space for an head on a grid? First I tried \setuphead[section][style={\ssb\setupinterlinespace[line=1ex]}]—no effect. Finally I defined three commands to get it work. Perhaps someone knows a better way. 2

Re: [NTG-context] grid snapping (mkiv)

2009-11-19 Thread Hans Hagen
Peter Rolf wrote: Hi, is the 'grid={line,??pt}' functionality already implemented in mkiv? I use it in a multicolumn environment and all I get is snapping to the 'full' baseline. \setuphead[section] [%style={\SectionHeaderFont}, style={\switchtobodyfont[12.3pt]\ss\bf\setupinterlinespace

Re: [NTG-context] stay on grid in double column

2008-08-14 Thread Jelle Huisman
Jelle Huisman wrote: Hi, I have text with a small intro section in a double column environment. The main text is set on a grid and the intro text is slightly off-grid with a \vskip -2pt before and a \vskip 2pt after the intro. As this sample shows this works fine, until the intro text

Re: [NTG-context] stay on grid in double column

2008-08-14 Thread Taco Hoekwater
Jelle Huisman wrote: the current paragraph over columns? (Basically I want to keep all the B's on the grid and all the A's \vskipped.) Should I conclude that this is not possible? My first (and second) answer would indeed be not possible. Best wishes, Taco

Re: [NTG-context] stay on grid in double column

2008-08-14 Thread Jelle Huisman
Hans Hagen wrote: ok, you suffered enough ... so, this is for your eyes only because otherwise i get complaints about a non documented feature: \synchronizegrid (we needed it once in a project; it worked ok there but was never tested being that which is why it's still on cont-new) (...)

Re: [NTG-context] stay on grid in double column

2008-08-14 Thread Hans Hagen
Jelle Huisman wrote: Jelle Huisman wrote: Hi, I have text with a small intro section in a double column environment. The main text is set on a grid and the intro text is slightly off-grid with a \vskip -2pt before and a \vskip 2pt after the intro. As this sample shows this works fine

[NTG-context] stay on grid in double column

2008-08-13 Thread Jelle Huisman
Hi, I have text with a small intro section in a double column environment. The main text is set on a grid and the intro text is slightly off-grid with a \vskip -2pt before and a \vskip 2pt after the intro. As this sample shows this works fine, until the intro text is broken over two columns

Re: [NTG-context] Bigger interline space and grid

2008-06-22 Thread Hans Hagen
Aditya Mahajan wrote: Hi, I cannot figure out how to increase the interline space with grid snapping. The following does not work \setuplayout[grid=yes] \setupinterlinespace[auto,big] \setupwhitespace [medium] \setupindenting [medium,yes] \showgrid \starttext \dorecurse{4

[NTG-context] Bigger interline space and grid

2008-06-21 Thread Aditya Mahajan
Hi, I cannot figure out how to increase the interline space with grid snapping. The following does not work \setuplayout[grid=yes] \setupinterlinespace[auto,big] \setupwhitespace [medium] \setupindenting [medium,yes] \showgrid \starttext \dorecurse{4}{\input knuth \endgraf} \stoptext

Re: [NTG-context] Bigger interline space and grid

2008-06-21 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi, I cannot figure out how to increase the interline space with grid snapping. The following does not work You will probably have to adjust the default interlinespace because that is what is used by the grid snapping routines: \setuplayout[grid=yes

Re: [NTG-context] Bigger interline space and grid

2008-06-21 Thread Aditya Mahajan
On Sat, 21 Jun 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: Hi, I cannot figure out how to increase the interline space with grid snapping. The following does not work You will probably have to adjust the default interlinespace because that is what is used by the grid snapping

Re: [NTG-context] need help with creating a grid with context

2007-10-11 Thread Wolfgang Schuster
2007/10/10, Mojca Miklavec [EMAIL PROTECTED]: On 10/10/07, Wolfgang Schuster wrote: 2007/10/10, Mojca Miklavec: On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost

Re: [NTG-context] need help with creating a grid with context

2007-10-11 Thread Wolfgang Schuster
2007/10/10, Peter Rolf [EMAIL PROTECTED]: Hi Peter, MASON Peter J schrieb: I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing \setuplayout[leftmargin=0pt

Re: [NTG-context] need help with creating a grid with context

2007-10-10 Thread Peter Rolf
Hi Peter, MASON Peter J schrieb: I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing \setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt

Re: [NTG-context] need help with creating a grid with context

2007-10-10 Thread Mojca Miklavec
On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost? \starttext \startMPcode % or \startMPpage for i=0 upto 10: for j=0 upto 20: fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm

<    1   2   3   4   >