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
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}\
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
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
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
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
> > 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
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
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 tu
,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
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
]
\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
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
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
> 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
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
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
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
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}
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
umber / \getnumber[number]}}}
> \definestartstop[MyPara]
> [before=
> {\blank[medium]\incrementnumber[number]%
> \inothermargin{\getnumber[number]~}},
>after={\blank[medium]}]
>
> \starttext
>
> \section
\section{...}
> \startMyPara
> blab
]
{\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
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
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
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
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
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
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"
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
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
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
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
34 matches
Mail list logo