From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: no line breaks between figures
Date: Wed, 22 Jul 2009 13:16:41 +0200 [thread overview]
Message-ID: <4A66F519.8060406@wxs.nl> (raw)
In-Reply-To: <alpine.LNX.2.00.0907212040510.22956@ybpnyubfg.ybpnyqbznva>
Aditya Mahajan wrote:
> Now since \placefigure internally places its contents in a \vbox, this
> boils down to a differnce beween
that will not change .. (being in vmode also has advantages with regards
to spurious spaces)
> The redefinition at ConTeXt will break some existing documents (i.e.,
> the authors will have to manually add a \vbox where there was none
> earlier). The redefinition at tikz end will make all pgf code run
> slightly slower (an extra hbox for each typeset pgfpicture)
not that much slower i guess as not much repackaging is needed, just a
box flush; in tikz parsing and calculations of the graphic take much
more time (just take look at traced output); if you want to optimize
tikz there are other tricks
> If neither of these is acceptable, then we can have a simple wrapper
> around \start-stop tikzpicture:
>
> \def\startTIKZcode{\hbox\bgroup\starttikzpicture}
> \def\stopTIKZcode {\stoptikzpicture\egroup}
>
> which will only affect ConTeXt code.
or just add a \dontleavehmode in front of the picture
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-07-22 11:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6faad9f00907211140j11ce2c4xa41d1b443abcf3c7@mail.gmail.com>
2009-07-22 1:08 ` Aditya Mahajan
2009-07-22 11:16 ` Hans Hagen [this message]
2009-07-22 12:05 ` [NTG-context] " Mojca Miklavec
2009-07-22 17:46 ` Aditya Mahajan
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=4A66F519.8060406@wxs.nl \
--to=pragma@wxs.nl \
--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).