[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] How to get a bounding box for the formula?
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] How to get a bounding box for the formula? |
Date: |
Mon, 28 Sep 2015 09:31:25 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
Hi Marcin,
> I'd like to be able to programatically get the dimensions of the
> bounding box of a formula in my LaTeX buffer. I guess that the
> previewing routines have that information; how could I get it?
Yes, preview has that information but it is not very consumable.
Basically, when a document is compiled with preview enabled, it spits
out pseudo error messages about the preview snippets which are parsed by
`preview-parse-messages' which calls `preview-TeX-bb' to extract the
bounding box information.
Bye,
Tassilo