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

2020-06-26 Thread Hans Hagen
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\TestText{\InfoInMargin{\bf

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
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}\input ward \InfoInMargin

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

2011-06-30 Thread Raymond LeClair
a 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 issue myself. I

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\inothermargin

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

2011-06-30 Thread Mojca Miklavec
# 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-context/tex/context/base # grep inothermargin

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

2011-06-30 Thread Hans Hagen
) # 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-context/tex

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

2011-04-05 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 \inoutermargin to put

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 \inoutermargin to put the text always in the outer margin

[NTG-context] margin-bug in mkiv?

2010-11-19 Thread Peter Schorsch
- and 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 tufte

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

Re: [NTG-context] inothermargin overlaps

2009-12-02 Thread luigi scarso
On Wed, Dec 2, 2009 at 11:47 AM, Matthijs Kooijman matth...@stdin.nl 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

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 foo

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

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] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[options] \inframed[settings]{text} \ininner[+|-|low][reference]{text} \inleft[+|-|low][reference]{text} \inline[reference] \inmargin[+|-|low][reference]{text} \inothermargin[+|-|low][reference]{text} \inouter[+|-|low][reference]{text} \inright[+|-|low][reference]{text} \installlanguage[name][options

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

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

[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] value-copy - e.g. in \textreference

2007-08-30 Thread Wolfgang Schuster
]\incrementnumber[number]% \inothermargin{\getnumber[number]~}}, after={\blank[medium]}] \starttext \section \section{...} \startMyPara blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla \stopMyPara \subsection \subsection

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). When I run

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

[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

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

[NTG-context] unrelated errors

2005-05-17 Thread Jörg Hagmann
of the 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 command was \inothermargin 2. One \inothermargin