Re: [NTG-context] Divider in grid environment

2014-02-08 Thread Jan Tosovsky
tion as it breaks the page at position of this command. I'd like to express rather: If there is no space for three lines, break the page, but grab few previous lines (at least 2) together with me (according to orphan/widow settings). The current behaviour can be demonstrated using t

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
a ToC > at the start of a document, there is no "current chapter" and so the > head location for the chapter entry returns 0. > > Here is what I have so far: > >\startsetups [list:TOC] >\starttabulate >\currentlistentrypagenumber{}

[NTG-context] Rearrange Table of Contents section page numbers

2014-01-31 Thread Thangalin
ry returns 0. Here is what I have so far: \startsetups [list:TOC] \starttabulate \currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR \stoptabulate \stopsetups \definelistalternative [TOC] [renderingsetup=list:TOC] % Format the

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: > >> 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> >> >> >> we can do this: >> >> \startsetups[\??__listrenderings:abc] >> >> \endgraf % are we gro

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
we can do this: \startsetups[\??listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\listparameter\c!margin % after \endgraf ! but it needs testing I don’t think this is an option because it will chan

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> we can do this: \startsetups[\??__listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\__listparameter\c!margin % after \endgraf ! but it needs testi

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > > we can do this: > > \startsetups[\??listrenderings:abc] > \endgraf % are we grouped? > \advance\leftskip\listparameter\c!margin % after \endgraf ! > > but it needs testing > I don’t think this is an option because it will change th

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
entries in the TOC because this way you don’t reset the margins added by \startnarrower. Wolfgang we can do this: \startsetups[\??listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\listparameter\c!margin % after \endgraf ! but it needs testing Hans

Re: [NTG-context] Comment after \startseparatedlist[...]

2014-01-21 Thread Wolfgang Schuster
ode changes so % is no longer % Thanks for the hint. I have tried to do it like that (from Mojca Miklavec's "My Way"): \usemodule[database] \unprotect \startsetups Data:unix \catcode`\%=\@@comment \stopsetups \protect \defineseparatedlist [Data] [ separator=tab, before=\bTABLE, af

Re: [NTG-context] Comment after \startseparatedlist[...]

2014-01-21 Thread Joshua Krämer
Am Tue, 21 Jan 2014 17:51:17 +0100 schrieb Hans Hagen : > has to do with catcode changes so % is no longer % Thanks for the hint. I have tried to do it like that (from Mojca Miklavec's "My Way"): \usemodule[database] \unprotect \startsetups Data:unix \catcode`\%=\@@c

Re: [NTG-context] issues with \setuplist

2014-01-19 Thread Pablo Rodriguez
> >> Could anyone explain what is wrong with the sample? > [...] > 2. You have to set the linespacing before all section entries are placed. > \startsetups[placelist:section] > \start > \setupinterlinespace[line=2.8ex] > \placelist[section][alternative=d

Re: [NTG-context] issues with \setuplist

2014-01-18 Thread Wolfgang Schuster
n what is wrong with the sample? 1. There is no option to use a separator between the entries, when you want one you have to write your own list alternative. 2. You have to set the linespacing before all section entries are placed. \setupinterlinespace[line=3.5ex] \startsetups[placelist

Re: [NTG-context] A problem with itemize in columns - once again, now with an MWE

2014-01-17 Thread Marcin Borkowski
manually. Can anything be done about > > this? (Note: I'm using the latest beta. In some earlier versions, > > \smash-ing didn't help, so it's not something of high priority for > > me now. But if it's something easy to fix, I'd be thankful.) &g

Re: [NTG-context] A problem with itemize in columns - once again, now with an MWE

2014-01-17 Thread Wolfgang Schuster
ng > didn't help, so it's not something of high priority for me now. But > if it's something easy to fix, I'd be thankful.) You can increase the linespacing in the itemize. \setupbodyfont[pagella] \startsetups[itemize:before] \blank \begingroup \setupinterli

Re: [NTG-context] reset blocks with dorecurse

2014-01-15 Thread DesdeChaves
question}, > headstyle={\bi}, > stopper={.}] > > \setupblock[question][before={\startquestion},after={\stopquestion}] > \setupblock[hint][before={\starthint},after={\stophint}] > \setupblock[answer][before={\startanswer},after={\stopanswer}] > \keepblocks[question]

[NTG-context] reset blocks with dorecurse

2014-01-14 Thread DesdeChaves
stion}] \setupblock[hint][before={\starthint},after={\stophint}] \setupblock[answer][before={\startanswer},after={\stopanswer}] \keepblocks[question] \hideblocks[hint] \hideblocks[answer] \startsetups examn:make \resetnumber[answer] \resetnumber[question] \resetnumber[hint] \page \setco

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
>> % defining \startexo, \stopexo as an enumeration: >> \startsetups style:simple >> \defineenumeration[exo] >> [alternative=hanging, >> width=fit, >> stopper={.}, >> text=Exercise, >> %between=, >>

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
\startexo, \stopexo as an enumeration: \startsetups style:simple \defineenumeration[exo] [alternative=hanging, width=fit, stopper={.}, text=Exercise, % between=, before=, after=\blank] \stopsetups % style:simple \startsetups style:textrule

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
, \stopexo as an enumeration: \startsetups style:simple \defineenumeration[exo] [alternative=hanging, width=fit, stopper={.}, text=Exercise, % between=, before=, after=\blank] \stopsetups % style:simple \startsetups style:textrule \definenumber

Re: [NTG-context] Table in header, or multicolumn header

2013-12-16 Thread Marco Pallante
table but there is a possibility for problems when you > use xtables > in your document which are split across pages. > > \startsetups[header:table] > > \startembeddedxtable[align={middle,lohi},strut=no] > \startxrow >

Re: [NTG-context] Table in header, or multicolumn header

2013-12-15 Thread Wolfgang Schuster
ched a screenshot of what the header looks like in Writer. You can try to use a table but there is a possibility for problems when you use xtables in your document which are split across pages. \startsetups[header:table] \startembeddedxtable[align={middle,lohi},st

Re: [NTG-context] Keeping titles together with the following text when grid is on

2013-12-01 Thread H. Özoguz
Hello, this is not the same question as handling orphan and widows - because you surely do not want some titles with only 2-3 lines of body text after them. I always use "\testpage[x]" to handle those issues, see your example with testpage: \setuppapersize[B5] \starts

[NTG-context] Keeping titles together with the following text when grid is on

2013-11-30 Thread Jan Tosovsky
Dear All, when grid is on, orphan and widows have to be eliminated using additional penalty settings. Whereas it works fine for body text, section titles are still sometimes left at the bottom of the page. It can be reproduced using this example: \setuppapersize[B5] \startsetups[grid

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-26 Thread Lars Huttar
ast* item on >> the page. Here's the MWE: > > I changed the example a bit > > \setupbodyfont[dejavu] > > \definemarking[country] > > \startsetups myheader > > (\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom]) > > \hf

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-22 Thread Lars Huttar
ast* item on >> the page. Here's the MWE: > > I changed the example a bit > > \setupbodyfont[dejavu] > > \definemarking[country] > > \startsetups myheader > > (\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom]) > > \hf

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-22 Thread Hans Hagen
a bit \setupbodyfont[dejavu] \definemarking[country] \startsetups myheader (\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom]) \hfill (\getmarking[country][2][top]\enspace\emdash\enspace\getmarking[country][2][bottom]) \stopsetups \setupheadertexts [\setups{myh

[NTG-context] bug: \getmarking with mixedcolumns

2013-11-21 Thread Lars Huttar
gt; and accurate information. > > We have run many examples here, including the ones on the getmarking > wiki page, trying to understand what these keywords mean. > top/bottom do appear to do what we need in an MWE, but are not working > for us in the real document, and knowing the

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-11-01 Thread Hans Hagen
h=25mm] \startsetups Test \setbreakpoints[compound] \stopsetups \definetype[Test][lines=hyphenated, setups=Test, space=stretch] \showframe \starttext hellohello hellohello % should break like this: hel- lohello (ok) hellohello \Test{hel_lohello} % should break like this: hel_ lohello (

Re: [NTG-context] About "natural tables"

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
y only >> horizontal lines (not vertical). I send a minimal example: >> >> >> \starttext >> \starttable[|c|c|] >> \HL >> \NC Letters \NC Numbers \SR % or \NC\AR >> \HL >> \NC A \NC 1 \AR >> \NC B \NC 2 \AR >> \NC C \NC 3 \AR

Re: [NTG-context] About "natural tables"

2013-10-30 Thread Aditya Mahajan
rizontal lines (not vertical). I send a minimal example: \starttext \starttable[|c|c|] \HL \NC Letters \NC Numbers \SR % or \NC\AR \HL \NC A \NC 1 \AR \NC B \NC 2 \AR \NC C \NC 3 \AR \HL \stoptable \stoptext How I could "translate" to a "natural table " this code? \startsetups[

Re: [NTG-context] About "natural tables"

2013-10-30 Thread Wolfgang Schuster
tical). I send a minimal example: > > > \starttext > \starttable[|c|c|] > \HL > \NC Letters \NC Numbers \SR % or \NC\AR > \HL > \NC A \NC 1 \AR > \NC B \NC 2 \AR > \NC C \NC 3 \AR > \HL > \stoptable > \stoptext > > How I could "translate" to a "na

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-29 Thread Peter Münster
Hello Hans, Is it also possible, to break inside the \type{} only at well defined characters and without hyphenation? Example: --8<---cut here---start->8--- \definebreakpoint[compound][_] \setuplayout[width=25mm] \startsetups Test \setbreakpoints[co

Re: [NTG-context] Calling \followtokens from with in metapost

2013-10-14 Thread Magnus J
Thanks for the code, the stretching is ok (can be hand-tuned) but I find the positioning a bit odd. Look at the additions to your example: -- \starttext \useMPlibrary[txt] \startsetups text-a \startuseMPgraphic{followtokens} path RotPath ; RotPath := reverse

Re: [NTG-context] Calling \followtokens from with in metapost

2013-10-13 Thread Marco Patzer
g/upload/images/whp_in_general/determinants_of_health/determinants_of_health.jpg > > > >How can this achieved? > > a bit clumsy but workable > > \starttext > > \useMPlibrary[txt] > > \startsetups text-a > \startuseMPgraphic{followtokens} > pa

Re: [NTG-context] Calling \followtokens from with in metapost

2013-10-13 Thread Hans Hagen
workable \starttext \useMPlibrary[txt] \startsetups text-a \startuseMPgraphic{followtokens} path RotPath ; RotPath := reverse halfcircle xyscaled 5cm ; draw RotPath ; \stopuseMPgraphic \followtokens{some text but not that long{\hskip1em}} \stopsetups \startsetups

Re: [NTG-context] Hooking stoptext

2013-10-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
after=\setups{document:after}] \startsetups [document:after] \startTEXpage \externalfigure [cow] \stopTEXpage \stopsetups \startdocument \input knuth \stopdocument Marco OK... But - is there a solution "more close" and "more Lua" to that mine? The example is much s

Re: [NTG-context] Hooking stoptext

2013-10-08 Thread Marco Patzer
] > > \setupdocument > [after=\setups{document:after}] > > \startsetups [document:after] > \startTEXpage > \externalfigure [cow] > \stopTEXpage > \stopsetups > > \startdocument > \input knuth > \stopdocument Even shorter: \setupexterna

Re: [NTG-context] Hooking stoptext

2013-10-08 Thread Marco Patzer
On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote: > I'm trying to hook commands.stoptext()... There is already a hook for that. No need to tinker with Lua. \setupexternalfigures [location=default] \setupdocument [after=\setups{document:after}] \startsetups [docume

Re: [NTG-context] \setupTABLE strangeness

2013-10-05 Thread Wolfgang Schuster
ust after \bTABLE... >\bTR \bTD bla \eTD \eTR > \eTABLE This isn’t good style and you would loose the option to use \setupTABLE[textwidth=]. Better methods are \setupTABLE[start][..,..=..,..] \bTABLE … \eTBALE or \startsetups[table:format] \setupTABLE[..,..=..,.

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
\chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={mi

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Wolfgang Schuster
18/separation-of-content-and-presentation-for-tables-part-1/ > \startsetups table:style > \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, > color=black, align={middle,lohi},style=ss] > \setupTABLE[column][1][align={right,lohi}] > > \setupTABLE[colum

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
It does not work with that: %%% Per a què les taules se me puguin alinear amb les comes \chardef\characteralignmentmode=2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/ \startsetups

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Wolfgang Schuster
Am 21.09.2013 um 16:22 schrieb Xan : > Hi, > > I have this > > \startsetups table:style > \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, > color=black, align={middle,lohi},style=ss] > \setupTABLE[column][1][align={right,lohi}] > > \set

[NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Xan
Hi, I have this \startsetups table:style \setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={middle,lohi},style=ss] \setupTABLE[column][1][align={right,lohi}] \setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes

Re: [NTG-context] section numbers in margin eventually get placed too far left

2013-09-18 Thread Hans Hagen
ayout[rightmargindistance=1cm] \setuphead[section][alternative=inmargin] \showframe \starttext \dorecurse{16}{\section{Blah} \input tufte} \stoptext \startsetups[\??headrenderings:\v!inmargin] \vbox { \headsetupspacing \begstrut \dontleavehmode \ifcondit

Re: [NTG-context] bug? gap appears in columnset

2013-09-17 Thread Lars Huttar
t to entrust a big production project to undocumented features, but at this point, if it works, we'll probably go with it. I wonder if it's available in mkii as well as in mkiv? > \startsetups normal > \setupinterlinespace[line=12pt] > \stopsetups > > \startsetups tight >

Re: [NTG-context] bug? gap appears in columnset

2013-09-17 Thread Hans Hagen
mkii, but it will be the main mkiv continuous multicolumn mode (we keep the old columns around for a while) and in due time I will make a new columnset implementation (must have some snippets of code somewhere but never found time) \startsetups normal \setupinterlinespace[line=12pt] \stopsetups \sta

Re: [NTG-context] bug? gap appears in columnset

2013-09-16 Thread Aditya Mahajan
experience, mixing columnsets with text that is not in columnsets is a bit tricky. \startsetups normal \setupinterlinespace[line=12pt] \stopsetups \startsetups tight \setupinterlinespace[line=9.3pt] \stopsetups \setupmixedcolumns[distance=5mm, balance=yes] \starttext \section{Introduction

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
on{#2} {\noindent \rm \sc #1} \noindent \endgraf \noindent } % Hlavička a patička \setupheadertexts[] \setupheadertexts[\setups{hlavicka}][][][\setups{hlavicka}] \startsetups[hlavicka]   \zanrO{\getmarking[kochapter]} \stopsetups % Odstavce \setupindenting[yes, small] \setupheads[indentne

Re: [NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-09-01 Thread Wolfgang Schuster
Am 01.09.2013 um 13:33 schrieb Peter Münster : > On Mon, Mar 04 2013, Wolfgang Schuster wrote: > >> \usemodule[letter] >> >> \startsetups[letter:section:content] >> \getbuffer[MyLetter] >> \stopsetups >> >> \setuplettersection[cont

Re: [NTG-context] letter module: File ended while scanning use of \buff_gobble

2013-09-01 Thread Peter Münster
On Mon, Mar 04 2013, Wolfgang Schuster wrote: > \usemodule[letter] > > \startsetups[letter:section:content] > \getbuffer[MyLetter] > \stopsetups > > \setuplettersection[content][alternative=setups] > > \def\StartLetter > {\starttext >\grabbufferdata[

Re: [NTG-context] Get rid of LuaTeX warning on duplicate destination identifier

2013-08-29 Thread Hans Hagen
!width=.4\textwidth] % or \listparameter\c!width \startsetups[\??listrenderings:overview] \doifboxelse{\overview}{\currentlistentrynumber} {\listalternativeparameter\c!before \startcurrentlistentrywrapper \scale [\c!width=\listalternativeparameter\c!widt

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-08 Thread Hans Hagen
typing environment? [...] you shouldn't rely on \\ as it also starts a new line with content \dorecurse{38}{line\par} Hans, I have adapted the sample to: \starttext \dorecurse{41}{line\par} \starttyping \setuplayout[setups=*lessstrict] \startsetups[*lesss

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-08 Thread Pablo Rodríguez
n the typing environment? > [...] > you shouldn't rely on \\ as it also starts a new line with content > >\dorecurse{38}{line\par} Hans, I have adapted the sample to: \starttext \dorecurse{41}{line\par} \starttyping \setuplayout[setups=*lessst

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-07 Thread Hans Hagen
see it in your document but without a example it’s not possible to give a answer. Wolfgang, this is a sample that shows the issue I mentioned in my previous message: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1

Re: [NTG-context] unwanted extra interline space in typing environment

2013-08-07 Thread Pablo Rodríguez
document but without a example it’s not possible > to give a answer. Wolfgang, this is a sample that shows the issue I mentioned in my previous message: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenal

Re: [NTG-context] About Hyphenation

2013-07-25 Thread Hans Hagen
On 7/25/2013 3:24 AM, Andres Conrado Montoya wrote: So, it seems that this configuration worked (more or less), to avoid: Widows, Orphans, 3 or more consecutive hyphens, and final hyphens. \startsetups[grid][correcto] \setups[*reset] \setpenalties\widowpenalties{1}{1

Re: [NTG-context] About Hyphenation

2013-07-24 Thread Andres Conrado Montoya
So, it seems that this configuration worked (more or less), to avoid: Widows, Orphans, 3 or more consecutive hyphens, and final hyphens. \startsetups[grid][correcto] \setups[*reset] \setpenalties\widowpenalties{1}{1} \setpenalties\clubpenalties{1}{1} \stopsetups

Re: [NTG-context] No indentation after macro

2013-07-24 Thread Wolfgang Schuster
native[Qur][renderingsetup=annotation:Qur,alternative=vertical] \startsetups[annotation:Qur] \currentannotationcontent \blank[4pt] {\bf\annotationparameter{one}}\wordright{\tfx (Heiliger Qur'an \annotationparameter{two}:\annotationparameter{three})} \stopsetups \setupindenting[yes,medi

[NTG-context] About Hyphenation

2013-07-23 Thread Andres Conrado Montoya
rking with grid, and using a widow/orphan control macro found here on this list: \setupalign[verytolerant,stretch,lesshyphenation,hz,hanging] \startsetups[grid][correcto] \setups[*reset] \setpenalties\widowpenalties{1}{1} \setpenalties\cl

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 16:08 schrieb Pablo Rodríguez : >\setuplayout[setups=*lessstrict] >\startsetups[*lessstrict] >\setup[reset] >\widowpenalty=1 >\clubpenalty=1 >\brokenpenalty=1 >\stopsetups \startsetups[lessstric

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
ont[TeX Gyre Pagella] \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=1 \stopsetups \setupinterlinespace[line=3.2ex] \setupnote[footnote][split=verystrict]

Re: [NTG-context] \widowpenalty=10000 and still a widow line

2013-07-08 Thread Alan Bowen
1. Do the widow lines only appear in certain cases, e.g. after a heading. > > 2. Use the context way to change the penalties: > > \startsetups [mypenalties] > > \setdefaultpenalties > > \setpenalties\widowpenalties{3}{1} % 3 == number of lines, 1 > == pen

Re: [NTG-context] \widowpenalty=10000 and still a widow line

2013-07-08 Thread Wolfgang Schuster
e have suggestions > about strategies to remedy this either in general or on a case by case basis? > (I am not sure of how to generate an example of the problem or if that would > even help.) 1. Do the widow lines only appear in certain cases, e.g. after a heading. 2. Use the context way to

Re: [NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-29 Thread Wolfgang Schuster
u want the space. Below is a modified version of the older code which uses the new MkIV mechanism to create customized head layouts which gobbles also the space for \startsection. \defineheadalternative [head:inleftmargin] [alternative=horizontal, renderingsetup=head:inleftmargin] \startset

Re: [NTG-context] french character spacing in footnotes

2013-06-28 Thread Alan Bowen
you have to enable them > for the notes block. > > Add the following lines to your document and it should work. > > > > \startsetups[footnote:french] > > \setcharacterspacing[frenchpunctuation] > > \stopsetups > > > > \setupnote[footnote][setups

Re: [NTG-context] french character spacing in footnotes

2013-06-28 Thread Alan Bowen
t; > > Any suggestions? > > ConTeXt resets a few features for the notes and you have to enable them > for the notes block. > Add the following lines to your document and it should work. > > \startsetups[footnote:fren

Re: [NTG-context] french character spacing in footnotes

2013-06-27 Thread Peter Münster
On Fri, Jun 28 2013, Wolfgang Schuster wrote: > ConTeXt resets a few features for the notes and you have to enable them for > the notes block. > Add the following lines to your document and it should work. > > \startsetups[footnote:french] > \setcharacterspacing

Re: [NTG-context] french character spacing in footnotes

2013-06-27 Thread Wolfgang Schuster
t; \stopcomponent > > I am running the latest standalone. > > Any suggestions? ConTeXt resets a few features for the notes and you have to enable them for the notes block. Add the following lines to your document and it should work. \startsetups[footnote:french] \setcharacterspacing[

[NTG-context] wrong page break if avoiding orphans and widows

2013-06-25 Thread Pablo Rodríguez
Dear list, I have in a document in which I get a wrong page break (http://www.ousia.tk/wrongpb.png) when I enable this code to avoid widows and orphans: \setuplayout[setups=*lessstrict, cutspace=3cm,backspace=3cm] \startsetups[*lessstrict] \setup[reset] \widowpenalty

Re: [NTG-context] background color for makeups

2013-06-18 Thread Hans Hagen
: \startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups \startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup why not just \startstandardmakeup[align=middle] content to be centered \stopstandardmakeup

[NTG-context] background color for makeups

2013-06-18 Thread Pablo Rodríguez
have tried with (what I understand from) setups: \startsetups[setups:redcolor] \setupbackgrounds[page][background=color,backgroundcolor=red] \stopsetups \startstandardmakeup[setups=setups:redcolor] content \stopstandardmakeup But it didn't work. Could you he

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc
sed options> % process info used options> \setupsystem[inputfile=bullet-problem.tex] used options> \setupsystem[\c!n=1,\c!m=1] used options> % modes used options> % options (not that important) used options> \startsetups *runtime:options used options> \st

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
] \definelayer [extrafiguretextlayer:r] [width=\overlaywidth, height=\overlayheight, corner={left,top}, location={left,bottom}, x=-1cm] \startsetups extrafiguretext \signalouterrealign \setlayerframed [extrafiguretextlayer

Re: [NTG-context] orphans and widows in poems

2013-06-16 Thread Wolfgang Schuster
Am 16.06.2013 um 09:46 schrieb Pablo Rodríguez : > Dear list, > > I have a document that contains a long poem and although it contains the > following code: > > \setuplayout[setups=*lessstrict] > \startsetups[*lessstrict] >\setup[reset] >\widowpenalty=10

[NTG-context] orphans and widows in poems

2013-06-16 Thread Pablo Rodríguez
Dear list, I have a document that contains a long poem and although it contains the following code: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=1 \stopsetups I'm afraid that I get widow

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
Has to be \defineheadalternative: \defineheadalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={, Section

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
Am 11.06.2013 um 15:53 schrieb Jan Pohanka : > >> \definesectionalternative[mysection][renderingsetup=mysection] >> >> \startsetups[mysection] >> \vbox\bgroup >> \headsetupspacing >> \strut\headnumbercontent\par >> \begstrut\headtex

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
\definesectionalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={}{Section] \setuphead[section][alternative

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
stion is what to do if I need to use the command key to apply more > complex formating using \framed etc. > At least I need to make \section{My section title} to print > > I. Section > My section title You can create your own section layout. \definesectionalternative[mysect

Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
more advanced control is needed) \defineheadalternative [mymiddle] [alternative=horizontal, renderingsetup=head:mymiddle] \startsetups[head:mymiddle] \ruledvbox { \headsetupspacing \veryraggedcenter \begstrut \ifconditional\headshown

Re: [NTG-context] \processcommalist and load values into macros.

2013-06-04 Thread Jaroslav Hajtmar
truhou 232/12, 234 20 Annie, Walter, Ostrava, Pod lipami 7, 321 54 \stoptest \stoptext Method 2: \startsetups[test] \starttabulate \NC FIRSTNAME \EQ \getvariable{test}{firstname} \NC\NR \NC SURNAME \EQ \getvariable{test}{surname} \NC\NR \NC CITY \EQ \getvariable{test}{city

Re: [NTG-context] \processcommalist and load values into macros.

2013-06-04 Thread Wolfgang Schuster
\stoptext Method 2: \startsetups[test] \starttabulate \NC FIRSTNAME \EQ \getvariable{test}{firstname} \NC\NR \NC SURNAME \EQ \getvariable{test}{surname} \NC\NR \NC CITY \EQ \getvariable{test}{city} \NC\NR \NC STREET\EQ \getvariable{test}{street}\NC\NR \NC POSTCODE

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
] > [alternative=vertical, >renderingsetup=headrenderings:middle_nolinebreak] > > \startsetups[headrenderings:middle_nolinebreak] > \vbox { > \headsetupspacing > \veryraggedcenter > \let\\\endgraf > \let\crlf\endgraf > \ifconditional\headshownumber >

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Marco Patzer
ion] [alternative=middle_nolinebreak] \defineheadalternative [middle_nolinebreak] [alternative=vertical, renderingsetup=headrenderings:middle_nolinebreak] \startsetups[headrenderings:middle_nolinebreak] \vbox { \headsetupspacing \veryraggedcenter \let\\\endgraf \let\crlf\endg

Re: [NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
Use the normal \framed command and replace \texsetup with \setups in \setupheadertexts and it will also work with your older version of context. \startsetups[header] \framed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]\bgroup

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
% } > %\setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% > % {\syllabusheader}}] > \startsetups[header] > \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] > \starto

Re: [NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
r,height=\headerheight]% {\syllabusheader}}] This is a known problem when you use the same table environment in the body and for the header, you can use \framed to get the same result without these problems (it’s also faster). \startsetups[header] \startframed[corner=09,width=max,he

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
Right \eTD \eTR > \eTABLE > } > \setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% > {\syllabusheader}}] This is a known problem when you use the same table environment in the body and for the header, you can use \framed to get th

[NTG-context] [***SPAM***] Two-language environment and page breaking

2013-05-20 Thread H. Özoguz
Hi, one more question to my arabic-german table environment. See this code: \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 11 pt] % or amiri-regular.ttf \define[1]\Arab{\setupalign[r2l]\amiri#1} %\showgrid \startsetups[arde] \setupTABLE[c][1][rightframe=on] \stopsetups \def\startarde

Re: [NTG-context] Distanc to rightframe in TABLE

2013-05-15 Thread Wolfgang Schuster
; amiri-regular.ttf > \define[1]\Arab{\setupalign[r2l]\amiri#1} > %\showgrid > \startsetups[arde] > \setupTABLE[c][1][rightframe=on] > \stopsetups > \def\startarde > {\bTABLE[frame=off,width=.5\textwidth,setups=arde,split=yes]} > \def\stoparde > {\eTABLE} > \define[2]\ar

[NTG-context] Distanc to rightframe in TABLE

2013-05-14 Thread H. Özoguz
Hi, the german-arabic-transliteration-environment becomes, with your kind help, better and better. Next question, see this standard-code: \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 10 pt] % or amiri-regular.ttf \define[1]\Arab{\setupalign[r2l]\amiri#1} %\showgrid \startsetups[arde

Re: [NTG-context] Interlinespacing with arabic in natural tables

2013-05-13 Thread Hans Hagen
On 5/13/2013 2:27 PM, "H. Özoguz" wrote: Hi, now the big problems with arabic fonts are solved, and other problems arises, see this code: \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 13 pt] % or amiri-regular.ttf \define[1]\Arab{\setupalign[r2l]\amiri#1} \showgrid \starts

[NTG-context] Interlinespacing with arabic in natural tables

2013-05-13 Thread H. Özoguz
Hi, now the big problems with arabic fonts are solved, and other problems arises, see this code: \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 13 pt] % or amiri-regular.ttf \define[1]\Arab{\setupalign[r2l]\amiri#1} \showgrid \startsetups[arde] \setupTABLE[c][1][rightframe=on

[NTG-context] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]

2013-05-12 Thread Zenlima
ion=section-8,number=no] \defineheadalternative [myheader] [alternative=horizontal, renderingsetup=setup:myheader] \startsetups [setup:myheader] \inouter{\headtextcontent} \stopsetups \setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor] \setuplist[section]

Re: [NTG-context] Layer for all pages and for specific pages

2013-05-07 Thread Wolfgang Schuster
Am 07.05.2013 um 07:49 schrieb H. Özoguz : >> You can avoid this when you put everything in a single table. You should >> also avoid >> to use brackets as delimiters for text, use normal braced arguments why can >> be >> grouped without problems. >> >>

Re: [NTG-context] Layer for all pages and for specific pages

2013-05-06 Thread H. Özoguz
You can avoid this when you put everything in a single table. You should also avoid to use brackets as delimiters for text, use normal braced arguments why can be grouped without problems. \startsetups[arde] \setupTABLE[c][1][rightframe=on] \stopsetups \def\startarde {\bTABLE[frame=off

Re: [NTG-context] Layer for all pages and for specific pages

2013-05-06 Thread Wolfgang Schuster
put everything in a single table. You should also avoid to use brackets as delimiters for text, use normal braced arguments why can be grouped without problems. \startsetups[arde] \setupTABLE[c][1][rightframe=on] \stopsetups \def\startarde {\bTABLE[frame=off,width=.5\textwidth,setups=arde,spli

Re: [NTG-context] Chapter title in headertexts only

2013-05-05 Thread Piotr Kopszak
OK, now I see the difference between "no" and "empty"! Great. Many thanks Piotr 2013/5/2 Wolfgang Schuster : > > Am 02.05.2013 um 17:20 schrieb Piotr Kopszak : > >> OK, found a sufficiant solution >> >> \setuphead[chapter][placehead=no] >> \

Re: [NTG-context] [***SPAM***] heading in margin -> strange extra vertical spaces

2013-05-04 Thread Marco Patzer
ve=myheader, section=section-8] \defineheadalternative [myheader] [alternative=horizontal, renderingsetup=setup:myheader] \startsetups [setup:myheader] \inouter{\headtextcontent} \stopsetups \starttext \inouter{Hasselt makes headlines} \input tufte \myheader{Hasselt makes he

<    4   5   6   7   8   9   10   11   12   13   >