Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 08:35 PM, Marcus Vinicius Mesquita wrote: > Thank you, Pablo.  > > My version was from 2 of June. I updated again today, and the problem > was solved. I knew that you generated the PDF document with that beta. But I don’t have that version, so I wasn’t able to check with it. Glad

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Marcus Vinicius Mesquita
Thank you, Pablo. My version was from 2 of June. I updated again today, and the problem was solved. Greetings Marcus Vinicius ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 02:25 AM, Marcus Vinicius Mesquita wrote: > Dear list, > > After updating ConTeXt, commands \inmargin and \inouter do not work anymore. Hi Marcus Vinicius, I’m using latest beta (from 2018.06.04 12:18) and both commands work fine. I’m on linux-64 too. My previous bet

[NTG-context] Commands \inmargin and \inouter not working

2018-06-03 Thread Marcus Vinicius Mesquita
Dear list, After updating ConTeXt, commands \inmargin and \inouter do not work anymore. MWE: \starttext This is an example of a simple margin note set in the slanted font of the document. If used correctly, the note \inmargin{Here is a simple margin note.} should print on the side

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

2018-03-29 Thread Henri Menke
verlapping, 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.png >>

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

2018-03-29 Thread Hans Hagen
?  Any help would be appreciated! *** \starttext \inmargin{1}Now we are engaged in a great civil war. \inmargin{2}We are testing whether that nation or any nation so conceived and so dedicated, can long endure. \inmargin{3}We are met on a great battle-field

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

2018-03-28 Thread Henri Menke
those that would overlap to get something like "1,2". > > Current output: https://i.imgur.com/RaTQ1ZO.png > Desired output: https://i.imgur.com/oWKigTX.png > > Is there a reliable way to implement this?  Any help would be appreciated! > > *** > > \starttext &g

[NTG-context] Combine overlapping margin notes with separator

2018-03-19 Thread Benjamin Epstein
ng Desired output: https://i.imgur.com/oWKigTX.png Is there a reliable way to implement this? Any help would be appreciated! *** \starttext \inmargin{1}Now we are engaged in a great civil war. \inmargin{2}We are testing whether that nation or any nation so conceived and so dedicated, can lon

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
layout   [backspace=2in,    width=middle] \setupindenting [yes,medium] \setupwhitespace[line] \starttext \noindent\inmargin{Ward}% \directcheckedvspacing{disable}% \input ward \stoptext Wolfgang Hans Hagen <mailto:pra...@wxs.nl> 19. Februar 2018 um 21:09 On 2/19/2018 8:33 PM, Wolfgang Schuster wrote:

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
nting [yes,medium] \setupwhitespace[line] \starttext \noindent\inmargin{Ward}% \directcheckedvspacing{disable}% \input ward \stoptext Wolfgang Hans Hagen <mailto:pra...@wxs.nl> 19. Februar 2018 um 21:09 On 2/19/2018 8:33 PM, Wolfgang Schuster wrote: I can’t provide a fix but I was able to creat

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
space[line] \starttext \noindent\inmargin{Ward}% \directcheckedvspacing{disable}% \input ward \stoptext Wolfgang \noindentation doesn't have the side effects of \noindent Brian Hunt <mailto:brianmh...@gmail.com> 18. Februar 2018 um 13:48 Hi all, I reported a curiosity on tex.stackexc

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
I can’t provide a fix but I was able to create a minimal example which shows the "disable" option for \blank produces the unwanted space. \setuplayout [backspace=2in, width=middle] \setupindenting [yes,medium] \setupwhitespace[line] \starttext \noindent\inm

Re: [NTG-context] notes in the margin

