[NTG-context] Re: Two questions to counter in margin

2025-05-31 Thread Wolfgang Schuster
\define[2]\MySceneTitle{%   \inleft{#1}\inright{#1}{\bfd #2} } (#1 is the formatted section number, #2 is the title) Alternative solution with custom section layout. begin example \defineheadalternative [scene] [alternative=vertical, renderingsetup=scene:title] \startsetups [s

[NTG-context] Re: Two questions to counter in margin

2025-05-29 Thread Thomas Meyer
.. Well, you can’t avoid special solutions for special demands ;) Something like: \setuphead[Scene][command=\MySceneTitle] \define[2]\MySceneTitle{%   \inleft{#1}\inright{#1}{\bfd #2} } (#1 is the formatted section number, #2 is the

[NTG-context] Re: Two questions to counter in margin

2025-05-28 Thread Henning Hraban Ramm
d the count in the margin and on both sides, right AND left! Maybe I'm standing like an ox in front of a barn door ... Well, you can’t avoid special solutions for special demands ;) Something like: \setuphead[Scene][command=\MySceneTitle] \define[2]\MySceneTitle{% \inleft{#1}\inright{#

[NTG-context] Re: first line in different font

2024-09-29 Thread Thomas Meyer
% \setupindenting[yes,.5tw] % \setfirstline[smallcaps] % \samplefile{lorem} \doloopoverlist{0,0.1,0.2,0.3,0.4,0.5}    {\setupindenting[yes,\recursestring\textwidth]     \inleft{\recursestring}     \setfirstline[smallcaps]     \samplefile{lorem}     \blank} \stoptext end example just comment line

[NTG-context] Re: first line in different font

2024-09-28 Thread Hans Hagen via ntg-context
}   {\setupindenting[yes,\recursestring\textwidth]    \inleft{\recursestring}    \setfirstline[smallcaps]    \samplefile{lorem}    \blank} \stoptext end example just comment line 168 in typo-fln (because we run in parindent == glue mode in context, otherwise parindent is applied twice) (i didn&#

[NTG-context] Re: first line in different font

2024-09-28 Thread Thomas Meyer
.3,0.4,0.5}   {\setupindenting[yes,\recursestring\textwidth]    \inleft{\recursestring}    \setfirstline[smallcaps]    \samplefile{lorem}    \blank} \stoptext end example Wolfgang ___ If your question is of i

[NTG-context] Re: first line in different font

2024-09-28 Thread Wolfgang Schuster
] \setupbodyfont [pagella] % even with wider lines the formatting of the first line stops % \setuppapersize[A4,landscape] \starttext % \setupindenting[yes,.5tw] % \setfirstline[smallcaps] % \samplefile{lorem} \doloopoverlist{0,0.1,0.2,0.3,0.4,0.5} {\setupindenting[yes,\recursestring\textwidth] \inleft

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
g}}     \samplefile{lorem}     \margindata[\recursestring]{Text in the margin!}     \samplefile{lorem} } \doloopoverlist{     inleft,     inright,     inouter,     ininner,     inmargin,     inother, } {     %\setupmargindata[\recursestring][align=middle]     \setupmarginframed[\recursestring][align=middle]     \

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
w}{\externalfigure[cow][ width=3cm, %width=2cm, ]} \placefigure[inleft]{A Cow}{\externalfigure[cow][width=2cm]} \placefigure[inright]{A Cow}{\externalfigure[cow][width=2cm]} \stoptext Just in cas

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
bodyfont[modern, 12.50pt] If these lines are irrelevant for the issue you are experiencing, please don’t include them. > \definemargindata [MyInMargin][inleft] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] You define this margin framed, but you

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

2024-03-19 Thread Jean-Pierre Delange
\inleft{}, \inouter{} etc will place text in the margin in bold. 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? ___ If

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

2024-03-19 Thread Jeroen
> > in slightly smaller font size compared to the regular text in the > > document? > > \setupmargindata > [inleft] > [style=\tfx] > > Marco > > ___ > If your question is of in

[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
Jeroen schrieb am 19.03.2024 um 15:38: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. 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

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

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. 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

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

2024-03-19 Thread Hans van der Meer via ntg-context
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}} yours sincerely dr. Hans van der Meer > On 19 Mar 2024, at 15:38, Jeroen wrote: > > For comments that are placed in the margin, the \inleft{}, \inouter{} etc > will place text in the margin in bold. Can

[NTG-context] Comments placed in the margin

