Re: [NTG-context] pagecolumns: get the current column

2020-06-26 Thread Hans Hagen
he extra information overlapping the main text in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestTe

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
the main text in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestText{\InfoInMargin{\bf \the\curCol}\

Re: [NTG-context] ConTeXt Command Differences between Tex Live and Minimals

2011-06-30 Thread Hans Hagen
3736) # cd /usr/share/texmf/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother} == Minimals Distribution == mtx-context | current version: 2011.05.18 18:04 This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) # cd /opt/context-current/tex/texmf-contex

Re: [NTG-context] ConTeXt Command Differences between Tex Live and Minimals

2011-06-30 Thread Mojca Miklavec
gt; # cd /usr/share/texmf/tex/context/base > # grep inothermargin * > page-mar.mkii:\def\inothermargin{\inother} > > == Minimals Distribution == > > mtx-context     | current version: 2011.05.18 18:04 > This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) > > # cd /opt/con

Re: [NTG-context] ConTeXt Command Differences between Tex Live and Minimals

2011-06-30 Thread Raymond LeClair
Perfect, I can compare sources...here's what I find: == Tex Live Distribution == MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) # cd /usr/share/texmf/tex/context/base # grep inothermargin * page-mar.mkii:\def\inotherm

[NTG-context] ConTeXt Command Differences between Tex Live and Minimals

2011-06-30 Thread Raymond LeClair
problem hyphenating URLs which contain multiple, adjacent hyphens. Specifically, the command "\inothermargin" is not recognized when using the Minimals distribution. While I would appreciate a solution to this issue, I would very much appreciate knowing where to look to resolve the is

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
> > Hello, > > > > in my doublesided document \inmargin texts are always on the left side > > of the body text. > > \inmargin is configures to be always in the left margin, you can use > \inothermargin to put the text in the opposite margin or use \inoutermargi

Re: [NTG-context] Margin text in doublesided documents

2011-04-04 Thread Wolfgang Schuster
Am 04.04.2011 um 23:56 schrieb C.: > Hello, > > in my doublesided document \inmargin texts are always on the left side of > the body text. \inmargin is configures to be always in the left margin, you can use \inothermargin to put the text in the opposite margin or use \inoutermargi

[NTG-context] margin-bug in mkiv?

2010-11-19 Thread Peter Schorsch
outermargins are switched every call. Is there a way around this problem or is someone able to correct this? I would apreciate any help in this. \starttext \inmargin{inmargin}\inothermargin{othermargin}\input tufte \inmargin{inmargin}\inothermargin{othermargin}\input tufte \placeformula

[NTG-context] formula: placeformula messes with margins

2010-09-14 Thread Peter Schorsch
this? Thanks 8<--- \starttext \inmargin{inmargin}\inothermargin{othermargin}\input tufte \inmargin{inmargin}\inothermargin{othermargin}\input tufte %\placeformula \startformula c^2 = a^2 + b^2 \stopformula \inmargin{inmargin}\inothermargin{othermargin}\input tu

Re: [NTG-context] Porting from MkII to MkIV

2010-08-24 Thread Peter Schorsch
,mark=test] What did I wrong? 8<-- \definenumber[PARANUMBER][way=bysection,prefixsegments=100] \unexpanded\def\startPARA {\dosingleempty\dostartPARA} \def\dostartPARA[#1]% {\getrawparameters[PARA][heading=,mark=,#1]% \incrementnumber[PARANUMBER]% \inoth

Re: [NTG-context] Porting from MkII to MkIV

2010-08-24 Thread Wolfgang Schuster
MkII Version): \definenumber[paraNumber] \setuphead[chapter,section,subsection,subsubsection] [after={\resetnumber[paraNumber]}] \def\StartPara[#1]% {\getparameters[tmp][heading=,mark=,#1]% \incrementnumber[paraNumber]% \inothermargin{\tfx\getnumber[paraNumber

[NTG-context] Porting from MkII to MkIV

2010-08-24 Thread Peter Schorsch
] \setuphead[chapter,section,subsection,subsubsection] [after={\resetnumber[paraNumber]}] \def\StartPara[#1]% {\getparameters[tmp][heading=,mark=,#1]% \incrementnumber[paraNumber]% \inothermargin{\tfx\getnumber[paraNumber]~}% \doifnot{\tmpheading}{}{\inmargin{\tmpheading

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread Matthijs Kooijman
Hi Hans, > % \setupinmargin[left][sidemethod=2] > % \setupinmargin[left][sidemethod=3] > % \setupinmargin[left][sidemethod=4] I've tried each of them (with both left and right). In my minimal example, there is no difference. In my complete document, I noticed sidemethod=3 caused on margin text to

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread Hans Hagen
Matthijs Kooijman wrote: Hi all, I've been using \inmargin to put some stuff in the margin of my text, but when I use multiple \inmargin's close together, the stuff in the margin will overlap. Is there any way to let ConTeXt just move things down to prevent overlap? I'm not forced to move my \i

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread Matthijs Kooijman
> Try > \starttext > Foo Baz \inmargin {Blerf \\ Baz} > \stoptext Hmm, that might work, but my real case is slightly more complicated. I have the \inmargin wrapped in a \refdef command, that references some topic on some page. So I say \refdef{foo} and it looks up both the text and page number for

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread luigi scarso
On Wed, Dec 2, 2009 at 11:47 AM, Matthijs Kooijman wrote: > W00ps, forgot to include the testcase I made: > > \starttext > Foo \inmargin{Blerf} Bar \inmargin {Baz} > \stoptext Your code is ok Try \starttext Foo Baz \inmargin {Blerf \\ Baz} \stoptext \starttext Foo Baz \inmargin {Blerf Baz} \sto

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread Matthijs Kooijman
W00ps, forgot to include the testcase I made: \starttext Foo \inmargin{Blerf} Bar \inmargin {Baz} \stoptext signature.asc Description: Digital signature ___ If your question is of interest to others as well, please a

[NTG-context] inothermargin overlaps

2009-12-02 Thread Matthijs Kooijman
Hi all, I've been using \inmargin to put some stuff in the margin of my text, but when I use multiple \inmargin's close together, the stuff in the margin will overlap. Is there any way to let ConTeXt just move things down to prevent overlap? I'm not forced to move my \inmargin's around, guessing

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
ed \in{text}{text}[reference] # \includeFLOWchart # \includemenu # \increment \indentation \indenting[options] \inframed[settings]{text} \ininner[+|-|low][reference]{text} \inleft[+|-|low][reference]{text} \inline[reference] \inmargin[+|-|low][reference]{text} \inothermargin[+|-|low][reference]{text}

Re: [NTG-context] currentheadnumber / doif.. problem

2007-10-15 Thread Peter Schorsch
tion]}{0}% {\headnumber[chapter]}% {\headnumber[section]}% } \def\paragraphMark[#1] {\expanded{\textreference[#1]{\presentheadnumber/\getnumber[paragraphNumber]}}} \define\getParagraphNumber {\incrementnumber[paragraphNumber]% \inothermargin{\color[grey]% {\tfx\getnumber[paragra

Re: [NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Wolfgang Schuster
umber / \getnumber[number]}}} > \definestartstop[MyPara] > [before= > {\blank[medium]\incrementnumber[number]% > \inothermargin{\getnumber[number]~}}, >after={\blank[medium]}] > > \starttext > > \section \section{...} > \startMyPara > blab

[NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Peter Schorsch
] {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}} \definestartstop[MyPara] [before= {\blank[medium]\incrementnumber[number]% \inothermargin{\getnumber[number]~}}, after={\blank[medium]}] \starttext \section \startMyPara blabla blabla blabla blabla

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
t;> converstion=numbers/characters/Characters/romannumerals/Romannumerals >> style >> left: text >> right: text >> way: bytext/by/bypart_ >> text: text >> numberseparator: text >> textseparator: text >> sectionnumber: yes/no >> separator: text

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Hans Hagen
ct/strict/tolerant_/verytolerant/stretch > distance: dimen > balance=yes_/no > align=yes/no/text > blank=fixed_/halfline/line_/flexible/big/medium/small > option=background > direction=left/right > Those of \setupframed > > \defineparagraphs[name][..=..] > n: number > r

[NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
g \chapter{Marginal Text} \starttyping \inmargin[.._][ref_]{...} + - low \inright \inleft \inothermargin \margintext \setupinmargin[..._][..=..] ..._ left right number location=left/right/both_ style before after align=inner_/outer/left/right/middle/normal/no/yes line: number distance separator: t

Re: [NTG-context] line break

2005-07-21 Thread Jörg Hagmann
Thanks a lot! On Jul 20, 2005, at 2:02 PM, Hans Hagen wrote: Jörg Hagmann wrote: Some time ago, I inquired about the problem of an unwanted linebreak. The linebreak is inserted after an \inothermargin command, if at the same time there is a figure occupying the margin and some part of

Re: [NTG-context] line break

2005-07-20 Thread Hans Hagen
Jörg Hagmann wrote: Some time ago, I inquired about the problem of an unwanted linebreak. The linebreak is inserted after an \inothermargin command, if at the same time there is a figure occupying the margin and some part of the textarea on the opposite side (a type of figure here called

Re: [NTG-context] line break

2005-07-20 Thread Hans Hagen
Jörg Hagmann wrote: Some time ago, I inquired about the problem of an unwanted linebreak. The linebreak is inserted after an \inothermargin command, if at the same time there is a figure occupying the margin and some part of the textarea on the opposite side (a type of figure here called

Re: [NTG-context] line break

2005-07-20 Thread Jörg Hagmann
Some time ago, I inquired about the problem of an unwanted linebreak. The linebreak is inserted after an \inothermargin command, if at the same time there is a figure occupying the margin and some part of the textarea on the opposite side (a type of figure here called "vignette"

Re: [NTG-context] line break

2005-07-14 Thread Jörg Hagmann
Belegzellen des Magens, {\em im Ileum} aufgenommen (Intrinsic, weil der Faktor aus dem Koerper stammt -- dazu passend bezeichnet man B\low{12} auch als \quotation{Extrinsic Factor}).\inothermargin{\ssd Pa} Vitamin B\low{12} wird von Bakterien synthetisiert und stammt ausschliesslich aus tierischer

Re: [NTG-context] line break

2005-07-13 Thread Hans Hagen
Jörg Hagmann wrote: Hullo all, Maybe somebody can help me with this: I have a paragraph and an image in the outer margin, sticking slightly into the text area. On the opposite side, in the inner margin, I have two letters. What happens is that after the \inothermargin command I get a

[NTG-context] line break

2005-07-13 Thread Jörg Hagmann
Hullo all, Maybe somebody can help me with this: I have a paragraph and an image in the outer margin, sticking slightly into the text area. On the opposite side, in the inner margin, I have two letters. What happens is that after the \inothermargin command I get a line break (not a new

[NTG-context] unrelated errors

2005-05-17 Thread Jörg Hagmann
many replacements turned out "\Greek" instead of "\greek". texexec complained, but I didn't spot the mistake immediately and pressed return. In the resulting pdf file I found the following unrelated errors: 1. One "\inmargin" figure appeared as if the c