-publications.pdf]
c\attachment[file=onandon.pdf, location=inmargin]
d\attachment[file=notnow.pdf, location=inmargin]
e\attachment[file=about.pdf, location=text]
f\attachment[file=i-context.pdf, location=text]
\stoptext
The default location seems to be "text"
On 7/29/19 10:27 PM, Hans Hagen wrote:
> On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
> [...]
> b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}
Many thanks for your reply, Hans.
I didn’t know that placing margin data in notes was so complex.
Many thanks
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\footnote{\attachment[file=i-context.pdf]}
\stoptext
e to create a new itemgroup environment/instance.
>
> \defineitemgroup [romanitemize]
> \setupitemgroup [romanitemize] [R,inmargin]
Many thanks for your help, Wolfgang.
This is exactly what I needed.
Pablo
--
http://www.ousia.tk
Pablo Rodriguez schrieb am 20.03.19 um 20:43:
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 20.03.19 um 20:03:
[...]
Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?
\startitemize[I,inmargin]
Many thanks for your reply, Wolfgang
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>> [...]
>> Is there a way to get only [option=inmargin] for the items that are
>> Roman-numbered?
>
> \startitemize[I,inmargin]
Many thanks for your reply, Wolfgang.
I need
Pablo Rodriguez schrieb am 20.03.19 um 20:03:
Dear list,
I have the following sample:
\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize
\startitemize
\dorecurse{5}{\item item
Dear list,
I have the following sample:
\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize
\startitemize
\dorecurse{5}{\item item}
\stopitemize
\startitemize[I]
\dorecurse{5
Dear list,
I have the following sample:
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setuppapersize[A9, landscape]
\starttext
\footnote{attachment\attachment
[xml-mkiv.pdf]
[location=inmargin]}
\stoptext
Using latest beta
You can get of the warning by changing the alignment for the \margindata
entries.
\setupmarginframed
[inmargin]
[align={flushright,broad}]
\starttext
Overfull\inmargin{abc}
\stoptext
You can produce the same message with the following example.
\starttext
\vbox
{\hsize
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext
produces an underfull hbox
On 06/04/2018 08:35 PM, Marcus Vinicius Mesquita wrote:
> Thank you, Pablo.
>
> My version was from 2 of June. I updated again today, and the problem
> was solved.
I knew that you generated the PDF document with that beta.
But I don’t have that version, so I wasn’t able to check with it.
Glad
Thank you, Pablo.
My version was from 2 of June. I updated again today, and the problem was
solved.
Greetings
Marcus Vinicius
___
If your question is of interest to others as well, please add an entry to the
Wiki!
On 06/04/2018 02:25 AM, Marcus Vinicius Mesquita wrote:
> Dear list,
>
> After updating ConTeXt, commands \inmargin and \inouter do not work anymore.
Hi Marcus Vinicius,
I’m using latest beta (from 2018.06.04 12:18) and both commands work
fine. I’m on linux-64 too.
My previous bet
Dear list,
After updating ConTeXt, commands \inmargin and \inouter do not work anymore.
MWE:
\starttext
This is an example of a simple margin note set in the slanted font
of the document. If used correctly, the note \inmargin{Here is a
simple margin note.} should print on the side
s are flushed with the next paragraph but you can start one for
> the points only with the \dontleavehmode command.
>
> \define[1]\Info
> {\dontleavehmode\margindata[inmargin]{\rotate{#1}}}
>
> Another question: How can I anchor the scores in the middle of the
> verti
indata[inmargin]{\rotate{#1}}}
Another question: How can I anchor the scores in the middle of the
vertical blank space? This \vskip4cm\Info{scores}\vskip4cm don't
make the job.
You can use the \framed command to reserve the space for the answer and
place with the score with a layer as back
don't
want this behavior. How can I can this?
Another question: How can I anchor the scores in the middle of the vertical
blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the job.
Thanks in advance.
Jorge
Code:
\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle
example:
\enableregime[utf-8]
\mainlanguage[de]
\starttext
\subject{Works}
1
\margintext{a}
\subject{Doesn’t work}
\margintext{b}
\stoptext
___
If your question is of interest to others as well, please
On 3/19/2015 11:39 AM, Philipp A. wrote:
|\enableregime[utf-8]
^^^ no need for that
\mainlanguage[de]
\starttext
\subject{Works}
1
\margintext{a}
\subject{Doesn’t work}
\margintext{b}
\margintext{c} \strut
\stoptext|
margintexts need to bind to something
--
thank you!
what’s \strut? can’t find it in the wiki…
Hans Hagen pra...@wxs.nl schrieb am Do., 19. März 2015 um 11:52 Uhr:
On 3/19/2015 11:39 AM, Philipp A. wrote:
|\enableregime[utf-8]
^^^ no need for that
\mainlanguage[de]
\starttext
\subject{Works}
1
On 3/19/2015 1:55 PM, Philipp A. wrote:
thank you!
what’s \strut? can’t find it in the wiki…
add \showstruts at the top of your document and you'll see them
(add \showmakup and you will be even more enlightened about tex's
whatabouts)
Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl schrieb
Dear Syndicate,
ConTeXt ver: 2014.12.30 09:48 MKIV beta
This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)
The following used to work:
\starttext
\define[5]\EDUITEM{\framed[frame=off,align=width,width=broad]
{{\bf #1 }\inmargin{\it #2}\ (#3
=off,align=width,width=broad]
{{\bf #1 }\inmargin{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
\EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\
Seminary}{\TeX{ville}, \TeX{land
On Tue, 30 Dec 2014 14:50:25 -0700, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Use \inmargin[scope=local]{…} when you use the command within a box
structure.
Thanks, Wolfgang!
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
[backspace=4cm]
\define[2]\MarginHead{\inmargin{#1 #2}}
\setuphead[section][
alternative=text,
command=\MarginHead,
]
\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]
\startbuffer[Item]
\startitemz
\item Item
\item Item
\stopitemz
\stopbuffer
\starttext
Hi,
insidesection={\blank[overlay]}]
This appears to require the latest beta.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 2014-04-19 04:55, Wolfgang Schuster wrote:
\setuphead
[section]
[alternative=text,
command=\SectionCommand,
distance=0pt,
insidesection={\blank[overlay]}]
\define[2]\SectionCommand
{\inmargin{#1 -- #2}}
\setuplayout[backspace=4cm]
\starttext
\startsection[title={First
Hi Rik,
The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:
\setuplayout[backspace=4cm]
\define[2]\MarginHead{\inmargin{#1 #2}}
\setuphead[section][
alternative=text,
command=\MarginHead,
]
\defineitemgroup[itemz]
\setupitemgroup
On Fri, 18 Apr 2014, Thangalin wrote:
Hi Rik,
The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:
\setuplayout[backspace=4cm]
\define[2]\MarginHead{\inmargin{#1 #2}}
\setuphead[section][
alternative=text,
command=\MarginHead
On 2014-04-18 17:36, Aditya Mahajan wrote:
On Fri, 18 Apr 2014, Thangalin wrote:
Hi Rik,
The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:
\setuplayout[backspace=4cm]
\define[2]\MarginHead{\inmargin{#1 #2}}
\setuphead[section
,command=,distance=1em]
\setuphead [subsubsection]
[alternative=normal,command=,distance=1em]
\setuphead [section][distance=0pt,
alternative=text,
command=\MarginHead]
\define[2]\MarginHead{\inmargin{#1 #2}}
\startbuffer[Item
Dear list,
I have the following sample:
\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
\startfrontmatter
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez oi...@gmx.es:
Dear list,
I have the following sample:
\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
[...]
My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
Write your own list layout.
Many thanks for your reply, Wolfgang.
I have no idea about how to do it. What
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es:
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
[...]
My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
Write your own list layout.
Many thanks
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote:
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez:
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
[...]
Write your own list layout.
I have no idea about how to do it. What should I start reading?
Search for \definelistalternative or
caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure
\stoptext
However, that results in the text being down the bottom of the figure. I need
the text to be vertically aligned with the top of the figure. I have attached
the resulting PDF for illustration
Am 18.06.2013 um 06:11 schrieb Malte Stien ma...@stien.de:
2. Currently the code always uses the right margin; I need it to use the
outer margin. I experimented swapping the \rlap for \llap, but then I still
have to negatively \hskip the entire text width to the left. Even if I got
that
dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure
\stoptext
However, that results in the text being down the bottom of the figure. I
need the text to be vertically aligned with the top of the figure. I have
attached the resulting PDF
=on, backspace=43mm, leftmargin=18mm,
leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm,
rightedgewidth=6mm,
topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
]
\starttext
\startplacefigure[location=force, title={First dummy caption}]
\inmargin
On 5/24/2013 8:46 AM, Malte Stien wrote:
Wolfgang,
Thank you for this. I can see what you are trying to do here, but this does not
actually compile for me. Unfortunately, I don't know enough about the
implementation of ConTeXt to track the problem down. I am getting:
! Undefined control
Am 24.05.2013 um 08:46 schrieb Malte Stien ma...@stien.de:
Wolfgang,
Thank you for this. I can see what you are trying to do here, but this does
not actually compile for me. Unfortunately, I don't know enough about the
implementation of ConTeXt to track the problem down. I am getting:
=179mm, width=115mm
]
\starttext
\startplacefigure[location=force, title={First dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure
\stoptext
However, that results in the text being down the bottom of the figure. I need
the text to be vertically
,
rightedgewidth=6mm,
topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
]
\starttext
\startplacefigure[location=force, title={First dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure
\stoptext
However, that results
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
\stoptext
What am I doing wrong?
TIA
Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed(B))}
\input knuth
\stoptext
Wolfgang
Great, thanks!
Any info about usage of .nested
Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\ctxlua{context.inmargin(context.nested.inframed
On 2-5-2012 06:33, Malte Stien wrote:
Hi everyone,
I am experiencing a problem with \inmargin{some text} in \itemized lists. I am
using them a lot in my documents, and it is kind of annoying. It appears that
if one uses the \inmargin macro just prior to the \item macro, the in-margin
text
, idiosyncratic,
pedantic way to ignore spaces in this case is a comment symbol and newlines:
\starttext
\startitemize
\item
This is just a normal completely innocent paragraph against which one will be
able to judge the amount of indentation of the next paragraph.
\item\inmargin{Duck
Hi everyone,
I am experiencing a problem with \inmargin{some text} in \itemized lists. I am
using them a lot in my documents, and it is kind of annoying. It appears that
if one uses the \inmargin macro just prior to the \item macro, the in-margin
text is typeset against the previous line
I had a look at the garden reference of \setupinmargin. Trying to set
width=70mm, I get no change.
The default seems to be bold and aligned right. Changing the style
works, but trying to align inner/left also has no effect.
Any help?
Thank you,
Severin
Am 04.03.2012 um 10:39 schrieb S Barmeier:
I had a look at the garden reference of \setupinmargin. Trying to set
width=70mm, I get no change.
\setuplayout
[backspace=8cm,
leftmargin=7cm,
cutspace=2cm,
width=middle]
\starttext
\inmargin{\input ward }
\input knuth
\stoptext
Could someone savant provide me with a rough overview of how to place
text in a margin these days, or else point me to a reference. (I
searched the garden without success.)
Many thanks,
Severin
___
If your question is
\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
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
Hello.
If I have a lot of inmargin or margintext, they will extend into the base of
the page (defined by bottomspace). Is there a way to remedy this by some
setup? This was compiled with xetex option b/c inmargin stack doesn't fully
work in mkiv.
Thanks,
Dinh
--
\setuppapersize[letter
Am 25.02.2011 um 05:20 schrieb Dinh Tran:
Hello,
Running the following context code doesn't seem to work with context
--luatex. Works with context --xetex however.
It works in a (currently private) beta but stacking isn’t perfect yet.
BTW: The --luatex switch isn’t necessary to run
Hello,
Running the following context code doesn't seem to work with context
--luatex. Works with context --xetex however.
--
\setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
\setupinmargin[stack=yes]
\starttext
A\margintext{A} B\margintext{B}.
C\inmargin{C} D
Thanks to Wolfgang and Renaud for sharing all this…
However, Renaud, I didn't notice what you says about having « É » in the title:
it seems that everything works as expected: see
http://dl.dropbox.com/u/4316076/inmargin-fullwidth-1.pdf
(using, ConTeXt ver: 2010.11.26 22:49 MKIV, on MacOS
Am 25.11.2010 um 21:27 schrieb Renaud AUBIN:
Since my previous post doesn't seem inspiring at all (sniff), here is a
simplified and more precise description of what need to be done:
[...]
\setupbodyfont[10pt]
\setuplayout
[leftedge=0mm,
leftmargin=45mm,
rightedge=0mm,
Hi Wolfgang,
First, thank you!
Now, if I use some accentuated letters in title (the É just after the
second subsection and before \input zapf), there is an unwanted vertical
space… Bug, feature or misuse???
Could you confirm the bug? (the resulting pdf:
Ok, that seems to be due to grid=yes…
Le 26/11/2010 20:25, Renaud AUBIN a écrit :
\setupbodyfont[10pt]
\setuplayout
[leftedge=0mm,
leftmargin=45mm,
rightedge=0mm,
rightmargin=0mm,
backspace=60mm,
topspace=10mm,
bottomspace=10mm,
header=0mm,
, and the inbetween vertical
space must be configurable (i.e. .5lineheight or a full lineheight
doesn't satisfy me)
My first idea has been to combine a vertically centered line with inleft
or inmargin but that introduces an annoying afterspace…
Another idea could be to combine some \hairlines or full textwidth
On 2-6-2010 10:35, Rogutės Sparnuotos wrote:
I've quickly run a (MkII) document under MkIV after updating to
2010.05.27, but it didn't compile (perhaps this is related to the other
interaction bugs in MkIV):
\setupinteraction[state=start]
\starttext
\section{\inmargin{}}
\stoptext
using
I've quickly run a (MkII) document under MkIV after updating to
2010.05.27, but it didn't compile (perhaps this is related to the other
interaction bugs in MkIV):
\setupinteraction[state=start]
\starttext
\section{\inmargin{}}
\stoptext
--
-- Rogutės Sparnuotos
Hi,
I'm working on three-column document and I would like to put symbols a
bit closer to text (but still leave them in margin). Is there an
option that does it? I tried with margin=, width= and distance=, but
it put them outside the margin and turned symbols into black dots, and
that's not quite
On Thu, May 14, 2009 at 09:11:04AM +0200, Hans Hagen wrote:
Corsair wrote:
Hi guys,
I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right. Consider the following
code:
in that case you can try \margintext {...} which saves the
Hi guys,
I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right. Consider the following
code:
\starttext
\inmargin{What I want}
First line \crlf
Second line
\vskip 1cm
\inmargin{What it renders}
\startlines
First line
Second line
I was thinking that things placed in the margin (\inmargin,\inright,
\inleft) would not take up vertical space, but it seems to do just
that inside an itemize.
Example:
\starttext
\textwidth=4cm
\hairline
%(1)
\startitemize[n,joinedup]
\item abc
\item cde
\stopitemize
to the text.
Here's what I've got so far in ConTeXt (and it gets me close):
\setupheads[sectionnumber=no]
\setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace
][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]
This places the chapter
Johannes Graumann wrote:
Hello,
Consider this code example - the section titles are preceded by inapropriate
vertical whitespace.
\setupheads[alternative=inmargin]
\starttext
\section{Hello}
\subsection{Wie geht's?}
\subsubsection{Gut'n Tach!}
\stoptext
ah ... wrong
Hans Hagen wrote:
\c!strut=\@@koindentnext,
should be
\c!strut=\@@kostrut,
That indeed fixes it.
Joh
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Hello,
Consider this code example - the section titles are preceded by inapropriate
vertical whitespace.
\setupheads[alternative=inmargin]
\starttext
\section{Hello}
\subsection{Wie geht's?}
\subsubsection{Gut'n Tach!}
\stoptext
Joh
I can verify the problem, but I do not know what is wrong.
Taco
Charles Doherty wrote:
Dear all,
When I put a footnote reference within \inmargin
\setupinmargin[style=\tfxx\setupinterlinespace]
he sent one of his followers to the man of God to put out his rekindled
fire \inmargin
Greetings all,
I've been experimenting a little with margin-notes, and am wondering
if there is support for running the inmargin text around a figure, e.g.
\inmargin{\placefigure[left]{none}{\externalfigure[Figgy][width=4em]}
Interesting words.}
The above places the figure and the text
Taco Hoekwater wrote:
If there are a lot of margin notes, this can clutter the output
considerably, and that's not so much a problem, but an annoyance.
I've run into this as well, in context as well as in latex and
in my own macros. The problem is usually something like:
i've added a \dontcomplain
Hi Hans
Could you send me/post a copy of the modified macro/file (I'm at a
mission-critical stage on a project and don't want to install a new beta
before it's
done unless absolutely necessary-)
Also, is there a similar \dontcomplain fix for \start-\stopalignment[left]
(underfull hbox)?
Idris Samawi Hamid wrote:
Taco, any more hacks up your sleeve?
;-)
And thank you very much for the last ones!
It seems you have a working solution now, but
I'll look into this next week to see if I we can
come up with a more permanent solution.
Greetings, Taco
Idris Samawi Hamid wrote:
CORRECTION: should be
===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
\def\INMARGIN#1{{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip
Hans Hagen wrote:
can you make me a minimal example showing the problem?
Idris' original example shows the 'problem':
\setupindenting[medium]
\starttext
\input knuth \inmargin{This is a test.}
\stoptext
The output will be fine, but there will be one 'Overfull hbox'
message printed
\inmargin{This is a test.}
\stoptext
log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]
\hbox(10.41603
, but it should not be executed more
than once because it saves the definition of \inmargin. Perhaps
you have the \let line inside another macro or inside a buffer that
is called more than once something similar.
If you can't figure out what goes wrong, send me a file please?
Taco
\endcsname \relax \else
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
\fi
(yes, that is an ugly hack, but it is one I can write withour actually having
to test it before sending :))
Greetings, Taco
___
ntg-context
Hi Taco and all,
More on \inmargin and overfull boxes: If I define, e.g. a quote \start-stop
the overfull boxes come back, even with Taco's definition:
==
\setupoutput[pdftex]%
\setupindenting[medium]
\let\normalinmargin\inmargin
\def
]}]
===
Then the following will avoid the overfull box:
===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
\def\INMARGIN#1{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance
CORRECTION: should be
===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
\def\INMARGIN#1{{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent
Hi Idris,
It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
Greetings, Taco
Idris Samawi Hamid wrote:
Hi gang,
I sent this about ten
Hi Taco,
On Fri, 06 May 2005 08:46:04 +0200, Taco Hoekwater [EMAIL PROTECTED]
wrote:
Hi Idris,
It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt
}
}
...
=
Although if I implement this manually it does not overload TeX:
===
\setupoutput[pdftex]%
\setupindenting[medium]
%\let\normalinmargin\inmargin
%\def
==
\setupoutput[pdftex]%
%\setupindenting[medium]
\starttext
\input knuth \inmargin{This is a test.}
\stoptext
log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex
knuth \inmargin{This is a test.}
\stoptext
log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
Hi all,
there is probably somewhere a space in some macro called inside \inmargin.
See example:
\starttext
\setbox0\hbox{\inmargin{XX}}
\showbox0
A\box0 B
\stoptext
and a part of log with \showbox0:
\hbox(10.41603+4.05064)x3.91663
.\glue 3.91663 plus 1.95831 minus 1.30554
.\hbox(10.41603
Willi Egger [EMAIL PROTECTED] writes:
Hello Willi and others,
Does anybody see the clue, how to tell Context to use the full marginwidth?
I strongly believe that this is a bug. left/right should change to
inner/outer on doublesided layout. But it does not (really):
\showframe
On Thu, 16 Oct 2003 14:57:12 +0200
Willi Egger [EMAIL PROTECTED] wrote:
Does anybody see the clue, how to tell Context to use the full
marginwidth?
The problem is that notes in the left page outer margin do not use the
full margin width, right? If you change your setup to
use leftmargin=18mm
On Sun, 12 Oct 2003 22:20:30 +0200
Willi Egger [EMAIL PROTECTED] wrote:
The strange thing is, that on lefthandpages the inmargin text
is typset in the left (outer) margin but it is typeset on two lines,
indicating that the measures of the leftmargin of the righthandpage is
used.
Does
Hi,
ConTeXt seems to have two different interpretations of inmargin:
\setuppagenumbering [alternative=doublesided,location={header,inmargin}]
isn't the same as
\setupfootnotedefinition[location=inmargin]
How can I place the footnote's number into the margin the same way as
the pagenumber
100 matches
Mail list logo