Re: [NTG-context] Trimming strings and Lua string.trim question

2014-03-06 Thread Hans Hagen
saved string in Lua you can see that blank lines are removed from the text. Wolfgang Indeed. This does build without error, but the utilities.strings.striplong result is worse than the string.strip result, with some additional whitespace at the end of the test string from the earlier examp

Re: [NTG-context] Trimming strings and Lua string.trim question

2014-03-05 Thread Rik Kabel
string in Lua you can see that blank lines are removed from the text. Wolfgang Indeed. This does build without error, but the utilities.strings.striplong result is worse than the string.strip result, with some additional whitespace at the end of the test string

Re: [NTG-context] Trimming strings and Lua string.trim question

2014-03-05 Thread Rik Kabel
On 2014-03-05 03:24, Hans Hagen wrote: On 3/5/2014 5:45 AM, Rik Kabel wrote: I am trying to strip all leading and trailing whitespace from a string. I have tried two methods, neither of which is satisfactory. The first method uses \ignorespaces and \removeunwantedspaces. This fails to strip

Re: [NTG-context] Trimming strings and Lua string.trim question

2014-03-05 Thread Hans Hagen
On 3/5/2014 5:45 AM, Rik Kabel wrote: I am trying to strip all leading and trailing whitespace from a string. I have tried two methods, neither of which is satisfactory. The first method uses \ignorespaces and \removeunwantedspaces. This fails to strip leading and trailing newlines. The second

[NTG-context] Trimming strings and Lua string.trim question

2014-03-04 Thread Rik Kabel
I am trying to strip all leading and trailing whitespace from a string. I have tried two methods, neither of which is satisfactory. The first method uses \ignorespaces and \removeunwantedspaces. This fails to strip leading and trailing newlines. The second method uses the Lua string.strip

[NTG-context] Strange behaviour with columnar itemized text