2018-02-12 Thread Henning Hraban Ramm
] \placelocalfootnotes % doesn’t change anything \stopplacefigure * Further, in some cases it would be good to move the margin note by a few lines higher or lower. \inmargin has this first parameter: "+ - low" in reference, e.g. \inmargin [method=first,voffset=-6pt] in source typo-mar.mki

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] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
indent when the label is at the beginning of a paragraph and fails to print the label or generate references with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails to work in a footnote. use \ID ... \par as it has to know where it ends which is a paragraph

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
of a paragraph and fails to print the label or generate references with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails to work in a footnote. use \ID ... \par as it has to know where it ends which is a paragraph end or use \startID ... \stopID

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
the label or generate references with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails to work in a footnote. use \ID ... \par as it has to know where it ends which is a paragraph end or use \startID ... \stopID     \setupindenting[yes,small

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails to work in a footnote. use \ID ... \par as it has to know where it ends which is a paragraph end or use \startID ... \stopID \setupindenting[yes,small] \definelabel   [ID][ %\defineenumeration[ID

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
Bump. On 2015-08-11 14:45, Rik Kabel wrote: The example below documents the problems. In short, \definelabel suppresses paragraph indent when the label is at the beginning of a paragraph and fails to print the label or generate references with alternative=inmargin (or inright, or inleft) when

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
Am 2017-04-09 um 21:46 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> Henning Hraban 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 \inmarg

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] Problems with heads using margintext alternative

2017-07-29 Thread Rik Kabel
On 2017-07-29 14:18, Pablo Rodriguez wrote: On 07/29/2017 07:34 PM, Rik wrote: Pablo, The \inmargin commands do suffer from the same problem; you need simply change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height

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

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 07:34 PM, Rik wrote: > Pablo, > > The \inmargin commands do suffer from the same problem; you need simply > change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is different from \chapter. Pa

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

2017-07-29 Thread Rik
confirmation that this is the case. Indeed, the extra line before the text occurs only when inter-paragraph whitespace is set and start/stop is used. This does indeed appear to be something that can be repaired. Pablo, The \inmargin commands do suffer from the same problem; you need simply

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

2017-07-29 Thread Pablo Rodriguez
nk \inright{marg}\startparagraph\input jojomayer\stopparagraph \blank \inouter{marg}\startparagraph\input jojomayer\stopparagraph \ininner{marg}\startparagraph\input jojomayer\stopparagraph \blank \inmargin{marg}\startparagraph\input jojomayer\stopparagraph \blank

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

2017-07-29 Thread Willi Egger
>> over the left edge of the margin and beyond the page frame. >> \setuppapersize >> [letter] >> [letter,oversized] >> \setuplayout >> [location={middle,middle}] >> \showframe >> \setuphead >> [chapter] >> [number=

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

2017-07-29 Thread Rik
,oversized] \setuplayout [location={middle,middle}] \showframe \setuphead [chapter] [number=no, alternative=inmargin] \setuphead [section] [ alternative=margintext, insidesection={\blank[-line]}, ] \starttext

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
of the margin and beyond the page frame. \setuppapersize [letter] [letter,oversized] \setuplayout [location={middle,middle}] \showframe \setuphead [chapter] [number=no, alternative=inmargin] \setuphead [section

Re: [NTG-context] \startcomment...\stopcomment with XML processing

2017-06-25 Thread Pablo Rodriguez
gt;> >> Which is the right way to do it? > > \startxmlsetups xml:copy:code > \xmltobufferverbose{#1}{.}{whereever} > \comment[location=inmargin,color=yellow,buffer=whereever]{} > \stopxmlsetups Many thanks for your reply, Hans. I’m using this for a class.

Re: [NTG-context] \startcomment...\stopcomment with XML processing

2017-06-25 Thread Hans Hagen
=inmargin, color=yellow] %~ \xmlpure{#1} %~ \stopcomment \comment[location=inmargin, color=yellow]{\xmlpure{#1}} \stopxmlsetups \setupinteraction[state=start] \starttext \xmlprocessbuffer{main}{demo}{} \startcomment 1

[NTG-context] \startcomment...\stopcomment with XML processing

2017-06-24 Thread Pablo Rodriguez
} {xml:copy:code} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:copy:code %~ \startcomment[location=inmargin, color=yellow] %~ \xmlpure{#1

Re: [NTG-context] Misnamed parameter in \setuppagenumbering?

2017-06-08 Thread Hans Hagen
On 6/8/2017 8:59 AM, Henri Menke wrote: Dear list, On TeX.SX there was a question about why ConTeXt starts the document with a left instead of a right page. Turns out the OP merely confused "marginedge" with "inmargin". However, that made me wonder, is "margined

[NTG-context] Misnamed parameter in \setuppagenumbering?

2017-06-08 Thread Henri Menke
Dear list, On TeX.SX there was a question about why ConTeXt starts the document with a left instead of a right page.  Turns out the OP merely confused "marginedge" with "inmargin".  However, that made me wonder, is "marginedge" perhaps misnamed when it

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
Bump. I’d really appreciate answers, since my next project depends on it. Thank you. Am 2017-03-30 um 10:30 schrieb Henning Hraban Ramm <te...@fiee.net>: > While I’m still waiting for answers to my other questions, I got some more: > > In my layout, left margin width is zero

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Procházka Lukáš Ing .
ge you need global setups. begin example \setuplinenumbering [TEX] [location=inmargin, style=\tt\tfx, color=darkgreen] \setuptyping [TEX] [numbering=line] Does 'numbering=line' here mean that the \setuptyping[TEX] will search for a line-numbering style of

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Wolfgang Schuster
yle assigned by \setuplinenumbering (but works OK on other pages)? It’s a side effect of the way how line numbering works. To get the correct style for the last page you need global setups. begin example \setuplinenumbering [TEX] [location=inmargin, style=\tt\tfx, color=darkgreen] \setupt

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Procházka Lukáš Ing .
size[z] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dumm

[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

[NTG-context] Line numbering broken somehow?

2017-03-28 Thread Procházka Lukáš Ing .
] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text

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] two suggestions for \setuphead

2017-03-26 Thread Hans Hagen
On 3/23/2017 8:45 PM, Pablo Rodriguez wrote: On 03/22/2017 10:13 PM, Hans Hagen wrote: On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: [...] Would it be possible in this case to set both numberalign and textalign? (If no margin or inmargin alternative is selected and both numberalign

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

2017-03-23 Thread Pablo Rodriguez
On 03/22/2017 10:13 PM, Hans Hagen wrote: > On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible in this case to set both numberalign and textalign? >> (If no margin or inmargin alternative is selected and both numberalign >> and textalign are

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

2017-03-22 Thread Hans Hagen
be an even greater value for the alternative option in \setuphead when it could be combined with margin, inmargin and margintext. This may be reached with a special command, but avoiding a extra hack would be very helpful for newbies. Another issue with margin numbering is alignment: \showframe

[NTG-context] two suggestions for \setuphead

2017-03-15 Thread Pablo Rodriguez
in \setuphead when it could be combined with margin, inmargin and margintext. This may be reached with a special command, but avoiding a extra hack would be very helpful for newbies. Another issue with margin numbering is alignment: \showframe \starttext \setuphead[section][alternative

Re: [NTG-context] "\" in text from "\comment"

2016-12-22 Thread Pablo Rodriguez
is this a real bug? > > \startxmlsetups xml:pre:code > solution one \begingroup > \expandUx > \comment[symbol=Key, location=inmargin,color=yellow]{\xmlflush{#1}} > \endgroup > \par > solution two > \comment[symbol=Key, location

Re: [NTG-context] "\" in text from "\comment"

2016-12-21 Thread Hans Hagen
=inmargin, color=yellow]{\xmlflush{#1}}\xmlprettyprint{#1}{tex} \stopxmlsetups \setuppapersize[A6] \setupinteraction[state=start] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Text from comment reads "\Ux {5C}ConTeXt\Ux {5C} is great".

[NTG-context] "\" in text from "\comment"

2016-12-21 Thread Pablo Rodriguez
:*} \xmlsetsetup{#1}{pre/code}{xml:pre:code} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:pre:code \comment[symbol=Key, location=inmargin, color=yellow

[NTG-context] bug with backslash in comment (xml)?

2016-12-08 Thread Pablo Rodriguez
}{xml:pre:code} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:pre:code \comment[symbol=Key, location=inmargin, color=yellow]{\xmlflush{#1}}\xmlprettyprint{#1}{tex

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

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] disappearing margin text

2016-06-23 Thread josephcanedo
Hi, have you tried putting the \inmargin Inside before= in defineenumeration ? Seems to work fine (assuming you want the marginal note on same line as question. Joseph \defineblock[question] \hideblocks[question] \defineenumeration [question] [text=Question, before=\inmargin

Re: [NTG-context] disappearing margin text

2016-06-22 Thread Jan Willem Flamma
ible? > > Kind regards, > Jan Willem > > > MWE: > \defineblock[question] > \hideblocks[question] > > \defineenumeration >[question] >[text=Question] > > \setupblock[question][before=\startquestion,after=\stopquestion] > > > \start

[NTG-context] disappearing margin text

2016-06-22 Thread Jan Willem Flamma
=\startquestion,after=\stopquestion] \starttext \inmargin{margin} \beginquestion Text \endquestion \inmargin{margin} \beginquestion Text \endquestion \useblocks[question] \stoptext ___ If your question is of interest

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der
in a group did not change the behaviour. >> >> \setupbodyfont[dejavu,12pt] >> \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red >> Master\egroup}} >> \def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red >> Master\egroup}} >&

[NTG-context] Sorting index register

2016-05-24 Thread Manuel Conzelmann
<h.vanderm...@uva.nl>: Can someone explain to me the changes in fontsize in the following example? Enclosing the fontswitches in a group did not change the behaviour. \setupbodyfont[dejavu,12pt] \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red Master\egroup}}

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Hans Hagen
On 5/24/2016 3:04 PM, Meer, Hans van der wrote: Can someone explain to me the changes in fontsize in the following example? Enclosing the fontswitches in a group did not change the behaviour. \setupbodyfont[dejavu,12pt] \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 24. Mai 2016 um 15:04 Can someone explain to me the changes in fontsize in the following example? Enclosing the fontswitches in a group did not change the behaviour. \setupbodyfont[dejavu,12pt] \def\MarkMasterA{\inmargin[location=left]{\

[NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der
Can someone explain to me the changes in fontsize in the following example? Enclosing the fontswitches in a group did not change the behaviour. \setupbodyfont[dejavu,12pt] \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red Master\egroup}} \def\MarkMasterB{\inmargin

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 23:01:46 +0100 Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > \startplacefigure [location={inmargin,none}] Thank you, clean and elegant (and much easier than Willi's suggestion). The syntax is a bit magical, though ("location" of

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Wolfgang Schuster
Alan BRASLAU <mailto:alan.bras...@cea.fr> 15. März 2016 um 21:43 Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure [location

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Willi Egger
gt; wrote: > > Hi, > > How can one suppress the addition of a placed figure to the > listoffigures? > > In the following MWE, list=no places "no" as an alternative to the > (blank) title. > > Alan > > > \starttext > > \startplacefigu

[NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure [location=inmargin,number=no,list=no] \externalfigure [cow] [width=1cm] \stopplacefig

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

2015-11-12 Thread DesdeChaves
s are flushed with the next paragraph but you can start one for > the points only with the \dontleavehmode command. > > \define[1]\Info > {\dontleavehmode\margindata[inmargin]{\rotate{#1}}} > > Another question: How can I anchor the scores in the middle of the > verti

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

2015-11-12 Thread Wolfgang Schuster
indata[inmargin]{\rotate{#1}}} 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. You can use the \framed command to reserve the space for the answer and place with the score with a layer as back

[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] margindata does not work in latest beta

2015-08-11 Thread Otared Kavian
, the linenumbering doesn’t stop where I would expect. Is this a bug or a limitation of context? \setuplayout [leftmargin=2cm] \setupbodyfont [times,10pt] \setuplinenumbering [step=1,location=inmargin] \setupcolumns [n=2] \starttext \startcolumns \startlinenumbering Had we but world enough

[NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2015-08-11 Thread Rik Kabel
The example below documents the problems. In short, \definelabel suppresses paragraph indent when the label is at the beginning of a paragraph and fails to print the label or generate references with alternative=inmargin (or inright, or inleft) when in a footnote. \defineenumeration fails

Re: [NTG-context] bug in blank pagebreak?

2015-07-24 Thread Hans Hagen
On 7/19/2015 7:56 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definepagebreak [right:pagebreak] [yes, blank, right] %~ [yes, header, footer, right] \setuppagenumbering [location=inmargin] \setupheadertexts

[NTG-context] bug in blank pagebreak?

2015-07-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \definepagebreak [right:pagebreak] [yes, blank, right] %~ [yes, header, footer, right] \setuppagenumbering [location=inmargin] \setupheadertexts [Header text] \setuphead [chapter

[NTG-context] \footnote and \note with \setupnotation[way=bypage], but it does not work with XML processing

2015-07-02 Thread mf
, it prints the value of the counter that the footnote had in the previous page, when it should produce a new \footnote instead for the new page. Running this example should show the problem more clearly: \setupnotation[way=bypage] \def\showcountersinmargin#1{% \inmargin{\rawcountervalue[contapag#1

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Pablo Rodriguez
reply: %~ \setuphead[section][margin=-1cm] \setuphead[section][alternative=inmargin] \starttext \startsection[title=Synopsis] \input zapf \stopsection \stoptext Doesn’t any option suit your needs? I hope it may help, Pablo -- http://www.ousia.tk

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Wolfgang Schuster
non-working for some people. For me the alternative=inmargin/normal options work, but the separator= and stopper= options have no effect. I would like my chapter, section etc numbers to have a dot after them, eg 1. 1.1. etc. How could I achieve this? Just in curiousity, how can I change

Re: [NTG-context] setupheads separator and stopper

2015-04-24 Thread Csikos Bela
Wolfgang Schuster írta: Am 23.04.2015 um 16:34 schrieb Csikos Bela: Hello list members: contextgarden wiki site http://wiki.contextgarden.net/Command/setupheads says that the \setupheads command has been reported non-working for some people. For me the alternative=inmargin/normal

[NTG-context] setupheads separator and stopper

2015-04-23 Thread Csikos Bela
Hello list members: contextgarden wiki site http://wiki.contextgarden.net/Command/setupheads says that the \setupheads command has been reported non-working for some people. For me the alternative=inmargin/normal options work, but the separator= and stopper= options have no effect. I would like

Re: [NTG-context] setupheads separator and stopper

2015-04-23 Thread Wolfgang Schuster
Am 23.04.2015 um 16:34 schrieb Csikos Bela bcsikos...@freemail.hu: Hello list members: contextgarden wiki site http://wiki.contextgarden.net/Command/setupheads says that the \setupheads command has been reported non-working for some people. For me the alternative=inmargin/normal

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

2015-03-30 Thread Mari Voipio
On Tue, Mar 24, 2015 at 1:41 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can use the \tbox command for the alignment of the graphic. \setuplayout[backspace=4cm,width=14cm] \starttext \inmargin{\tbox{\externalfigure[warning][width=\leftmarginwidth]}} \input tufte

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

2015-03-30 Thread Wolfgang Schuster
Am 30.03.2015 um 08:41 schrieb Mari Voipio mari.voi...@iki.fi: On Tue, Mar 24, 2015 at 1:41 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can use the \tbox command for the alignment of the graphic. \setuplayout[backspace=4cm,width=14cm] \starttext \inmargin{\tbox

Re: [NTG-context] Customising referencing failures (\in, etc)

2015-03-27 Thread Wolfgang Schuster
a marker in the margin, or something). Cheers, Robin \starttext \input tufte Bad reference \in[missing]. \input tufte \stoptext \def\dummyreference{\inmargin[style=\tttf,color=red]{??}} \starttext \input tufte Bad reference \in[missing]. \input tufte \stoptext Wolfgang

Re: [NTG-context] Customising referencing failures (\in, etc)

2015-03-27 Thread Robin.Kirkham
in the margin, or something). Cheers, Robin \def\dummyreference{\inmargin[style=\tttf,color=red]{??}} \starttext \input tufte Bad reference \in[missing]. \input tufte \stoptext Wolfgang Thank you once again Wolfgang — Robin

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

2015-03-24 Thread Mari Voipio
appear in the middle. This is what I have this far: \setupwhitespace[medium] \starttext \inmargin{\externalfigure[warning]} \input tufte \inmargin{\externalfigure[warning]} Really short paragraph. \inleft{ \placefigure[none][]{} {\externalfigure[warning]} } \input

[NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
example: \enableregime[utf-8] \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work} \margintext{b} \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen
On 3/19/2015 11:39 AM, Philipp A. wrote: |\enableregime[utf-8] ^^^ no need for that \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work} \margintext{b} \margintext{c} \strut \stoptext| margintexts need to bind to something --

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
thank you! what’s \strut? can’t find it in the wiki… Hans Hagen pra...@wxs.nl schrieb am Do., 19. März 2015 um 11:52 Uhr: On 3/19/2015 11:39 AM, Philipp A. wrote: |\enableregime[utf-8] ^^^ no need for that \mainlanguage[de] \starttext \subject{Works} 1

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen
On 3/19/2015 1:55 PM, Philipp A. wrote: thank you! what’s \strut? can’t find it in the wiki… add \showstruts at the top of your document and you'll see them (add \showmakup and you will be even more enlightened about tex's whatabouts) Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl schrieb

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Hans Hagen
packages I have worked with before.) First, what is the preferred way to get marginal text? Is \margintext, \inmargin, or some other the current best practice? Second, is there a way to get marginal text for a footnote? Here is a minimal working example: \starttext Text for the\footnote{A\margintext

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Robert Krug
, what is the preferred way to get marginal text? Is \margintext, \inmargin, or some other the current best practice? Second, is there a way to get marginal text for a footnote? Here is a minimal working example: \starttext Text for the\footnote{A\margintext{Where am I?} footnote.} main

<    1   2   3   4   5   6   7   >