[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 19:34: This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata   [inouter]   [style={\switchtobodyfont[8pt]}] This one does not seem to make a change

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Marco Patzer
On Tue, 19 Mar 2024 15:38:16 +0100 Jeroen wrote: > Can this text be placed in the margin in regular text or possibly > in slightly smaller font size compared to the regular text in the > document? \setupmargindata [inleft] [style=\tf

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
in the document? \setupmargindata[inouter][style=] or \setupmargindata[inleft][style={\switchtobodyfont[8pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
? Try \setupmargindata[inmargin][style={\tf}] I don’t know why the default is bold. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
{}{}, titlecommand=\groupedcommand{(}{)}, width=fit] \defineenumeration [definition] [text=Définition, number=no, style=italic] \defineenumeration [exemple] [text=Exemple, number=no, style=normal] \definemargindata[marginfigure][inright] \setupmargindata [marginfigure][command

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Fabrice Couvreur via ntg-context
__ > \environment[template.mkiv] \definemargindata[marginfigure][inright] \useMPlibrary[dum] \setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes] \setvariables [headertext] [title={Interrogation écrite}, number={3}, day={8}, month={11}, year={2022}

[NTG-context] stacking of marginals

2022-05-31 Thread Henning Hraban Ramm via ntg-context
between stack=yes or no: \usemodule[visual] \useMPlibrary[dum] \setupmargindata[inmargin][stack=yes] \starttext \dorecurse{20}{% \fakewords{5}{30} \inmargin{\externalfigure[dummy\recurselevel][width=15mm,height=15mm]} \fakewords{5}{40}\par } \stoptext Hraban

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter] just use \inouter or define a new margindata class (see typo-mar.mkxl line 360 etc to see what is defined in what way) \starttext \chapter{Introduction} \input{tufte} \input{tufte}\inmargin

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}] \setuplayout[textwidth=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread Wolfgang Schuster via ntg-context
, way=bysection] I actually want to (flush) left align the enumeration's number inside the left margin and give it a blue color. But even if I have \setupmargindata[inleftmargin][color=bblue4,align=flushleft] there is no alignment, no color. However, if I do \setupenumeration[verse

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread kauśika via ntg-context
y=bysection] > > I actually want to (flush) left align the enumeration's number inside the > left margin and give it a blue color. But even if I have >\setupmargindata[inleftmargin][color=bblue4,align=flushleft] > there is no alignment, no color. > > However, if I do

[NTG-context] Enumeration numbering in the left margin

2021-11-19 Thread kauśika via ntg-context
color. But even if I have \setupmargindata[inleftmargin][color=bblue4,align=flushleft] there is no alignment, no color. However, if I do \setupenumeration[verse] [alternative=leftmargin, text=, width=\leftmarginwidth, headcolor=bblue4, distance=0em, way=bysection] I am able

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
\setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
=7cm, width=middle, margin=5cm, margindistance=7mm] %\def\ColWidth{57mm} \setupmargindata[inmargin] [location=right, stack=continue, align=flushright, ] \setupmargindata[inouter] [location=right, stack=continue, align

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
es one cannot avoid them). > > One essential bit is missing in the wiki example: > > \setupmargindata[inmargin][ > location=right, > stack=continue, % !! > align=flushright, > ] > > The code I’m actually using for our German literature magazine “Kritische >

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Henning Hraban Ramm
to each other (indeed it is not > a good habit to have long notes, but in some cases one cannot avoid them). One essential bit is missing in the wiki example: \setupmargindata[inmargin][ location=right, stack=continue, % !! align=flushright, ] The code I’m actually using for our Ge

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Fabrice Couvreur
Jul 2020 17:20:07 +0200 > Fabrice Couvreur wrote: > > Try: > > > \useMPlibrary[dum] > > > > \setuppapersize[A4] > > > > \setuplayout > > [width=12cm, > >rightmargin=5cm] > > > > \definemargindata[marginfigure][in

Re: [NTG-context] Store images and text in the right margin

2020-07-02 Thread Marco Patzer
On Thu, 2 Jul 2020 17:20:07 +0200 Fabrice Couvreur wrote: Try: > \useMPlibrary[dum] > > \setuppapersize[A4] > > \setuplayout > [width=12cm, >rightmargin=5cm] > > \definemargindata[marginfigure][inright] > \setupmargindata [marginfigure][command=\vbox,a

[NTG-context] Store images and text in the right margin

2020-07-02 Thread Fabrice Couvreur
] \setupmargindata [marginfigure][command=\vbox,align=middle] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext] \startsetups [userdata:margintext] \margindata [inright] [%style=\smallbodyfont, style

Re: [NTG-context] margintext and floats in the margin

2020-01-31 Thread Jan Willem Flamma
re and > margintext in a sort of stack. > > Thanks for any advice: Otared K. > > % begin margintext-float.tex > \setuppapersize[A4][A4] > \setuplayout[ > width=120mm, > leftmargin=25mm,rightmargin=50mm] > > \setupmargindata[margintext] >

[NTG-context] margintext and floats in the margin

2020-01-29 Thread Otared Kavian
and margintext in a sort of stack. Thanks for any advice: Otared K. % begin margintext-float.tex \setuppapersize[A4][A4] \setuplayout[ width=120mm, leftmargin=25mm,rightmargin=50mm] \setupmargindata[margintext] [align=raggedright, stack=yes

[NTG-context] margintext and floats in the margin

2020-01-26 Thread Otared Kavian
and margintext in a sort of stack. Thanks for any advice: Otared K. % begin margintext-float.tex \setuppapersize[A4][A4] \setuplayout[ width=120mm, leftmargin=25mm,rightmargin=50mm] \setupmargindata[margintext] [align=raggedright, stack=yes

Re: [NTG-context] notes in the margin

2019-10-04 Thread Henning Hraban Ramm
those two together, but it didn’t work \setupmargindata[inmargin][ location=right, stack=continue, align=flushright, style={\switchtobodyfont[6pt]}, ] \setupmargindata[inouter][ location=right, stack=continue, align=flushright, style={\switchtobodyfont[6pt]}, ] \def\FNVOffset{0

Re: [NTG-context] several blocks of text in the margin

2019-05-01 Thread Henning Hraban Ramm
\setupmargindata[inright][stack=continue] might help, but the mechanism changed within the last few months: while it previously worked automagically in most cases, I had to shift several margin notes in my project using \inmargin[voffset=...]{...} Greetlings, Hraban --- https://www.fiee.net

[NTG-context] stacking of marginals stopped working

2019-03-20 Thread Henning Hraban Ramm
With the current beta, stacking of margin notes doesn’t work any more. (It was never perfect, but good enough.) MWE: \setuplayout[ backspace=60mm, width=100mm, margin=50mm, ] \setupmargindata[inmargin][stack=yes,style=\tfx] % or stack=continue \starttext %\showlayout \input tufte

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-29 Thread Henri Menke
g them >>> with a >>> comma or something like that.  With the code below, the first line of >>> the >>> output contains an overlapping "1" and "2" in the margin.  I would >>> like the >>> "1" and "2" not to be o

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-29 Thread Hans Hagen
in combining them if two should end up on the same line, dividing them with a comma or something like that.  With the code below, the first line of the output contains an overlapping "1" and "2" in the margin.  I would like the "1" and "2" not to be overlapping,

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-28 Thread Henri Menke
elow, the first line of the > output contains an overlapping "1" and "2" in the margin.  I would like the > "1" and "2" not to be overlapping, nor to be stacked like > \setupmargindata[stack=yes] would get me, but rather to automatically combine >

[NTG-context] Combine overlapping margin notes with separator

2018-03-19 Thread Benjamin Epstein
t; in the margin. I would like the "1" and "2" not to be overlapping, nor to be stacked like \setupmargindata[stack=yes] would get me, but rather to automatically combine those that would overlap to get something like "1,2". Current output: https://i.imgur.com/RaTQ1ZO.p

Re: [NTG-context] notes in the margin

2018-02-12 Thread Henning Hraban Ramm
indenting=no, location=serried, alternative=serried, width=broad, numbercommand=\FNo, ] \setuptexttexts[margin][] [{\framed[ align={flushleft,bottom}, frame=off, height=\textheight, width=\rightmarginwidth]{% \strut\vfill\placenotes[footnote]}}] \setupmargindat

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
an Ramm 30. März 2017 um 10:30 >>> While I’m still waiting for answers to my other questions, I got some more: >>> >>> In my layout, left margin width is zero, but \inmargin always uses left >>> margin. >>> I didn’t find a setup to change that – s

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
in always uses left >> margin. >> I didn’t find a setup to change that – should >> \setupmargindata[location=right] do the trick? (it doesn’t, also not with >> left) >> >> Further I’d like to place "foot"notes into the margin. >> It work

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Hans Hagen
to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Pablo Rodriguez
e to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input jojo

Re: [NTG-context] (re)defining command with options

2017-05-16 Thread Henri Menke
On Tue, 2017-05-16 at 22:10 +0200, Florian Grammel wrote: > While visualising index-entires in the margin using > \version[temporary] isn't implemented for MkIV yet, I'd like to > define a basic stand-in in the meantime: > > \setupmargindata[inmargin][location=outer, style=it

[NTG-context] (re)defining command with options

2017-05-16 Thread Florian Grammel
While visualising index-entires in the margin using \version[temporary] isn't implemented for MkIV yet, I'd like to define a basic stand-in in the meantime: \setupmargindata[inmargin][location=outer, style=itxx] \define[1]\myindex{\index{#1}% \inmargin{#1

Re: [NTG-context] notes in the margin

2017-04-09 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 30. März 2017 um 10:30 While I’m still waiting for answers to my other questions, I got some more: In my layout, left margin width is zero, but \inmargin always uses left margin. I didn’t find a setup to change that – should \setupmarg

Re: [NTG-context] notes in the margin

2017-04-09 Thread Pablo Rodriguez
On 04/08/2017 07:01 PM, Henning Hraban Ramm wrote: > Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez: >> doesn’t \setupmargindata[inmargin][location=right] do the trick? > > No, but \setupmargindata[inmargin][location=outer] Hi Hraban, since your layout had left margin width

Re: [NTG-context] notes in the margin

2017-04-08 Thread Henning Hraban Ramm
Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez <oi...@gmx.es>: > On 04/04/2017 10:27 AM, Henning Hraban Ramm wrote: >>> In my layout, left margin width is zero, but \inmargin always uses left >>> margin. >> Ok, I can use \inouter. > > doesn’t \setup

Re: [NTG-context] notes in the margin

2017-04-05 Thread Pablo Rodriguez
questions, I got some more: >> >> In my layout, left margin width is zero, but \inmargin always uses left >> margin. > > Ok, I can use \inouter. Hi Hraban, doesn’t \setupmargindata[inmargin][location=right] do the trick? >> I didn’t find a setup to change that –

Re: [NTG-context] notes in the margin

2017-04-04 Thread Henning Hraban Ramm
, but \inmargin always uses left > margin. Ok, I can use \inouter. > I didn’t find a setup to change that – should > \setupmargindata[location=right] do the trick? (it doesn’t, also not with > left) > > Further I’d like to place "foot"notes into the margin. > It wor

[NTG-context] notes in the margin

2017-03-30 Thread Henning Hraban Ramm
While I’m still waiting for answers to my other questions, I got some more: In my layout, left margin width is zero, but \inmargin always uses left margin. I didn’t find a setup to change that – should \setupmargindata[location=right] do the trick? (it doesn’t, also not with left) Further I’d

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Hans Hagen
On 3/27/2017 8:00 PM, Pablo Rodriguez wrote: On 03/27/2017 05:22 PM, Hans Hagen wrote: On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: [...] On a second thought, I wonder why width in \setupmargindata hasn’t its default value to \leftmarginwidth or \rightmarginwidth depending on the chosen

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/27/2017 05:22 PM, Hans Hagen wrote: > On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: >> [...] >> On a second thought, I wonder why width in \setupmargindata hasn’t its >> default value to \leftmarginwidth or \rightmarginwidth depending on the >> chosen

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Hans Hagen
On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 26. März 2017 um 22:09: [...] I’m afraid that I found an issue. Alignment in margindata doesn’t work: \showframe \definemargindata[outerhead][outer] \setupmargindata

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> I’m afraid that I found an issue. Alignment in margindata doesn’t work: >> >> \showframe >> >> \definemargindata[outerhead][outer] &

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> \definemargindata[outerhead][outer] >> \setupmargindata[outerhead][align=center] > > \setupmargindata[outerhead][align=center,width=\rightmarginwid

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Wolfgang Schuster
\showframe \definemargindata[outerhead][outer] \setupmargindata[outerhead][align=center] \setupmargindata[outerhead][align=center,width=\rightmarginwidth] Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
d an issue. Alignment in margindata doesn’t work: \showframe \definemargindata[outerhead][outer] \setupmargindata[outerhead][align=center] \setuppagenumbering [alternative=doublesided] \setuphead [section] [alternative=inmargin, align=center,

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenviron

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Pablo Rodriguez
lowing: 8< \showframe\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargin

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin

[NTG-context] Tight interline spacing in margin notes ?

2016-08-11 Thread josephcanedo
] \setupmargindata[outer][style=\tf] \starttext Foo\\ {\tfb Foo} Bar \inouter{Foo\\ {\tfb Foo}\\ Bar}Baz\\ Foo \stoptext This is a non sensible MWE where the \tfb here replaces another font with a bit taller letters (Hebrew Lamed to name). I tried \smash around these, which works but wondered

Re: [NTG-context] Question about \definefallback

2016-07-25 Thread Jean-Pierre Delange
[fr] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic

[NTG-context] Question about \definefallback

2016-07-24 Thread Jean-Pierre Delange
][patterns={fr,agr}] \mainlanguage[fr] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right

[NTG-context] French and Ancient Greek

2016-07-11 Thread Jean-Pierre Delange
={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic

Re: [NTG-context] Italic in margins and footntes

2016-06-30 Thread Jean-Pierre Delange
] > \setuplanguage[fr] > \setuplayout [backspace=40mm] > \setuppagenumbering[location={header,inright}] > \setupmargindata[inmargin][location=left] > \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}] > \setupbodyfontenvironment[default][em=italic] > \definefallbackfamily [main

Re: [NTG-context] Italic in margins and footntes

2016-06-29 Thread Pablo Rodriguez
40mm] > \setuppagenumbering[location={header,inright}] > \setupmargindata[inmargin][location=left] > \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}] > \setupbodyfontenvironment[default][em=italic] > \definefallbackfamily [mainface] [serif] [New Athena Unicode] >

[NTG-context] Italic in margins and footntes

2016-06-29 Thread Jean-Pierre Delange
Dear ConTeXt wizards, I am currently writing a course. I need some notes in the left margin. I have written this in the preamble : \setuppapersize[A4] \setuplanguage[fr] \setuplayout [backspace=40mm] \setuppagenumbering[location={header,inright}] \setupmargindata[inmargin][location=left

Re: [NTG-context] Issue with margin notes with stack=yes (or =continue)

2016-05-13 Thread josephcanedo
= option. A simple MWE follows. \setupmargindata[outer][stack=yes] % or =continue \starttext Foo \inouter{note}*bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo

[NTG-context] Issue with margin notes with stack=yes (or =continue)

2016-05-06 Thread josephcanedo
Dear all, Using ConTeXt ver: 2016.05.01 09:52 MKIV beta, I see that marginal notes (using \inouter for example) are put 1 or more lines below expected when using stack= option. A simple MWE follows. \setupmargindata[outer][stack=yes] % or =continue \starttext Foo \inouter{note}*bar Foo

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 18. Januar 2016 um 08:15 By using right \setupmargindata [margintext] [align=r2l] and \setupalign[r2l] The margin arabic text appears correctly But the arabic texts in the header is still the same. \setupheader[style=\righttoleft] Wo

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
] \definefontsynonym [Serif] [Arabic-Regular] [features=arabic] \definefontsynonym [SerifBold] [Arabic-Bold][features=arabic] \stoptypescript \starttypescript [Arabic] \definetypeface [Arabic] [rm] [serif] [arabic] [default] \stoptypescript \setupmargindata[margintext] [align=r2l

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
> > \setupmargindata > [margintext] > [align=r2l] > > use \setupalign[r2l] and \righttoleft and not the dir primitives > I did not understand how to use "use \setupalign[r2l] and \righttoleft and not the dir primitives" Do you mean that i should rem

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
Ibn Saeed gmail.com> writes: > > > > > > \setupmargindata > > [margintext] > > [align=r2l] > > > > use \setupalign[r2l] and \righttoleft and not the dir primitives > > > > I did not understand how to use > > "use \

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
عشر: \stoptext \setupmargindata [margintext] [align=r2l] use \setupalign[r2l] and \righttoleft and not the dir primitives - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread DesdeChaves
cal blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the > job. > > You can use the \framed command to reserve the space for the answer and > place with the score with a layer as background for the frame. > > \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread Wolfgang Schuster
ground for the frame. \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle] \setupmarginframed[inmargin][align=middle,location=outer] \definelayer[infolayer][width=\framedwidth,height=\framedheight] \startsetups[infolayer:place] \setlayer[infolayer][preset=middleright]{\rotate{\getva

[NTG-context] anchor points for \inmargin

2015-11-11 Thread DesdeChaves
don't want this behavior. How can I can this? Another question: How can I anchor the scores in the middle of the vertical blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the job. Thanks in advance. Jorge Code: \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle

Re: [NTG-context] Adjusting vertical location of a margin figure

2015-03-30 Thread Wolfgang Schuster
[backspace=4cm,width=14cm] \definemargindata[marginfigure][inmargin] \setupmargindata [marginfigure][command=\tbox] \starttext \marginfigure{\externalfigure[warning][width=\leftmarginwidth]} \input tufte \stoptext Wolfgang

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}] % Faster method to switch the font

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
Am 25.11.2014 um 10:14 schrieb Richard Sherman rss@gmail.com: Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: The first line is a comment which says \definefont[InmarginStyle][Sans at 18pt] \setupmargindata[inmargin][style=InmarginStyle] takes less time to change the font than \setupmargindata[inmargin][style={\switchtobodyfont[ss,18

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
Am 26.11.2014 um 02:39 schrieb Richard Sherman rss@gmail.com: Wolfgang Schuster schuster.wolfgang at gmail.com writes: The first line is a comment which says \definefont[InmarginStyle][Sans at 18pt] \setupmargindata[inmargin][style=InmarginStyle] takes less time to change

[NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-24 Thread Richard Sherman
Hi all, I am having trouble with the control of fonts in \inmargin{} and in page numbers. I'm also having trouble with the alignment in \inmargin{}, and with font sizes generally. I've used what I know about \setupmargindata and \setupinmargin(and \setuppagenumbering). Below is an example

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-24 Thread Wolfgang Schuster
\setupmargindata and \setupinmargin(and \setuppagenumbering). Below is an example that (almost) does what I want. The two or three problems I've tried and failed to solve are 1. control over the font size of the marginal note (rather than just \small; I want to choose a point-size) 2. control

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
that the following does what you want as far as setting up the margin text and description. I am no help on the mp stuff that you will need for curly or other-dotted rules. As you probably saw, neither \setupmargindata nor \setupmarginframed are in the wiki. The list archive has some hints

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
? When I put it into \definesidebar, the sidebar disappears, and when I write \startsidebar[oeps,alternative=1] it reverts to the default left sidebar (albeit dotted). Matthias \setupmargindata [left] [location=right, style=\bfxx] \setupmarginframed[left

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
\setupmargindata[][align=middle,width=2cm] %??? \definedescription[greenline] % ??? [before={\setupmarginrule[rulecolor=green] \indenting[no] \startmarginrule[2]}, after={\stopmarginrule} ] \starttext \inmargin[method=first][frame=on,corner=round] {Read\\this\\first} \setupmarginrule[rulecolor=red

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Rik
\setupmarginrule[rulethickness=.1pt] % works \setupmargindata[][align=middle,width=2cm] %??? \definedescription[greenline] % ??? [before={\setupmarginrule[rulecolor=green] \indenting[no] \startmarginrule[2]}, after={\stopmarginrule} ] \starttext \inmargin[method=first][frame=on,corner=round] {Read

Re: [NTG-context] \showsetup not working?

2013-07-03 Thread Pablo Rodríguez
thanks for your help, Wolfgang. Is there a way to load the definitions for all commands? I mean, I'm interested in \setuplinenote, \setupmargindata and similar. Many thanks for your help again, Pablo -- http://www.ousia.tk

Re: [NTG-context] \showsetup not working?

2013-07-03 Thread Wolfgang Schuster
. You have to load the definitions for the core commands. Many thanks for your help, Wolfgang. Is there a way to load the definitions for all commands? I mean, I'm interested in \setuplinenote, \setupmargindata and similar. When you get no output for a certain commands

[NTG-context] Different width of marginblocks and margindata

2013-05-03 Thread Marco Patzer
Hi, in the following example, why do marginblocks and margindata produce a different width when both are set to the same value? \setupmarginblocks [width=\rightmarginwidth] \setupmargindata [inright] [style=normal, width=\rightmarginwidth] \showframe \starttext \startmarginblock

Re: [NTG-context] margin notes in MKIV (doublesided pages)

2013-02-09 Thread Alan Bowen
Thanks, Devendra. That is very helpful. \*setupmargindata*[margintext][location=outer,align=inner] gives me exactly the placement that I need. Best, Alan On Sat, Feb 9, 2013 at 1:25 AM, Devendra Ghate devendra.gh...@gmail.comwrote: On 02/09/2013 06:51 AM, Alan Bowen wrote: I need margin

[NTG-context] \margintext overflows in bottom margin

2013-01-17 Thread Devendra Ghate
into bottom margin. I took a look at *typo-mar.mkiv* to see if an option exists to correct this without any success. *MWE* \setuplayout[height=6cm,width=5cm,rightmargin=5cm] \unprotect % setup the side notes \setupmargindata [margintext] [location=outer, width=4.5cm, align=flushleft

Re: [NTG-context] ntg-context Digest, Vol 103, Issue 37

2013-01-14 Thread Malte Stien
code for `inoutermargin`, and found out it is an instance of the `margindata` class. This is its setup command: \setupmargindata[inoutermargin][style=bold,color=red] (2) A minimal working example. It is nice to include an MWE when you ask a question -- it makes things easier for people

Re: [NTG-context] Controlling Appearance of \inoutermargin

2013-01-13 Thread Sietse Brouwer
it is an instance of the `margindata` class. This is its setup command: \setupmargindata[inoutermargin][style=bold,color=red] (2) A minimal working example. It is nice to include an MWE when you ask a question -- it makes things easier for people who want to try to answer the question, because they don't

Re: [NTG-context] images and text stacked in the margin

2012-11-12 Thread Marco Patzer
, rightmargin=5cm] \setupmargindata [inouter] [location=outer, stack=continue] \definefloat [marginfigure] [marginfigures] [figure] \setupfloat [marginfigure] [default=margin] \definefloat [margintext

[NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
, headerdistance=0pt, height=560pt, footer=0pt, % backspace=42pt, leftmargin=0pt, width=280pt, rightmargindistance=20pt, rightmargin=100pt] \setupmargindata [margintext] [location=outer

[NTG-context] [typo-mar.mkiv] \dosetupstrut - \setupstrut

2012-09-22 Thread Philipp Gesang
\dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line 246: - \dosetupstrut[\currentmargindatastrut]% + \setupstrut[\currentmargindatastrut]% Test document: ··· \starttext \setupmargindata

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Philipp Gesang
, height=560pt, rightmargindistance=20pt, rightmargin=100pt, footer=0pt] \setuppagenumbering[alternative=doublesided] \setupmargindata [margintext] [location=outer, width=100pt, align=flushouter] \starttext \showframe \input tufte \input tufte \input tufte

Re: [NTG-context] pushing margintext up

2012-05-27 Thread Andy Thomas
, rightmargindistance=20pt, rightmargin=100pt, footer=0pt] \setuppagenumbering[alternative=doublesided] \setupmargindata [margintext] [location=outer, width=100pt, align=flushouter] \starttext \showframe \input tufte \input tufte \input tufte\margintext{This is too low

[NTG-context] pushing margintext up

2012-05-23 Thread Andy Thomas
, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt, height=560pt, rightmargindistance=20pt, rightmargin=100pt, footer=0pt] \setuppagenumbering[alternative=doublesided] \setupmargindata [margintext] [location=outer, width=100pt, align=flushouter

Re: [NTG-context] stack marginals: text and figures

2012-05-22 Thread Andy Thomas
=outer, width=100pt, align=flushouter, stack=continue, % or yes ] Use \setupmargindata to change the values of a existing command. In this example it doesn’t matter but that’s not always the case. Wolfgang I also changed \definemargindata to \setumargindata

Re: [NTG-context] stack marginals: text and figures

2012-05-21 Thread Wolfgang Schuster
does not 'know of each other'. They do overlap. I made a small example to show the behavior: […] \definemargindata [margintext] [ location=outer, width=100pt, align=flushouter, stack=continue, % or yes ] Use \setupmargindata to change the values

  1   2   >