2014-02-27 Thread Thangalin
The second issue, however, leaves me perplexed for a solution to avoid the issue while maintaining the desired vertical whitespace (see (http://i.imgur.com/n46zEhf.png) between items. Any suggestions? Hopefully these are sufficiently minimal examples. ] 8< overlapping text 8< [

[NTG-context] Font affects columnar list layout

2014-02-20 Thread Thangalin
I can achieve without losing any content contains too much extraneous whitespace: http://i.imgur.com/A3RhnjS.png Thank you! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
und for this deficiency of a standard solution? All lines in my book have a certain (default) linespacing. TOC entries are rendered (by default) using bigger linespacing. I just wanted to make that TOC distance smaller a bit. Is this really the only solution? \definegridsnapping[crap] [fit] % wha

Re: [NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
but here I suspect it is ignored as my chapter > > start on a new page. > > > > before={\blank[force,20mm]}, > > whitespace at the top of a page is discarded otherwise I was hoping there is a simple option for this (any counterpart to XSL-FO space-before.conditionality=&q

Re: [NTG-context] Space before chapters

2013-11-19 Thread Hans Hagen
apter{Intro}text \startfrontmatter \startbodymatter \chapter{Chapter}text \stopbodymatter \stoptext Any help is highly appreciated. before={\blank[force,20mm]}, whitespace at the top of a page is discarded othe

Re: [NTG-context] Another issue with my magazine

2013-09-05 Thread Hans Hagen
On 9/4/2013 9:51 PM, Mikoláš Štrajt wrote: On 2013-09-04 Hans Hagen wrote: > first of all you need to switch to mkiv ... more change on tips and solutions then OK. I have switched to mkiv. What now about my head whitespace problems. well, first provide a mkiv example ... less code than

Re: [NTG-context] Another issue with my magazine

2013-09-04 Thread Mikoláš Štrajt
On 2013-09-04 Hans Hagen wrote: > first of all you need to switch to mkiv ... more change on tips and solutions then OK. I have switched to mkiv. What now about my head whitespace problems. -- Mikolas Strajt___

Re: [NTG-context] Another issue with my magazine

2013-09-04 Thread Hans Hagen
On 9/3/2013 11:10 PM, Mikoláš Štrajt wrote: % Hello All! % % In the folowing style, I need to do some whitespace tweaks. Unfortunately, I didn't found solutions in manual, so I am asking here. % % I need: % % - make first paragraph after author name noindented, i tried to put some \noin

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
% Hello All! % % In the folowing style, I need to do some whitespace tweaks. Unfortunately, I didn't found solutions in manual, so I am asking here. % % I need: % % - make first paragraph after author name noindented, i tried to put some \nointdent here, but without any effect % - make ver

[NTG-context] [util-jsn] incorrect handling of escapes

2013-07-07 Thread Philipp Gesang
lpeg.Cs, lpeg.Ct, lpeg.Cf, lpeg.Cg, lpeg.Cp local lpegmatch = lpeg.match local format = string.format local utfchar = utf.char @@ -42,7 +42,15 @@ local whitespace = lpeg.patterns.whitespace local optionalws = whitespace^0 -local escape = C(P("\\u") / "0x" * S("09

Re: [NTG-context] Side-by-side framed text blocks

2013-06-07 Thread honyk
> \input knuth >> \stopframed >> \stopcontent >> \startcaption >> Some description >> \stopcaption >> \stopcombination >> >> \stoptext Thanks, it helped a lot! I've added this to control the gap (width) between text bl

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
? More from \loadfontgoodies[lm]? To what file does that resolve? The commands loads lm.lfg The somewhat simpleminded idea of adding \ignorespaces at the end of the \definetypeface macro and friends, will not work I am afraid. Is there a possibilty to remove all whitesp

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
\loadfontgoodies[lm]? To what file does that >> resolve? > > The commands loads lm.lfg > The somewhat simpleminded idea of adding \ignorespaces at the end of the \definetypeface macro and friends, will not work I am afraid. Is there a possibilty to remove all whitespace from th

Re: [NTG-context] Deactivating Grid-Setting for a single paragraph

2013-04-30 Thread H. Özoguz
Am 30.04.2013 12:00, schrieb ntg-context-requ...@ntg.nl: When you use the grid you have to restrict yourself and use fixed values for the interlinespace. The correction of the whitespace after the increased linespace can be calculated and compensated by half lines in the \blank command. Thansk

Re: [NTG-context] Deactivating Grid-Setting for a single paragraph

2013-04-29 Thread Wolfgang Schuster
from setting arabic words into the german text, for > arabic I have to use a bigger font, and so the problem simulated here arises. When you use the grid you have to restrict yourself and use fixed values for the interlinespace. The correction of the whitespace after the increased linespace can

[NTG-context] A simpler way to make a bibliography

2013-04-23 Thread john Culleton
tead putting a \goodbreak between entries but figured it wasn't worth the bother. Since I call this fragment a \chapter it is listed in the TOC. I had to put \whitespace[medium] right after the \startbackmatter command just as I did after \startbodymatter. for my purposes for this task si

Re: [NTG-context] strange index behaviour with entries inside separatedlist

2013-04-14 Thread Wolfgang
definitely present entity an din order to make this work: test \index{xxx} test \index will bind to the next paragraph when it's a loner otherwise we would get test \index{xxx} test which could show up as an unwanted extra whitespace and/or page break with dislocated index entry this ki

Re: [NTG-context] strange index behaviour with entries inside separatedlist

2013-04-12 Thread Hans Hagen
this work: test \index{xxx} test \index will bind to the next paragraph when it's a loner otherwise we would get test \index{xxx} test which could show up as an unwanted extra whitespace and/or page break with dislocated index entry this kind of behaviour has always been pa

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
On Mon, Apr 08, 2013 at 05:49:51PM +0200, Hans Hagen wrote: > On 4/8/2013 1:21 PM, Devendra Ghate wrote: > >Dear all, > > > >I have noticed a new problem in the \startalign environment recently. > >\startalign adds whitespace after the formula. If I remove the *\NR* fro

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Hans Hagen
On 4/8/2013 1:21 PM, Devendra Ghate wrote: Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white space disappears. But I need to keep it for numbering the last

[NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white space disappears. But I need to keep it for numbering the last equation. In any case, I thought that the

Re: [NTG-context] (no subject)

2013-03-20 Thread Sietse Brouwer
> This is more of a follow-up question than an answer: wouldn't > \blank[nowhite] be better? Quite possibly. When I read "I want to be able to adjust the vertical white space" my mind went towards adding whitespace instead of removing it, but that was just an assumption.

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 14:58 schrieb "Meer H. van der" : > Solved. Before was \setupwhitespace[small], for this I had to surround > everything with > \start > \setupwhitespace[none] > .. > \stop You can also prevent the space with the following setup for the narrower environment. \setupnarrower

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Meer H. van der
Solved. Before was \setupwhitespace[small], for this I had to surround everything with \start \setupwhitespace[none] .. \stop Hans van der Meer On 16 mrt. 2013, at 13:44, Wolfgang Schuster wrote: > > Am 16.03.2013 um 12:45 schrieb H. van der Meer : > >> I find that in >> >> intro text >>

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 12:45 schrieb H. van der Meer : > I find that in > > intro text > \startnarrower > narrow text > \stopnarrower > after text > > blank vertical space is inserted both before and after the narrower block. > How can I avoid that? I can’t see a space before/after the environment.

[NTG-context] narrower and whitespace

2013-03-16 Thread H. van der Meer
I find that in intro text \startnarrower narrow text \stopnarrower after text blank vertical space is inserted both before and after the narrower block. How can I avoid that? Hans van der Meer ___ If your questio

Re: [NTG-context] new beta

2013-03-11 Thread Hans Hagen
On 3/11/2013 6:13 PM, Sietse Brouwer wrote: I don't understand what they whitespace does: I tried to test it with this code, and changing the number did nothing. for i=0,10 do print(string.formatters("%wsietse",i)) end for i=9,0,-1 do print(string.formatters(&qu

Re: [NTG-context] new beta

2013-03-11 Thread Sietse Brouwer
Hi, I chucked it in here, for lack of a better place. http://wiki.contextgarden.net/String_Manipulation#String_formatter I don't understand what they whitespace does: I tried to test it with this code, and changing the number did nothing. \starttext \startluacode x = 999 context(&q

[NTG-context] new beta

2013-03-10 Thread Hans Hagen
boolean (logic) %l boolean BOOLEAN %L boolean whitespace %...w More info can be found in cld-mkiv.pdf. There I also explain how to create specific formatters and how to extend them. In the default formatter there are two extensions that can be used as: string.format

Re: [NTG-context] Chapter headings macro

2013-02-08 Thread Devendra Ghate
x27;t know why the chapter number font style is not obeyed. If I add *numberstyle=dfont* in *\setuphead*, then the font size is increased but the frame size has spurious space at top and bottom. When I call the macro myself, there is a single whitespace before the chapter heading (as can be s

Re: [NTG-context] Chapter headings macro

2013-02-08 Thread Wolfgang Schuster
t; > I don't know why the chapter number font style is not obeyed. If I add > *numberstyle=dfont* in > *\setuphead*, then the font size is increased but the frame size has spurious > space at top and > bottom. > > When I call the macro myself, there is a single whitesp

[NTG-context] Chapter headings macro

2013-02-07 Thread Devendra Ghate
\setuphead*, then the font size is increased but the frame size has spurious space at top and bottom. When I call the macro myself, there is a single whitespace before the chapter heading (as can be seen in the attached file). I have gone through the wiki as much as possible and I think that I

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Keith J. Schultz
Hi Wolfgang, Am 30.01.2013 um 21:56 schrieb Wolfgang Schuster : > > Am 30.01.2013 um 10:00 schrieb Keith J. Schultz : > >> Hi Everybody, >> [snip, snip] >> Also, it took me awhile to find the setupwhitespace command, because for me >> whitespace can be &g

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Wolfgang Schuster
r words there is no way, that I can find to globally set "standard" > paragraphs!! > > The same goes for indenting of paragraphs. Yes, Yes there are the standard > indenting commands. > > I feel though one should be able to use setupparagraphs for this. > > Also, it

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Alain Delmotte
s!! The same goes for indenting of paragraphs. Yes, Yes there are the standard indenting commands. I feel though one should be able to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Alain Delmotte
ble to use setupparagraphs for this. Also, it took me awhile to find the setupwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would

[NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Keith J. Schultz
upwhitespace command, because for me whitespace can be either horizontal or vertical. I think it would be better to rename it to setupparagraphspacing or something like that. Or at least define a synonym for it. This would make things easier for the casual or beginning user. Maybe I am miss

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-22 Thread Gerben Wierda
antly, that catches ^ and _, >> but what about whitespace etc. Isn;t there a true verbatim that I can use on >> a macro like \currentcomponent? Something along the lines of >> \verbatimexpand{\currentcomponent}? > > Untested: \filename{\currentcomponent} Works. When outs

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Aditya Mahajan
On Sun, 20 Jan 2013, Gerben Wierda wrote: You can add the \nonknuthmode to your document which makes _ and ^ normal characters for text mode. Is that limited to a {}-scope? And more importantly, that catches ^ and _, but what about whitespace etc. Isn;t there a true verbatim that I can use

Re: [NTG-context] Simple question: how do I get the filename in the footer

2013-01-20 Thread Gerben Wierda
main file->component file >>> \setupfootertexts[pagenumber][{\jobname->\currentcomponent}] >>> \startproduct * >>>\input ward \page >>>\component bar >>> \stopproduct >>> >>> And bar.tex: >>> >>

Re: [NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Hans Hagen
On 12/18/2012 9:20 AM, Marco Patzer wrote: Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=", before={\starttabulate[|l|l|]}, after=

[NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Marco Patzer
Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=", before={\starttabulate[|l|l|]}, after=\stoptabulate, first=\NC,last=\NR, left=,ri

Re: [NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
On 23/10/12 21:19, Wolfgang Schuster wrote: > Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez : >> [...] >> But I would like to have different values for interlinear space and >> between paragraphs. >> [...] >> But how can I set the interlinear space value for footnotes? > > \startsetups[setups:foo

Re: [NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Wolfgang Schuster
Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez : > Hi there, > > I have the following settings for a document. > > \setupinterlinespace[line=3.2ex] > \setupwhitespace[medium] > > But I would like to have diferent values for interlinear space and > between paragraphs. > > strc-not.mkvi shows t

[NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
Hi there, I have the following settings for a document. \setupinterlinespace[line=3.2ex] \setupwhitespace[medium] But I would like to have diferent values for interlinear space and between paragraphs. strc-not.mkvi shows that the after option from \setupnotation does the work with the space bet

Re: [NTG-context] ntg-context Digest, Vol 100, Issue 63

2012-10-23 Thread Shane Peelar
no clue ... maybe an error in test.lua > > ... Have you seen the content of "Test.lua"? It just prints some text... > > When I downgraded Ctx to the previous installed version, it works... > > Lukas > > > -- > Ing. Luk?? Proch?zka [mailto:l...@pontex.cz] > Pontex

Re: [NTG-context] TABLE: header with a thick bottom line

2012-10-23 Thread Rogers, Michael K
One issue is that the overlay overlaps the text space (reduces whitespace or potentially overlaps letters). One could use a blank row with a black background, but a row seems to have a minimum height of about 2mm. I discovered the "boffset" key, which can be used with the overlay

Re: [NTG-context] TeXlive 2012 and letter module

2012-09-22 Thread Wolfgang Schuster
hich is now used when omit the first argument of \addressentry. \usemodule[letter] \setupletteroptions [ bodyfont=calluna, whitespace=line] \defineaddressentry [frodo] [lastname={Beutlin}, firstname={Frodo}, address={Der Bühl\\Beutelsend/Hobbingen im Auenland}, 1={Bilbo Beutlin}, 2=

Re: [NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Wolfgang Schuster
Am 20.09.2012 um 11:56 schrieb Marco Patzer : > Hi, > > inside a TEXpage the tolerance and the whitespace settings are not > applied. The whitespace can be set in a setup and the tolerance can > be set directly with \spaceskip, but that seems a bit hackish. > > Is that in

[NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Marco Patzer
Hi, inside a TEXpage the tolerance and the whitespace settings are not applied. The whitespace can be set in a setup and the tolerance can be set directly with \spaceskip, but that seems a bit hackish. Is that intended and is there a cleaner solution? Example: \setuplayout [width=8cm

Re: [NTG-context] Bibliography, unicode strings, @ELECTRONIC, sorting and bibtex

2012-09-18 Thread Philipp Gesang
quot;^1 local _p_and= _p_spaces * P"and" * _p_spaces function citator.get_author_list (rawaut) if not stringfind(rawaut, "and") then return { rawaut } end return split(rawaut, _p_and) end local get_author_list = citator.get_author_list do local wl = P{

[NTG-context] Problem with *lettrine* module in Mk-iv

2012-09-10 Thread Francisco Gracia
s was with the default value of 2 lines as size for the capital. If one indicates a greater number of lines, all of them but the first one are blank and the regular text continues after all that whitespace. As I was not completely sure that my installation of ConTeXt was unobjectable, I tried

Re: [NTG-context] full page images on fixed pages

2012-05-19 Thread Philipp Gesang
u, that works, but the publisher decided to use glue binding > to be able to put colored pages everywhere... Sounds like they are meaning it ... > Can you explain, what standardmakeup really does? I know it’s used > in "free layout" pages. In its natural state (like \startmakeup

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 17:46 schrieb Meer, H. van der: > Macro \thinrules places vertical whitespace before the first of its lines. I > would like to get rid of that one, but have no success in doint that. > Usage is: \par\thinrules[..]\par > > Howto? \starttext a \hrule b \strut

[NTG-context] thinrules

2012-05-17 Thread Meer, H. van der
Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that. Usage is: \par\thinrules[..]\par Howto? H van der Meer ___ If

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
On 2012-04-22 17:16, Marco Pessotto wrote: > > Dear list, > > I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the > right thing to do to preserve eventual initial whitespace. > > Anyway, I encounter the following issues: > >

[NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
Dear list, I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the right thing to do to preserve eventual initial whitespace. Anyway, I encounter the following issues: = cut here = % \starttext this is normal text. \startlines[space=on] this

[NTG-context] [***SPAM***] whitespace also before xtables

2012-04-07 Thread Pablo Rodríguez
Hi there, I'm trying to add a whitespace before an xtable (just to be spaced as any other paragraph). I wanted to do that in the \setupxtable, before=\whitespace or top=\whitespace don't seem to work. Sorry, but which is the right option to do that? Many thanks for your help, Pabl

Re: [NTG-context] howto define MyRule ?

2012-03-20 Thread Wolfgang Schuster
elax \ifdim\ht\currentnoteins>\zeropoint \endgraf \ifvmode \whitespace \noteparameter\c!before \fi %\bgroup %\setupalign[\noteparameter\c!align]% \placenoterule % alleen in ..mode %\par %\egroup +\ifvmod

Re: [NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-31 Thread Aditya Mahajan
goes right to the edge of the page top or bottom without any whitespace. Do you have to use textbackground (assuming, of course, that you are using MkIV)? Regular backgrounds take care of top and bottom offsets: \definebackground [whatever] [topoffset=1cm, bottomoffset=1cm, frame=on

[NTG-context] Still Problems With TextBackground bottomoffset / topoffset

2012-01-30 Thread Kip Warner
of the page top or bottom without any whitespace. Any ideas? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Aditya Mahajan
e not checked why the extra space is being introduced, but what Wolfgang meant was that \setup[key=value] is the same as \setup [ key=value, ] but not the same as \setup [ key=value ] Whitespace is significant in ConTeXt setups. The last style is equivalen

Re: [NTG-context] Whitespacing and Interlinespacing for \startitemize ... \stopitemize

2011-12-29 Thread Wolfgang Schuster
(2) How to define whitespacing? > > > \starttext > > At the first itemization there should be no extra whitespace between the > items. Whitespace and interlinespace should be the same: 0.4em. What can I do > against the whitespace? > > […] > > And here I want to hav

[NTG-context] Whitespacing and Interlinespacing for \startitemize ... \stopitemize

2011-12-29 Thread Jan Heinen
no extra whitespace between the items. Whitespace and interlinespace should be the same: 0.4em. What can I do against the whitespace? \setupwhitespace[0.4em] \setupinterlinespace [0.4em] \startitemize \item aaa aaa aaa aaa aaa

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
you need to do calculations yourself in order to be able to set the > parameters correct ly. > > Check for the setuplayout command. > > \setuplayout > [ backspace= left white+binding correction, > width= text width which leaves enough whitespace at the right includ

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
he setuplayout command. \setuplayout [ backspace= left white+binding correction, width= text width which leaves enough whitespace at the right including some cut space, topspace= top white including cut space, height= text height including header and footer space, leaving en

[NTG-context] MPpage-MPcode

2011-12-01 Thread Hans van der Meer
ntained in a full page with lots of surrounding whitespace. Note without textext doing framed's etc. there is no problem. The problem arises when the pageheight and pagewidth come into play. Hans van der Meer

Re: [NTG-context] extra white after equation

2011-11-13 Thread Meer, H. van der
below. Thanks in advance. Hans van der Meer On 13 nov. 2011, at 14:57, Hans van der Meer wrote: > I find that the placement of an equation number makes a difference on the > amount of white after the equation. Should they both give the same amount of > whitespace? Or is the differen

[NTG-context] extra white after equation

2011-11-13 Thread Hans van der Meer
I find that the placement of an equation number makes a difference on the amount of white after the equation. Should they both give the same amount of whitespace? Or is the difference intentional? But then why? I add a minimal example. Hans van der Meer % Test white after formula with and

Re: [NTG-context] formula placement

2011-11-05 Thread Wolfgang Schuster
Am 05.11.2011 um 16:12 schrieb Meer, H. van der: > I find I get a fairly large whitespace after the formulas placed with: > \placeformula\startformula <> \stopformula > How can I reduce this? The wiki does not give a parameter description for > \setupformulas. In the code I

[NTG-context] formula placement

2011-11-05 Thread Meer, H. van der
I find I get a fairly large whitespace after the formulas placed with: \placeformula\startformula <> \stopformula How can I reduce this? The wiki does not give a parameter description for \setupformulas. In the code I can only find some [distance=] parameter. But using it with for e

Re: [NTG-context] annotation MODULE BUG

2011-11-04 Thread Wolfgang Schuster
Fixed. > The display=yes option brings back the indentation, but it creates another > problem: whitespace. This is the purpose if the display option, it should either end the paragraph or add a vertical skip which can be set with space before/

[NTG-context] annotation MODULE BUG

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
annotation module and the indenting mechanism} \stoptext = The display=yes option brings back the indentation, but it creates another problem: whitespace. Please advise, thnx in advance, and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Hans Hagen
whitespace analysis determines what local (nested) lexer to use .. at least that's what the basic lexing framework does ... I'm still wondering if I should redo that part (I already rewrote some of the lua code to be more efficien

Re: [NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-18 Thread Hans Hagen
not insert any whitespace. It causes on the other hand, that the TOC entry is also hidden/gone. With the second command the data are flushed and end up in the TOC. Does it work without \placerawheaddata when you use “placehead=no” or “placehead=empty” for section? only the hidden does not

Re: [NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-17 Thread Wolfgang Schuster
des the title completely and does not insert any > whitespace. It causes on the other hand, that the TOC entry is also > hidden/gone. With the second command the data are flushed and end up in the > TOC. Does it work without \placerawheaddata when you use “p

[NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-17 Thread Willi Egger
/white space inserted but still keeping the entry in the TOC. \setuphead [section] [placehead=hidden] \setuptexttexts[{\placerawheaddata[section]} The first setup hides the title completely and does not insert any whitespace. It causes on the other hand, that the TOC entry is also hidden/gone

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Meer, H. van der
ed imho): > some text.% > \startmode[xyz] > > I think this is error prone as it is al too easy to forget the %. The > situation here differs from the \doifmode-case. I tend to believe that the > fact that the \startmode[] .. \stopmode construct invites one to separate the &

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Wolfgang Schuster
Am 14.10.2011 um 00:56 schrieb Jan Heinen: > With the change to [strut=no,offset=overlay] the result looks a litlebit > better. Though there is still whitespace to the left and to the right. > > \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] > %

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Jan Heinen
With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right. \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored! \setupbackgrounds[paper][setups=ALayer,background

[NTG-context] \startmode and \ignorespaces

2011-10-13 Thread Hans van der Meer
\startmode[xyz] I think this is error prone as it is al too easy to forget the %. The situation here differs from the \doifmode-case. I tend to believe that the fact that the \startmode[] .. \stopmode construct invites one to separate the statements with newlines (whitespace thus). Therefore I wo

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Wolfgang Schuster
"abc \doifmode{mode}{text} more text" can introduce extra >>>> whitespace. I conclude therefore that there is no \ignorespaces at work >>>> here. As a consequence the \doifmode does not completely disappear if mode >>>> is not satisfied. >>>&g

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Meer, H. van der
On 4 okt. 2011, at 20:44, Wolfgang Schuster wrote: > > Am 04.10.2011 um 20:37 schrieb Aditya Mahajan: > >> On Tue, 4 Oct 2011, Meer, H. van der wrote: >> >>> I find that "abc \doifmode{mode}{text} more text" can introduce extra >>>

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Wolfgang Schuster
Am 04.10.2011 um 20:37 schrieb Aditya Mahajan: > On Tue, 4 Oct 2011, Meer, H. van der wrote: > >> I find that "abc \doifmode{mode}{text} more text" can introduce extra >> whitespace. I conclude therefore that there is no \ignorespaces at work >> here. As a

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Aditya Mahajan
On Tue, 4 Oct 2011, Meer, H. van der wrote: I find that "abc \doifmode{mode}{text} more text" can introduce extra whitespace. I conclude therefore that there is no \ignorespaces at work here. As a consequence the \doifmode does not completely disappear if mode is not satisfie

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Wolfgang Schuster
Am 04.10.2011 um 20:19 schrieb Meer, H. van der: > I find that "abc \doifmode{mode}{text} more text" can introduce extra > whitespace. I conclude therefore that there is no \ignorespaces at work here. > As a consequence the \doifmode does not completely disappear if mode

[NTG-context] \doifmode and friends

2011-10-04 Thread Meer, H. van der
I find that "abc \doifmode{mode}{text} more text" can introduce extra whitespace. I conclude therefore that there is no \ignorespaces at work here. As a consequence the \doifmode does not completely disappear if mode is not satisfied. Is this intentional or should this behaviour

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread john Culleton
ge: > >> > > >> > http://wiki.contextgarden.net/Fonts_in_LuaTeX > >> > and got the two fonts listed in the font database. > >> > > >> > I put the following in my MKIV context file: > >> > ... > >> > \u

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread luigi scarso
use simplefonts to use Minion as the base font. >> >> > I ran the various commands described in the Wiki page: >> >> > >> >> > http://wiki.contextgarden.net/Fonts_in_LuaTeX >> >> > and got the two fonts listed in the font database. >&

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread john Culleton
>> > > >> > http://wiki.contextgarden.net/Fonts_in_LuaTeX > >> > and got the two fonts listed in the font database. > >> > > >> > I put the following in my MKIV context file: > >> > ... > >> > \usemodule[

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread luigi scarso
ot the two fonts listed in the font database. >> > >> > I put the following in my MKIV context file: >> > ... >> > \usemodule[simplefonts] % load the module >> > \setmainfont[minionproregular] % >> > >> > %\whitespace[line] >> > >> > \uset

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread john Culleton
> \usemodule[simplefonts] % load the module > > \setmainfont[minionproregular] % > > > > %\whitespace[line] > > > > \usetypescript[serif,sans][hanging][pure] > > \setupalign[hanging] > > \setupbodyfont[minionproregular,14pt] > > To

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread luigi scarso
two fonts listed in the font database. >> > >> > I put the following in my MKIV context file: >> > ... >> > \usemodule[simplefonts] % load the module >> > \setmainfont[minionproregular] % >> > >> > %\whitespace[line] >>

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread john Culleton
t; \usemodule[simplefonts] % load the module > > \setmainfont[minionproregular] % > > > > %\whitespace[line] > > > > \usetypescript[serif,sans][hanging][pure] > > \setupalign[hanging] > > \setupbodyfont[minionproregular,14pt] > > ... > > Now I ge

Re: [NTG-context] Finding Minion and Myriad

2011-09-29 Thread Wolfgang Schuster
page: > > http://wiki.contextgarden.net/Fonts_in_LuaTeX > and got the two fonts listed in the font database. > > I put the following in my MKIV context file: > ... > \usemodule[simplefonts] % load the module > \setmainfont[minionproregular] % > > %\whitespace[line] > > \usety

<    1   2   3   4   5   6   7   8   9   >