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
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
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
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
# 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
)
# 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
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
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
- 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
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
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
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
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
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
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
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
[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
}%
{\headnumber[chapter]}%
{\headnumber[section]}%
}
\def\paragraphMark[#1]
{\expanded{\textreference[#1]{\presentheadnumber/\getnumber[paragraphNumber]}}}
\define\getParagraphNumber
{\incrementnumber[paragraphNumber]%
\inothermargin{\color[grey]%
{\tfx\getnumber[paragraphNumber
]
{\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
]\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
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
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
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
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
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
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
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
27 matches
Mail list logo