ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
Subject: Re: line break
Date: Wed, 20 Jul 2005 13:10:11 +0200	[thread overview]
Message-ID: <7ca589a651cd33aebd5a453616b23456@unibas.ch> (raw)
In-Reply-To: <b64beb8ffca12ba70c15a9ec5a9fe771@unibas.ch>

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 the .tex file (see below) on the wiki, I get  
the same result as on my computer.
Could somebody tell me whether there is an abvious mistake in what I  
did or that's the way it is, and nothing can be done (I include the  
complete setuparea, just to be sure).
Thanks a lot, Jörg.
------------------------------------------------------------
>> can you make a minimal complete example

\enableregime [il1]
\mainlanguage [de]

\usemodule[greek]
\usemodule[units]

\setuplayout[height=26.5cm,backspace=2cm,topspace=1.7cm,footer=1.2cm]
\setupbodyfont[11pt]
\setuppagenumbering[alternative=doublesided,location=footer]
\setupheader[state=none]

\setuptolerance[tolerant, stretch]
\setupwhitespace[medium]

\setupitemize[headstyle=italic]

\definehead[Bookchapter][chapter]
\setuphead[Bookchapter][page=yes,conversion=Character]

\setuptables[bodyfont=small]

%Figures partially in margin
\definefloat[vignette][figure]
\setupfloat[vignette][leftmargindistance=- 
\outermargintotal,rightmargindistance=- 
\outermargintotal,default={outer,none,low}]
\setupcaption[vignette][number=no]

%Figures digestion_chapter
\setupexternalfigures[directory=./FIGURES/]
\useexternalfigure[fig:acidsecr][di_acidsecr]
\useexternalfigure[fig:di_cascade][di_cascade][width=0.5\textwidth]
\useexternalfigure[fig:di_proteins][di_proteins]
\useexternalfigure[fig:di_carbo][di_carbo][width=\textwidth]
\useexternalfigure[fig:di_lipids][di_lipids]

\setuptextrules[style=\ss]

\showframe

\starttext

\placevignette{}{\externalfigure[di_B12_marg][width=4cm]}
Die Resorption des {\em wasserloeslichen} Vitamins B\low{12} (=  
Cobalamin, s. Formel) faellt aus dem Rahmen: B\low{12} wird nur als  
Komplex mit dem \quotation{Intrinsic Factor}, einem Glycoprotein aus  
den 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 Nahrung; Veganer/innen, die nicht nur  
auf Fleisch, sondern auch auf Eier und Milchprodukte verzichten,  
besitzen einen entsprechend niedrigen Vorrat des Vitamins. Haeufigste  
Ursache fuer die {\em pernizioese Anaemie}, die klassische  
B\low{12}-Mangelkrankheit, ist allerdings nicht eine Fehlernaehrung,  
sondern eine verminderte Resorption im Ileum, entweder weil dessen  
Schleimhaut entzuendet ist (Sprue), oder weil eine erkrankte  
Magenschleimhaut zuwenig Intrinsic Factor produziert.

\stoptext

  reply	other threads:[~2005-07-20 11:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13  9:07 Jörg Hagmann
2005-07-13 20:07 ` Hans Hagen
2005-07-14  7:24   ` Jörg Hagmann
2005-07-20 11:10     ` Jörg Hagmann [this message]
2005-07-20 11:43       ` Hans Hagen
2005-07-20 12:02       ` Hans Hagen
2005-07-21  8:25         ` Jörg Hagmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ca589a651cd33aebd5a453616b23456@unibas.ch \
    --to=joerg.hagmann@unibas.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).