2024-03-19 Thread Jeroen
For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. 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

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
elevant for the issue you are experiencing, please don’t include them. > \definemargindata  [MyInMargin][inleft] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] You define this margin framed, but your sample makes no use of it. Sorr

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
[MyInMargin][inleft] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \definetextbackground[GrayBackground][ location

Re: [NTG-context] Curriculum example not working anymore (repost)

2023-02-24 Thread Jan-Erik Hägglöf via ntg-context
{{\bf #1}\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} doesn’t work as expected. My modification \define[5]\EDUITEM{ \inleft{\bf #1} {{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} Then it seems to work as

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen
{Me} \blackrule[color=black, height=0.5ex, width=1cm] \stoptext \startformula a^n + b^n = c^n. \stopformula \stoptext What i want is a\blackrule over the margintext, but i do not get what I wantend. \definemargindata [MyInMargin][inleft] \definemarginframed[MyInMargin][topframe=on,bottomframe=on

Re: [NTG-context] how to with \margindata

2020-07-15 Thread Hans van der Meer
re >> expanded twice. This interferes badly with the things I want to happen. > > No, the content is stored in a box and placed later. > > \definecounter[test] > > \starttext > > \dorecurse{10} > {\inleft{\incrementedcounter[test]}Line \recurselevel\par} &g

Re: [NTG-context] how to with \margindata

2020-07-15 Thread Wolfgang Schuster
em is that macro expansions inside the {}'s are expanded twice. This interferes badly with the things I want to happen. No, the content is stored in a box and placed later. \definecounter[test] \starttext \dorecurse{10} {\inleft{\incrementedcounter[test]}Line \recurselevel\par} \stoptex

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
testing and discovered what is certainly a bug. Here’s a new example: # # \setbreakpoints [compound] # # \definelinenumbering #[original] #[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred] # # \definelinenumbering #[translation] #[style=\tx\ss,distance=-1e

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
’s bonus question. But I have continued testing and discovered what is certainly a bug. Here’s a new example: \setbreakpoints [compound] \definelinenumbering [original] [style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred] \definelinenumbering [translation] [sty

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Tomas Hala
] #[style=\ss, # distance=-2ex, # step=2, # location=inleft, # start=20, # color=darkblue] #\startlinenumbering[One] #\input knuth #\stoplinenumbering # # \blank [line] # #\definelinenumbering[Two] #\setuplinenumbering[Two

[NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
problem: \starttext % This works: \definelinenumbering[One] \setuplinenumbering[One] [style=\ss, distance=-2ex, step=2, location=inleft, start=20, color=darkblue] \startlinenumbering[One] \input knuth \stoplinenumbering \blank [line

[NTG-context] Spurious breaks in export when blank line ends paragraph

2018-08-21 Thread Rik Kabel
  xx. Xxx x, \inleft{z} x xx x   xx x xx xxx xx x, xxx xx   xxx xxx xxx xx xxx xx Xxxx , xxx   x xx x xx . Xxx x   xxx xxx xxx

[NTG-context] Unexpected in XML output

2018-07-14 Thread Rik Kabel
Taa aaa aa a aa aaa aa aa aa. Taa a\inleft{>}, a aa a aa a aa aaa a aaa, \inright{<} a aa a aa, aaa aa aaa

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

2017-07-30 Thread Hans Hagen
input jojomayer \blank \inmargin{marginal\\data\blank}\input jojomayer \inleft{L}test \inright{R}test \definemargindata[Xinleft] [width=3cm,location=left, align=flushleft] \definemargindata[Xinright][width=3cm,location=right,align=flushright] \Xinleft {L}test \Xinri

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

2017-07-29 Thread Rik
\startparagraph and sectioning commands (other margindata are fine): \setuphead [chapter] [alternative=margintext] \starttext \chapter{Chapter} \startparagraph\input jojomayer\stopparagraph \blank \inleft{marg}\startparagraph\input jojomayer\stopparagraph

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

2017-07-29 Thread Pablo Rodriguez
rtparagraph and sectioning commands (other margindata are fine): \setuphead [chapter] [alternative=margintext] \starttext \chapter{Chapter} \startparagraph\input jojomayer\stopparagraph \blank \inleft{marg}\startparagraph\input jojomayer\stopparagraph \bla

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
out [\v!fit] [\v!middle] [\c!backspace=\dimexpr\layoutparameter\c!leftmargin+\layoutparameter\c!leftmargindistance\relax, \c!cutspace=\dimexpr\layoutparameter\c!rightmargin+\layoutparameter\c!rightmargindistance\relax] > >> >> \setuppapersize

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Hans Hagen
frame \starttext Foo\page Bar\inleft{Foobarb} \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinf

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
for > onesided typesetting. > > > \setuppapersize[A5][A4,landscape] > \setuppaper[nx=2] > \setuparranging[XY] > > \showframe > > \starttext > Foo\page Bar\inleft{Foobarb} > \stoptext > > > > > > > Aditya > > __

Re: [NTG-context] Why is the page off?

2017-07-02 Thread Henri Menke
rmore it doesn't make sense to have a non-centred text block for onesided typesetting. \setuppapersize[A5][A4,landscape] \setuppaper[nx=2] \setuparranging[XY] \showframe \starttext Foo\page Bar\inleft

Re: [NTG-context] Clickable question/answer numbers

2016-11-04 Thread Mikael P. Sundqvist
nswer] \hideblocks[answer] \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} \def\myheadcommand#1{\goto{Question #1}[A:\currentconstructionreference]} \defineenumeration[question][ text=, title=yes, titlestyle=, titlecolor=black, headcommand={\myheadcommand}, headstyle={\sc}, head

Re: [NTG-context] Clickable question/answer numbers

2016-11-04 Thread Otared Kavian
; \setupinteraction[state=start,color=,contrastcolor=,style=] > > \defineblock[answer] > \hideblocks[answer] > > \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} > > > \defineenumeration[exercise][ > text=Question, > title=yes, > titlestyle

Re: [NTG-context] Clickable question/answer numbers

2016-11-03 Thread Mikael P. Sundqvist
\usemodule[references-show] \setupinteraction[state=start,color=,contrastcolor=,style=] \defineblock[answer] \hideblocks[answer] \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} \defineenumeration[exercise][ text=Question, title=yes, titlestyle=, titlecolor=black, headstyle={\sc},

Re: [NTG-context] Clickable question/answer numbers

2016-11-03 Thread Mikael P. Sundqvist
. >>> >>> Le me know if you find a satisfactory solution… >>> >>> Best regards: OK >>> %%% begin interactive-question-answer.tex >>> \setupinteraction[state=start,color=,contrastcolor=,style=] >>> >>> \defineblock[answer] &g

Re: [NTG-context] Clickable question/answer numbers

2016-11-03 Thread Hans Hagen
est regards: OK %%% begin interactive-question-answer.tex \setupinteraction[state=start,color=,contrastcolor=,style=] \defineblock[answer] \hideblocks[answer] \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} \define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A:Q:#1]} \define[1

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Mikael P. Sundqvist
color=,style=] > > \defineblock[answer] > \hideblocks[answer] > > \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} > > \define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A:Q:#1]} > > \define[1]\StartQuestion{\startquestion[reference=Q:#

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Otared Kavian
\setupinteraction[state=start,color=,contrastcolor=,style=] \defineblock[answer] \hideblocks[answer] \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} \define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A:Q:#1]} \define[1]\StartQuestion{\startquestion[reference=Q:#1,title={\AnswerToQuestion

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Mikael P. Sundqvist
ble with that target. >> >> I hope I make myself clear. If it matters, in the solution one could >> assume that the optional tag of the \startquestion \stopquestion is >> given for all questions. >> >> Best regards, Mikael >> >> %% qa.tex >> \setupin

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Otared Kavian
t. > > I hope I make myself clear. If it matters, in the solution one could > assume that the optional tag of the \startquestion \stopquestion is > given for all questions. > > Best regards, Mikael > > %% qa.tex > \setupinteraction[state=start,color=,contrastcolor=,st

[NTG-context] Clickable question/answer numbers

2016-11-02 Thread Mikael P. Sundqvist
ate=start,color=,contrastcolor=,style=] \defineblock[answer] \hideblocks[answer] \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}} \defineenumeration[question][ text=Question, headcolor=darkred, width=fit, number=yes, prefix=yes, prefixsegments=section, ] \starttext \section{A section

Re: [NTG-context] Algorithmic, Floats and line numbers.

2016-10-27 Thread Mohammad Hossein Bateni
t with linenumbering, what you need is counter which is inserted at the > begin of each line. > > \definelabel[algorithmicline][text=,alternative=inleft] > > \definelines[algorithmic][command=\algorithmicline] > > \setuplayout[width=4cm] > > \showframe[text][text] >

Re: [NTG-context] Algorithmic, Floats and line numbers.

2016-10-26 Thread Wolfgang Schuster
line. \definelabel[algorithmicline][text=,alternative=inleft] \definelines[algorithmic][command=\algorithmicline] \setuplayout[width=4cm] \showframe[text][text] \starttext \startalgorithmic text text text text text text text text text text text text text text \

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Wolfgang Schuster
e from \section in your example you can add the "reset" keyword to \switchtobodyfont. \def\MarkMasterA{\margindata[inleft][style={\switchtobodyfont[reset,9pt]},color=red]{Master}} Wolfgang ___ If your question i

[NTG-context] Regression with label inright placement

2015-10-25 Thread Rik Kabel
][alternative=inleft] \MyLabel[labelname1] This is some text after \in[labelname1]. \blank \MyLabel[labelname2] This is some text after \in[labelname2]. \blank \setuplabel[MyLabel][alternative=inright] \MyLabel[labelname1] This is some text after \in[labelname1

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

Re: [NTG-context] margindata does not work in latest beta

2015-08-08 Thread Otared Kavian
itz > wrote: > > Hi, > > margindata have stopped to work in the latest beta. Simple test > > \setuplayout [leftmargin=2cm] > > \starttext > > Thus, I came to the conclusion that the designer of a new > system must not only be the implementer and first >

[NTG-context] margindata does not work in latest beta

2015-08-08 Thread Thomas A. Schmitz
Hi, margindata have stopped to work in the latest beta. Simple test \setuplayout [leftmargin=2cm] \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large-scale \inleft{100}user; the designer should also write the first user

Re: [NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Wolfgang Schuster
\starttext \dorecurse{20} {\margindata[inouter]{Knuth} %\margindata[inleft]{Knuth} \input knuth\par} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] caption alignment with floats in the margin

2015-04-27 Thread Brian R. Landy
? Thanks, Brian \setuppapersize[letter,portrait][letter,portrait] \setupcaption[figure][location=top,align={flushleft}] \showframe \starttext \setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in] \placefigure[inleft

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

2015-03-24 Thread Wolfgang Schuster
figure[warning]} > \input tufte > > \inmargin{\externalfigure[warning]} > Really short paragraph. > > > \inleft{ >\placefigure[none][]{} >{\externalfigure[warning]} >} Don’t do this. > \input tufte > > > \placefigure[leftm

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

2015-03-24 Thread Mari Voipio
it doesn't 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]}

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Robert Krug
] \starttext Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote \NoteC{C footnote C.} B.} main body. Text for the \NoteA{A first footnote A.} main\inleft{I am here.} body. Text for the \NoteA{A second footnote A.} body. \stoptext == This seems related to an even

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Hans Hagen
footnotes that occur in footnotes of class 2. \definenote[NoteA] \definenote[NoteB] \definenote[NoteC] \starttext Text for the \NoteA{A\margintext[scope=local]{Where am I?} footnote A.} main\inleft{I am here.} body. Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote B

