[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
ecify \setupmargindata in any case. However, on the one hand, there might be notes that follow the style of the "style" argument within \setupmargindata. And on the other hand, there might be notes that internally uses \framed and follow the "style" argument within a separately specifie

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Gerion Entrup
> > Hi Gerion, > > there is an \ifinframed conditional, such as in: > ... > This may help to achieve what you want. > > Just in case it helps, Thanks for the answer, but we misunderstood. I'll try to formulate it clearer: If I get it right, to set margin notes, you n

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
you know the correct way? > >>>>> > >>>>> Here is a MWE: > >>>>> ``` > >>>>> \setuppagenumbering[location={footer, right}, alternative=doublesided] > >>>>> > >>>>> \definealign[myalign][i

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
[location={footer, right}, alternative=doublesided] \definealign[myalign][inner, nothyphenated] \setupmargindata[inmargin][ location=outer, style=italic, % nothing of that seems to have any effect % align=myalign, % align=inner, % align

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
ment is only correct at even pages. > >>> > >>> Do you know the correct way? > >>> > >>> Here is a MWE: > >>> ``` > >>> \setuppagenumbering[location={footer, right}, alternative=doublesided] > >>> > >>> \d

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
text body. However, I did not get this to work. It hyphenates and the alignment is only correct at even pages. Do you know the correct way? Here is a MWE: ``` \setuppagenumbering[location={footer, right}, alternative=doublesided] \definealign[myalign][inner, nothyphenated] \setupmargindata[inmargin

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
ht}, alternative=doublesided] > > > > \definealign[myalign][inner, nothyphenated] > > \setupmargindata[inmargin][ > > location=outer, > > style=italic, > >% nothing of that seems to have any effect > > % align=myalign, > > % align=

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Wolfgang Schuster
the correct way? Here is a MWE: ``` \setuppagenumbering[location={footer, right}, alternative=doublesided] \definealign[myalign][inner, nothyphenated] \setupmargindata[inmargin][ location=outer, style=italic, % nothing of that seems to have any effect % align

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Gerion Entrup
Am Donnerstag, 1. August 2024, 15:36:57 MESZ schrieb Hans Hagen: > On 8/1/2024 2:50 PM, Taco Hoekwater wrote: > > Hi, > > > > Something seems wrong with the align processing inside \setupmargindata, > > because using a macro like > > > > \def\Inmargin#1

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Hans Hagen
On 8/1/2024 2:50 PM, Taco Hoekwater wrote: Hi, Something seems wrong with the align processing inside \setupmargindata, because using a macro like \def\Inmargin#1{\inmargin{\blank[-line]\startalignment[inner,nothyphenated]#1\stopalignment}} works ok (the \blank[-line] is a side-effect of

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Henning Hraban Ramm
Am 01.08.24 um 14:50 schrieb Taco Hoekwater: Something seems wrong with the align processing inside \setupmargindata, because using a macro like I also got the impression that something must be wrong from my experiments with inmargin captions (see my architectural guides article in the

[NTG-context] Re: Alignments of margin notes

2024-08-01 Thread Taco Hoekwater
Hi, Something seems wrong with the align processing inside \setupmargindata, because using a macro like \def\Inmargin#1{\inmargin{\blank[-line]\startalignment[inner,nothyphenated]#1\stopalignment}} works ok (the \blank[-line] is a side-effect of using the environment inside a margin text

[NTG-context] Alignments of margin notes

2024-08-01 Thread Gerion Entrup
: ``` \setuppagenumbering[location={footer, right}, alternative=doublesided] \definealign[myalign][inner, nothyphenated] \setupmargindata[inmargin][ location=outer, style=italic, % nothing of that seems to have any effect % align=myalign, % align=inner, % align

[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-27 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 25.04.2024 um 10:24: hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the opti

[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the option of [setupcounter]. I've defined the following sideno

[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, the

[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
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
=40mm] \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

[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={

[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{This is

[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[

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

2021-11-20 Thread kauśika via ntg-context
ysection] > > 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

[NTG-context] Enumeration numbering in the left margin

2021-11-19 Thread kauśika via ntg-context
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] [alternative=leftmargin, text=, width=\leftmarginwidth, headcolor=bblue4, distance=0em, way=bysection] I am ab

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
space=7cm, width=middle, margin=5cm, margindistance=7mm] %\def\ColWidth{57mm} \setupmargindata[inmargin] [location=right, stack=continue, align=flushright, ] \setupmargindata[inouter] [location=right, stack=continue,

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-02 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
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
m >>> 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
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
denting=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
l 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 t

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
n. >> 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 works like this: >> >> \setupno

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

2017-07-30 Thread Hans Hagen
le 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} \

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

2017-07-30 Thread Pablo Rodriguez
t able 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] (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

[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}% \i

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 : > 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 \setupmargindata[inmargin][locat

Re: [NTG-context] notes in the margin

2017-04-05 Thread Pablo Rodriguez
ome 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 – should >> \setupm

Re: [NTG-context] notes in the margin

2017-04-04 Thread Henning Hraban Ramm
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 works like this: "

[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
’t work: \showframe \definemargindata[outerhead][outer] \setupmargindata[outerhead][align=center] \setupmargindata[outerhead][align=center,width=\rightmarginwidth] Wolfgang ___ If your question is of interest to others as

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

2017-03-26 Thread Pablo Rodriguez
und 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
r][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][align=right] \setup

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
etuplanguage[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]}] \setupmargin

[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
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] \setupbodyfontenvironmen

[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
oublesided, location={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=

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

2016-06-30 Thread Jean-Pierre Delange
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] > [pres

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

[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-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

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 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 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
#x27;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=middle] > \setupmarginframed[inmargin][align=

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

2015-11-12 Thread Wolfgang Schuster
as background 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]

[NTG-context] anchor points for \inmargin

2015-11-11 Thread DesdeChaves
ge. I 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=out

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

2015-03-30 Thread Wolfgang Schuster
always uses the \tbox command for the image. \setuplayout[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 Wolfgang Schuster
> Am 26.11.2014 um 02:39 schrieb Richard Sherman : > > Wolfgang Schuster gmail.com> writes: > >> The first line is a comment which says >> >> \definefont[InmarginStyle][Sans at 18pt] >> \setupmargindata[inmargin][style=InmarginStyle] >>

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

2014-11-25 Thread Richard Sherman
Wolfgang Schuster 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={\switchtob

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

2014-11-25 Thread Wolfgang Schuster
> Am 25.11.2014 um 10:14 schrieb Richard Sherman : > > Wolfgang Schuster gmail.com> writes: > > ... >> \setuppagenumbering[style=\ttc] >> >> \setuplayout[backspace=4cm] >> >> \showframe >> >> \setupmarginframed[inma

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

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

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

2014-11-24 Thread Wolfgang Schuster
> Am 25.11.2014 um 03:47 schrieb 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 us

[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 ex

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-19 Thread Matthias Weber
g 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

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

2014-05-18 Thread Rik
Thanks! Matthias \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

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

  1   2   >