emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jadamson@partners.org (Joel J. Adamson)
To: emacs-orgmode@gnu.org
Subject: Re: Re: Customizing HTML Export
Date: Wed, 14 May 2008 10:52:59 -0400	[thread overview]
Message-ID: <87skwllyyc.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: <863aolrfla.fsf@pmade.com> (Peter Jones's message of "Tue, 13 May 2008 16:42:25 -0600")

[-- Attachment #1: Type: text/plain, Size: 3379 bytes --]

Peter Jones <mlists@pmade.com> writes:

> jadamson@partners.org (Joel J. Adamson) writes:
>> I want you to know that LaTeX is worth it, in case you have yet to give
>> it a fair shot.
>
> I haven't given LaTex a fair shot yet, but it is the next technology
> on my list of "things to learn".

I love it!  Check this out

\documentclass{article}
\usepackage[garamond]{mathdesign}
\title{A Greeting}
\author{Peter Jones, FRS}
\begin{document}
\maketitle

Hello!  How about a nice equation?

\begin{equation}
  \label{eq:1}
  \nu = \int_a^bt\times sin(x) dx
\end{equation}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

> What I'm doing right now is using the HTML export from org-mode as a
> way to generate requirements outlines for my clients.  I then use a
> CSS file that I've written that makes the HTML look very nice so that
> I can export it to PDF.
>
> I realize that LaTex is a better way to go to PDF, but I do have some
> concerns:
>
>  1. A lot of software and configuration needs to be in-place to use
>     LaTex

What system are you using?  TeX systems are pretty easy to install, and
highly automated.  If you are using Windows, MikTeX does all the dirty
work for you, including a synaptic-esque package manager.  For Mac or
Linux there's TeXLive, which I haven't used, but my experience is that
it's all pretty easy to install (although it can take forever to
download, often >700 MB).  For Debian-based systems, all you have to do
is find the TeX system in your package manager of choice.  I use
Slackware, and teTeX came with the system (although i've urged the
maintainers to start using TeXLive).

>  2. The default fonts used when converting LaTex to PDF are ugly, to
>  say the least 3. HTML and CSS is much more accessible to me right now

Yes, I'm aware of that, but that depends on the fonts on your system and
a few other variables.  With MikTeX and other systems, installing new
fonts is pretty easy, but it does take some learning to get all the ins
and outs.  I use Garamond for most of my documents, and it prints beautifully.

> Joel, want to point me in the right direction for learning LaTex and
> producing nice looking PDF documents?

The best thing to do is visit www.tug.org, get the "Not So Short
Introduction to LaTeX" and read about it for a while.  There are tons of
tutorials on the internet, and you'll find a lot of them at tug.org.
Most TeX systems come with pdflatex, which directly produces pdf, with
limitations (pdflatex can't use eps graphics, my preferred format, but
must use png or gif --- someone please correct me if I'm wrong).  But
for that you can just generate the dvi and then use dvipdf to get a
pdf.  Again when I use my own fonts
("\usepackage[garamond]{mathdesign}") then I get nice results with
printing and pdf.  I used dvipng to produce this attachment.

Joel

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.



[-- Attachment #2: scratch1.png --]
[-- Type: image/png, Size: 6146 bytes --]

[-- Attachment #3: Type: text/plain, Size: 765 bytes --]


-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj

Ineffective security measure:

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.



[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2008-05-14 14:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 20:07 Customizing HTML Export Peter Jones
2008-05-13 14:40 ` Joel J. Adamson
2008-05-13 22:42   ` Peter Jones
2008-05-14  7:57     ` Karsten Heymann
2008-05-14 14:52     ` Joel J. Adamson [this message]
2008-05-14 15:12       ` Carsten Dominik
2008-05-14 17:36         ` Joel J. Adamson
2008-05-15 21:50       ` Dennis J Lin
2008-05-16 14:43         ` Joel J. Adamson
2008-05-16  1:09       ` Peter Jones
2008-05-14  4:22 ` Carsten Dominik

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87skwllyyc.fsf@W0053328.mgh.harvard.edu \
    --to=jadamson@partners.org \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).