[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
, 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 Jeroen
> > in slightly smaller font size compared to the regular text in the > > document? > > \setupmargindata > [inleft] > [style=\tfx] > > Marco > > ___ > If your question

[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

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

[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
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 your sample makes no use of it. S

[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

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

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

2020-07-15 Thread Hans van der Meer
panded 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} > > \st

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

2020-07-15 Thread Wolfgang Schuster
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} \stoptext Tracing

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
ed 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
the 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
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] Problems with heads using margintext alternative

2017-07-30 Thread Hans Hagen
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 \Xinright{R

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

2017-07-29 Thread Rik
with \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
\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 \bla

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

2017-07-03 Thread Henri Menke
[\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[A5][

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

2017-07-03 Thread Hans Hagen
\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/listinfo/ntg

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

2017-07-03 Thread Henri Menke
> 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-03 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{Foob

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

2016-11-04 Thread Mikael P. Sundqvist
] \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}, headcolor

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

2016-11-04 Thread Otared Kavian
ences-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, >

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
r instance, but something >>> does not work…). >>> >>> Le me know if you find a satisfactory solution… >>> >>> Best regards: OK >>> %%% begin interactive-question-answer.tex >>> \setupinteraction[state=start,color=,contrastcolor=,style=] >>> >

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

2016-11-03 Thread Hans Hagen
factory solution… Best 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

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

2016-11-02 Thread Mikael P. Sundqvist
e=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:

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
"Question 1.1" >> clickable 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 re

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

2016-11-02 Thread Otared Kavian
lor=,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, > prefixseg

[NTG-context] Clickable question/answer numbers

2016-11-02 Thread Mikael P. Sundqvist
tart,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 with

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

2016-10-27 Thread Mohammad Hossein Bateni
> > Not 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][te

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

2016-10-26 Thread Wolfgang Schuster
efinelabel[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 \stopalgori

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 questio

[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

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

2015-08-08 Thread Otared Kavian
thomas.schm...@uni-bonn.de 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 large-scale \inleft{100}user

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

2015-05-08 Thread Wolfgang Schuster
\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

[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

[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

Re: [NTG-context] Footnotes and Marginal texts

2015-02-15 Thread Hans Hagen
are 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] 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] 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 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

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

[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] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
][#COLOR][#ORDER] \doifemptyelse{#RULE} {\def\Rule{2}}% default rule {\def\Rule{#RULE}} \doifemptyelse{#COLOR} {\def\Color{green}}%default color {\def\Color{#COLOR}} \ifthirdargument \inleft{Read

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

2014-05-18 Thread Rik
}}% default rule {\def\Rule{#RULE}} \doifemptyelse{#COLOR} {\def\Color{green}}%default color {\def\Color{#COLOR}} \ifthirdargument \inleft{Read\\this\\#ORDER} \fi \setupmarginrule[\Rule][rulecolor=\Color

[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] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Wolfgang Schuster
] [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 odd pages. In MkIV, the marginal text

Re: [NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Sanjoy Mahajan
Wolfgang Schuster schuster.wolfg...@gmail.com 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

Re: [NTG-context] Margin notes

2014-03-04 Thread Wolfgang Schuster
Am 04.03.2014 um 01:31 schrieb S Barmeier severinbarme...@googlemail.com: 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 days

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

2013-10-02 Thread Tim Steenvoorden
11:46 AM, Tim Steenvoorden wrote: 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=m

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

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

2013-10-01 Thread Hans Hagen
/2013 11:46 AM, Tim Steenvoorden wrote: 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] 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[figurename]} Marco

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
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[figurename]} Marco

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Wolfgang Schuster
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 commands are processed in the wrong order. Wolfgang

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} What 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

[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-code.lua so feel free to come up with more. (no beta

[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 of the text

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

2013-01-03 Thread Wolfgang Schuster
, 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: \setupmarginblocks [location=left] \starttext \input tufte \placefigure[leftmargin][none]{With the key leftmargin}{\externalfigure[cow][width=1cm

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

2013-01-03 Thread Mikael P. Sundqvist
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: \setupmarginblocks [location=left] \starttext \input tufte

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

2013-01-03 Thread Wolfgang Schuster
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 of the text. Can I fix this with some setup? Small test

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

2013-01-03 Thread Mikael P. Sundqvist
. Sundqvist mic...@gmail.com: 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

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 continued line, which is not urgent

Re: [NTG-context] underbar/margin text

2012-11-21 Thread luigi scarso
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 Test Test Test Test \par} \stoptext (As one can see

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Wolfgang Schuster
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.) Footnotes disable the rule with the \resetallattributes command but it’s up to Hans

Re: [NTG-context] underbar/margin text

2012-11-21 Thread luigi scarso
.) \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, which is not urgent for me, at least by now.) Footnotes

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Daniel Schopper
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 Hans Hagen
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 (As one can see, there’s also an issue with the footnote-sign breaking

Re: [NTG-context] underbar/margin text

2012-11-20 Thread Daniel Schopper
… \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 question

Re: [NTG-context] underbar/margin text

2012-11-20 Thread luigi scarso
difficult 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 Any help is very much appreciated! Daniel

[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 S Barmeier
). Yue Wang Well, I am no powerful ConTeXt user, but \inmargin and derivatives (\inouter \ininner \inright \inleft) have an option stack=yes to avoid overlapping and stack=continue to avoid ... overlapping. As I understand it, the former is for shorter margin notes, the latter for use with paragraph

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

2012-04-22 Thread Wolfgang Schuster
graphics spanning text and margin and many others). Yue Wang Well, I am no powerful ConTeXt user, but \inmargin and derivatives (\inouter \ininner \inright \inleft) have an option stack=yes to avoid overlapping and stack=continue to avoid ... overlapping. As I understand it, the former

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

2012-04-22 Thread Yue Wang
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 \inright \inleft) have an option stack=yes to avoid overlapping and stack=continue to avoid

Re: [NTG-context] enumeration numbering in the margin, title in body text

2012-03-10 Thread Tobias Columbus
context aware of my changes. You can use the annotation module: \usemodule[annotation] \define[2]\EnumerationCommand {\inleft[scope=local,style=normal]{\placeannotationnumber}% \placeannotationtext\doifsomething{\placeannotationtitle}{\space(\placeannotationtitle)}:\space

Re: [NTG-context] stacking margin notes

2012-03-10 Thread Hans Hagen
On 10-3-2012 05:37, S Barmeier wrote: I was expecting this to work: \setuplayout[ width=10cm, backspace=10cm, leftmargin=8cm ] \starttext \inleft[stack=yes]{ \input tufte } \input tufte \inleft[stack=yes]{ \input tufte } \stoptext but it doesn't stack. Also

Re: [NTG-context] enumeration numbering in the margin, title in body text

2012-03-09 Thread Wolfgang Schuster
] \define[2]\EnumerationCommand {\inleft[scope=local,style=normal]{\placeannotationnumber}% \placeannotationtext\doifsomething{\placeannotationtitle}{\space(\placeannotationtitle)}:\space \placeannotationcontent} \defineannotation[definition][text=Definition,alternative=command,command

[NTG-context] stacking margin notes

2012-03-09 Thread S Barmeier
I was expecting this to work: \setuplayout[ width=10cm, backspace=10cm, leftmargin=8cm ] \starttext \inleft[stack=yes]{ \input tufte } \input tufte \inleft[stack=yes]{ \input tufte } \stoptext but it doesn't stack. Also, is it correct that stack=yes belongs

Re: [NTG-context] \inmargin

2012-03-03 Thread Wolfgang Schuster
\input ward \inmargin{INMARGIN} \input ward \inleft {INLEFT} \inright{INRIGHT} \input ward \ininner{INNER} \inouter{OUTER} \input ward \stoptext What has changed is how to defined a new command (\defineinmargin vs. \definemargindata) and how to customize these commands (\setupinmargin vs

Re: [NTG-context] \inmargin

2012-03-03 Thread S Barmeier
point me to a reference. (I searched the garden without success.) You place them in the same way as you did it in the past: \starttext \input ward \inmargin{INMARGIN} \input ward \inleft {INLEFT} \inright{INRIGHT} \input ward \ininner{INNER} \inouter{OUTER} \input ward

Re: [NTG-context] Layout: odd, even and newLayout

2012-02-19 Thread Jan Heinen
but it does not work: \setuppapersize[A5][A4] \setuppagenumbering[alternative=doublesided, location=inleft] \setuplayout [marking=on, location=middle] \showframe \definelayout [odd][topspace=5cm,backspace=0cm] \definelayout [even][topspace=0cm,backspace=0cm] \definelayout [newLayout] [topspace=2cm

[NTG-context] Layout: odd, even and newLayout

2012-02-16 Thread Jan Heinen
I first want to use layouts for odd and even pages and then I want to use a newLayout but it does not work: \setuppapersize[A5][A4] \setuppagenumbering[alternative=doublesided, location=inleft] \setuplayout [marking=on, location=middle] \showframe \definelayout [odd][topspace=5cm,backspace

  1   2   3   >