From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Export of latex source to html Date: Thu, 8 Jul 2010 08:22:19 +0200 Message-ID: References: <87aaq38sn6.wl%ucecesf@ucl.ac.uk> <87630r8rs6.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2134447298==" Return-path: Received: from [140.186.70.92] (port=38225 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWkV5-000640-BH for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 02:22:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWkV3-0004Oj-MW for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 02:22:23 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53525) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWkV3-0004OI-HL for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 02:22:21 -0400 Received: by wyj26 with SMTP id 26so320816wyj.0 for ; Wed, 07 Jul 2010 23:22:20 -0700 (PDT) In-Reply-To: <87630r8rs6.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: emacs-orgmode --===============2134447298== Content-Type: multipart/alternative; boundary=0016e65b54e4029364048ada4fab --0016e65b54e4029364048ada4fab Content-Type: text/plain; charset=ISO-8859-1 Hi Eric Thanks for your comments. I will look into both of them. Cheers, Rainer On Wed, Jul 7, 2010 at 1:17 PM, Eric S Fraga wrote: > Following up on my own message, one thing to consider is that > generating the figure in latex creates a PDF that takes up the whole > page but the figure is only a small part of this page. In latex, if I > wanted the PDF to include only the tikz figure, I would do the > following: > > --8<---------------cut here---------------start------------->8--- > \documentclass{article} > > [...] > > \usepackage[active,tightpage]{preview} > \setlength\PreviewBorder{5pt}% > > \begin{document} > % Define block styles > \begin{preview} > > [... the tikz commands ...] > > \end{preview} > \end{document} > --8<---------------cut here---------------end--------------->8--- > > It may be worthwhile providing this type of option to babel-latex? > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com --0016e65b54e4029364048ada4fab Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric

Thanks for your comments.

I will look into both of th= em.

Cheers,

Rainer


On W= ed, Jul 7, 2010 at 1:17 PM, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:
Following up on m= y own message, one thing to consider is that
generating the figure in latex creates a PDF that takes up the whole
page but the figure is only a small part of this page. =A0In latex, if I wanted the PDF to include only the tikz figure, I would do the
following:

--8<---------------cut here---------------start------------->8---
\documentclass{article}

[...]

\usepackage[active,tightpage]{preview}
\setlength\PreviewBorder{5pt}%

\begin{document}
=A0% Define block styles
=A0\begin{preview}

[... the tikz commands ...]

=A0\end{preview}
\end{document}
--8<---------------cut here---------------end---------= ------>8---

It may be worthwhile providing this type of option to babel-latex?
--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 =A0570D C891 93D8 FFFC F67D




--
NEW GERMAN FAX NUMB= ER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conserva= tion Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for I= nvasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch UniversityMain Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:= =A0 =A0 =A0 =A0 =A0 +27 - (0)83 9479 042
Fax: =A0 =A0 =A0 =A0 =A0 =A0+2= 7 - (0)86 516 2782
Fax: =A0 =A0 =A0 =A0 =A0 =A0+49 - (0)321 2125 2244
email: =A0 =A0 =A0 = =A0 =A0Rainer@krugs.de

Skype:= =A0 =A0 =A0 =A0 =A0RMkrug
Google: =A0 =A0 =A0 =A0 R.M.Krug@gmail.com

--0016e65b54e4029364048ada4fab-- --===============2134447298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2134447298==--