Re: [NTG-context] Margin heading problem, was Re: sections

2014-06-05 Thread Rik Kabel
? no, unrelated, try this: \setuphead [section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank

Re: [NTG-context] Margin heading problem, was Re: sections

2014-06-02 Thread Rik Kabel
[section] [after={\strut\blank[-2*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define

Re: [NTG-context] Margin heading problem, was Re: sections

2014-06-02 Thread Hans Hagen
*line,samepage,disable]}, command=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2

[NTG-context] Margin heading problem, was Re: sections

2014-06-01 Thread Rik Kabel
=\SectionCommand, distance=0pt] \define[2]\SectionCommand{\inleft{XX}} That was fine until it ran into \setupwhitespace with a non-zero value. Fiddling with the after key \blank does not appear to help. \define[2]\MarginHead{\inmargin{#1\\#2}} \setuphead[section

Re: [NTG-context] sections

2014-06-01 Thread Hans Hagen
]\SectionCommand{\inleft{XX}} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com

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

2014-05-19 Thread Matthias Weber
gt; {\def\Rule{#RULE}} > \doifemptyelse{#COLOR} > {\def\Color{green}}%default color > {\def\Color{#COLOR}} > \ifthirdargument > \inleft{Read\\this\\#ORDER} > \fi > \setupmarginrule[\Rule][

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

2014-05-18 Thread Rik
{\def\Rule{2}}% default rule {\def\Rule{#RULE}} \doifemptyelse{#COLOR} {\def\Color{green}}%default color {\def\Color{#COLOR}} \ifthirdargument \inleft{Read\\this\\#ORDER} \fi \setupmarginrul

Re: [NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Sanjoy Mahajan
Wolfgang Schuster writes: > \defineenumeration > [pause] > [title=no, >text={\symbol[triangle]}, >width=fit, >number=no, > alternative=inleft] Thank you. That works beautifully. Is my understanding right, that width=fit is what makes the head (here the

Re: [NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Wolfgang Schuster
enumeration > [pause] > [title=no, >text={\externalfigure[fig.2][height=1em]}, >location=inleft, >number=no, > ] > > The triangle was automatically aligned toward the right side of the left > margin (fill glue on the left), which was what I wanted, on even and

[NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Sanjoy Mahajan
]}, location=inleft, number=no, ] The triangle was automatically aligned toward the right side of the left margin (fill glue on the left), which was what I wanted, on even and odd pages. In MkIV, the marginal text is automatically aligned to the left side. I restored the MkII effect using this hack

Re: [NTG-context] Margin notes

2014-03-04 Thread Wolfgang Schuster
Am 04.03.2014 um 01:31 schrieb S Barmeier : > I am trying to compile a 2-year-old mkiv document with the latest beta > and am getting an error on the line > > \inleft[style=bold,stack=continue] > > Two years ago, stacking of margin notes was still experimental, so I'm &

[NTG-context] Margin notes

2014-03-03 Thread S Barmeier
I am trying to compile a 2-year-old mkiv document with the latest beta and am getting an error on the line \inleft[style=bold,stack=continue] Two years ago, stacking of margin notes was still experimental, so I'm guessing something has changed since then. What is the correct way these da

Re: [NTG-context] Fwd: Re: outer floats on doublesided pages UNSOLVED

2013-10-02 Thread Tim Steenvoorden
; Hi Hans, > > Is it possible to fix the "inouter" and "ininner" directives too? > "inright" and "inleft" work as expected. afaik \setuppagenumbering [alternative=doublesided] \setuplayout [backspace=5cm, width=middle]

[NTG-context] Fwd: Re: outer floats on doublesided pages UNSOLVED

2013-10-01 Thread Hans Hagen
: Hi Hans, Is it possible to fix the "inouter" and "ininner" directives too? "inright" and "inleft" work as expected. afaik \setuppagenumbering [alternative=doublesided] \setuplayout [backspace=5cm, width=middle] \starttext \dorecurse{4}

Re: [NTG-context] outer floats on doublesided pages UNSOLVED

2013-10-01 Thread Tim Steenvoorden
Hi Hans,Is it possible to fix the "inouter" and "ininner" directives too? "inright" and "inleft" work as expected.Cheers,Tim On 18 september 2013 at 10:51:29, Tim Steenvoorden (tim.steenvoor...@gmail.com) wrote: Thanks Hans!Cheers,Tim On 17 september 201

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
;> \placefigure[left]{}{\externalfigure[figurename]} >>> \input knuth >>> \placefigure[inner]{}{\externalfigure[figurename]} >> >> What do you want to do? Place it in the margin? >> >> \placefigure[inleft]{}{\externalfigure[figurename]} > > With t

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Wolfgang Schuster
do you want to do? Place it in the margin? > > \placefigure[inleft]{}{\externalfigure[figurename]} With the “inner” and “outer” keywords context uses the “left” and “right” locations dependent on the page. The feature doesn’t work in MkIV because two comm

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
–08–04 Tim Steenvoorden wrote: > >> \starttext >> \input knuth >> \placefigure[left]{}{\externalfigure[figurename]} >> \input knuth >> \placefigure[inner]{}{\externalfigure[figurename]} > > What do you want to do? Place it in the margin? >

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Marco Patzer
On 2013–08–04 Tim Steenvoorden wrote: > \starttext > \input knuth > \placefigure[left]{}{\externalfigure[figurename]} > \input knuth > \placefigure[inner]{}{\externalfigure[figurename]} What do you want to do? Place it in the margin? \placefigure[inleft]{}{\externalfigure[figu

[NTG-context] redone language frequencies

2013-03-23 Thread Hans Hagen
Hi, As I needed it for a (long-term) manual I redid \averagewidth: \mainlanguage[de] \hsize65\averagecharwidth \normalexpanded{\inleft{\the\hsize}} (not that german but anyway) \input ward \par Frequency tables are now in lang-frq-.lua so feel free to come up with more. (no beta uploaded

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
gt; >> Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : >> >> > Dear list, >> > >> > I want to have the effect I get with \placefigure[margin] but I want it >> _always_ in the left margin instead of the right margin where it ends up by >> default. I hav

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Wolfgang Schuster
[margin] but I want it > > _always_ in the left margin instead of the right margin where it ends up by > > default. I have tried several other keys but with leftmargin, inleft the > > figure is not put in the top of the page, "independent of the text". Can I > &g

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
the left margin instead of the right margin where it ends up by > default. I have tried several other keys but with leftmargin, inleft the > figure is not put in the top of the page, "independent of the text". Can I > fix this with some setup? > > > > Small test file: >

Re: [NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Wolfgang Schuster
Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist : > Dear list, > > I want to have the effect I get with \placefigure[margin] but I want it > _always_ in the left margin instead of the right margin where it ends up by > default. I have tried several other keys but with lef

[NTG-context] \placefigure[margin] but in left margin?

2013-01-03 Thread Mikael P. Sundqvist
Dear list, I want to have the effect I get with \placefigure[margin] but I want it _always_ in the left margin instead of the right margin where it ends up by default. I have tried several other keys but with leftmargin, inleft the figure is not put in the top of the page, "independent o

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Hans Hagen
, simplifying its content etc. (In my real file I use \defineinmargin, btw.) \starttext \underbar{Test Test Test\footnote{footnote}~Test Test Test\par Test\inleft{marginal} Test Test Test Test Test \par} \stoptext (As one can see, there’s also an issue with the footnote-sign breaking the continued line

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Daniel Schopper
etc. (In my real file I use \defineinmargin, btw.) > > \starttext > \underbar{Test Test Test\footnote{footnote}~Test Test Test\par > Test\inleft{marginal} Test Test Test Test Test \par} > \stoptext > > (As one c

Re: [NTG-context] underbar/margin text

2012-11-21 Thread luigi scarso
in a group, simplifying its content etc. (In my >> real file I use \defineinmargin, btw.) >> > >> > \starttext >> > \underbar{Test Test Test\footnote{footnote}~Test Test Test\par >> > Test\inleft{marginal} Test Test Test Test Test \par} >> > \stoptext >>

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Wolfgang Schuster
. Is > > there a way to prevent the notes themself to get underlined? I tried > > putting the note-command in a group, simplifying its content etc. (In my > > real file I use \defineinmargin, btw.) > > > > \starttext > > \underbar{Test Test Test\footnote{footnot

Re: [NTG-context] underbar/margin text

2012-11-21 Thread luigi scarso
themself to get underlined? I tried > putting the note-command in a group, simplifying its content etc. (In my > real file I use \defineinmargin, btw.) > > > > \starttext > > \underbar{Test Test Test\footnote{footnote}~Test Test Test\par > > Test\inleft{marginal} Test Tes

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Wolfgang Schuster
real file I > use \defineinmargin, btw.) > > \starttext > \underbar{Test Test Test\footnote{footnote}~Test Test Test\par > Test\inleft{marginal} Test Test Test Test Test \par} > \stoptext > > (As one can see, there’s also an issue with the footnote-sign breaking the > con

Re: [NTG-context] underbar/margin text

2012-11-20 Thread luigi scarso
ficult as it does > work with footnotes, but I have no clue where to start… > > \starttext > \underbar{% > > Test Test Test\footnote{footnote}~Test Test Test\par > Test\inleft{marginal} Test Test Test Test Test \par > } > \stoptext > &g

Re: [NTG-context] underbar/margin text

2012-11-20 Thread Daniel Schopper
start… \starttext \underbar{% Test Test Test\footnote{footnote}~Test Test Test\par Test\inleft{marginal} Test Test Test Test Test \par } \stoptext Any help is very much appreciated! Daniel ___ If your que

[NTG-context] underbar/margin text

2012-09-03 Thread Daniel Schopper
Test\footnote{footnote}~Test Test Test\par Test\inleft{marginal} Test Test Test Test Test \par} \stoptext (As one can see, there’s also an issue with the footnote-sign breaking the continued line, which is not urgent for me, at least by now.) Cheers, Daniel

Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Yue Wang
s provide a good solution for this style. I am wondering if >>> this is possible to do in context. >>> >>> I am also curious to know simple way to do multiple float style in >>> ConTeXt (like graphics spanning text and margin and many others). >>> >&g

Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread Wolfgang Schuster
in context. >> >> I am also curious to know simple way to do multiple float style in >> ConTeXt (like graphics spanning text and margin and many others). >> >> Yue Wang > > Well, I am no powerful ConTeXt user, but \inmargin and derivatives > (\inouter \ininner

  1   2   3   >