unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* [orgmode/cygwin] Export as PDF
@ 2015-11-27 16:55 Xavier Maillard
  2015-11-27 18:37 ` Yuri Khan
  2015-11-27 21:11 ` Rasmus
  0 siblings, 2 replies; 6+ messages in thread
From: Xavier Maillard @ 2015-11-27 16:55 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

I am writing a documentation at work and instead of using the usual MS stuff,
I have decided to try to do it using orgmode and then I'd like to export it as
a neat PDF file.

What do I need to install ? How should I customize emacs/orgmode for this ?

Thank you

- -- Xavier.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWWIsBAAoJEDy08nibbhJtt7MIAJF5b/i0tY9yv8L4oX2pde7c
Lphy13fKqCu7t74h2nAJEHdo/pLhb3F6gV+F1MpI9PFQF5WjEE6rkeZ0xKXJI2M8
qdcXoet6xGBZHgmXq0GOkhmo/OSt3QEuBhxrsl7675QvhzvMvwEgbKQ/kZrQ1R85
P2+RhRffeVRGAQBuW69txal7J+aDtfGof2mJWgrsm1wf/CQjUSTr1uMrWtEqFdBA
DiKCrFQavcnzhZajCYmKvDRMgOx+Ft08pxDmEmwp1I6DOcuSGvwCMNIQQoE4vqZv
AeYh44WWcdBvoddydPSuIf1rBsKmDNS9Lk8pAOEU8jWqYf7UbScJp3Srf+p2EUI=
=GL0L
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [orgmode/cygwin] Export as PDF
  2015-11-27 16:55 [orgmode/cygwin] Export as PDF Xavier Maillard
@ 2015-11-27 18:37 ` Yuri Khan
  2015-11-28  9:19   ` Xavier Maillard
  2015-11-27 21:11 ` Rasmus
  1 sibling, 1 reply; 6+ messages in thread
From: Yuri Khan @ 2015-11-27 18:37 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

On Fri, Nov 27, 2015 at 10:55 PM, Xavier Maillard
<lists.emacs.help@xavier.maillard.im> wrote:

> I am writing a documentation at work and instead of using the usual MS stuff,
> I have decided to try to do it using orgmode and then I'd like to export it as
> a neat PDF file.

Depending on the type of documentation you write, HTML might be a more
useful target format.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [orgmode/cygwin] Export as PDF
  2015-11-27 16:55 [orgmode/cygwin] Export as PDF Xavier Maillard
  2015-11-27 18:37 ` Yuri Khan
@ 2015-11-27 21:11 ` Rasmus
  2015-11-28  9:23   ` Xavier Maillard
  1 sibling, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-11-27 21:11 UTC (permalink / raw)
  To: help-gnu-emacs

Xavier Maillard <lists.emacs.help@xavier.maillard.im> writes:

> Hello,
>
> I am writing a documentation at work and instead of using the usual MS stuff,
> I have decided to try to do it using orgmode and then I'd like to export it as
> a neat PDF file.
>
> What do I need to install ? How should I customize emacs/orgmode for this ?

You should be able to press C-c C-e and get an export menu.  It should
allow plaintext, html and LaTeX out of the box.  For latex, you need to
install a TeX distribution.  Texlive is the best choice if you are on
GNU/Linux or windows.

Additionally, you could load ox-odt for odt export ("LibreOffice") or
ox-texinfo for info files.  The latter produces very nice manuals IMO; see
e.g. Emacs manuals, the Org manual or the Magit manual (which is produced
via ox-texinfo, last I checked).

Hope it helps,
Rasmus

-- 
Don't panic!!!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [orgmode/cygwin] Export as PDF
  2015-11-27 18:37 ` Yuri Khan
@ 2015-11-28  9:19   ` Xavier Maillard
  0 siblings, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2015-11-28  9:19 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Yuri Khan <yuri.v.khan@gmail.com> writes:

> On Fri, Nov 27, 2015 at 10:55 PM, Xavier Maillard
> <lists.emacs.help@xavier.maillard.im> wrote:
>
>> I am writing a documentation at work and instead of using the usual MS stuff,
>> I have decided to try to do it using orgmode and then I'd like to export it as
>> a neat PDF file.
>
> Depending on the type of documentation you write, HTML might be a more
> useful target format.

It is a basic technical documentation (with commands and output).
At work, the defacto tool is .doc files (with a custom branding). I'd like to
reproduce it using export to PDF.

Doing it for HTML, pdf or whatever should not be a problem once the export
stuff is in place, right ?

- -- Xavier.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWWXGEAAoJEDy08nibbhJt9koIAKg/+G9zr7SY7EspnoO1Nenu
sTkXJw808J8uVtic2gUg+0zgz8p5/mPW+RCxCtps3tnZCiloY3CGXsFt4u3XZtZ0
5We7OXqUIeWy2Krk5BAVnxnVnMkCP7vWDW6aQXgLLuqcj2UZTokhqb6Ag5Ba4uoU
YiAT70ZivYxG4gL+fIswqqLGYM+2lHTjJZa1N9r6xtuIM1hbau1GLEFnnPSTrGwA
l4TfLrJJZC6Q+0jukCGtnv7sYdZU6MgiWjHCuq9l9wVZKD/nbVWEqvHhR27jQtH+
c64Tlo3EiyXJTdua0qZvZs0H3FJs8VfajY77Z49zqOc9ULq+QsRdB0sW/G8qeC4=
=Unhc
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [orgmode/cygwin] Export as PDF
  2015-11-27 21:11 ` Rasmus
@ 2015-11-28  9:23   ` Xavier Maillard
  2015-11-28 15:10     ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Xavier Maillard @ 2015-11-28  9:23 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

THnak you for the greatful insight !

One more question: AFAIU, I can directly produce PDF from my orgmode file
without any (la)tex installation ? Is this PDF customisable so that I can add
my own branding ?

Thank you.

- -- Xavier.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWWXJ3AAoJEDy08nibbhJt/pcH/2c+aIGZo3kfLv5ynWPStbH7
ZJsTZJ4twRF5tHLUJneQP+f40JP62+9uqy/+SX4dgL8Apdb/Ub3luiCPJp1ATFR2
Wk/1aXt57yymiVZzPq/9l89H4+WrzB3WopjBJibBSnPpsuNCWRtCvPeqHc592W6i
eex8ubM6+eBOyfQcDLZPz2yzYEBc0bfeB7C4QQvH2F8mMOIePQuGG48D6xYhqngq
oA175SmHKKP7O8sl8vdDZlMJW8v2ZUMGIg4pRfJXlxctPsEwbTbFqhLPX2f1hD/N
ptNGPWwRpHS2ORJsgeiDlFLpe3PSCBcnYH001zCePhq4cBGVqRtyDA2lBRgg0eI=
=f//B
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [orgmode/cygwin] Export as PDF
  2015-11-28  9:23   ` Xavier Maillard
@ 2015-11-28 15:10     ` Rasmus
  0 siblings, 0 replies; 6+ messages in thread
From: Rasmus @ 2015-11-28 15:10 UTC (permalink / raw)
  To: help-gnu-emacs

Xavier Maillard <lists.emacs.help@xavier.maillard.im> writes:

> One more question: AFAIU, I can directly produce PDF from my orgmode file
> without any (la)tex installation ?

You can produce the .tex file.  To go from .tex to pdf you need LaTeX.
See org-latex-default-packages-alist for minimum requirements.

Presumably you would be able to do something like org → odt → pdf via
ox-odt and LO.  See org-odt-convert-capabilities.

In Org-7 there was a docbook exporter that allowed an alternative way of
producing pdf.  As I recalled it also had dependencies.  I would strongly
advice against using Org-7, however.

> Is this PDF customisable so that I can add my own branding ?

Sure, if you have got enough latex-foo.  See org-latex-class, as and read
up on the latex headers such as #+latex_header, and #+latex_class etc (in
the Org manual).  If you already have a word template, perhaps LO can use
it.  Maybe via org-odt-content-template-file and/or org-odt-styles-file.

Rasmus

-- 
The second rule of Fight Club is: You do not talk about Fight Club




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-28 15:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 16:55 [orgmode/cygwin] Export as PDF Xavier Maillard
2015-11-27 18:37 ` Yuri Khan
2015-11-28  9:19   ` Xavier Maillard
2015-11-27 21:11 ` Rasmus
2015-11-28  9:23   ` Xavier Maillard
2015-11-28 15:10     ` Rasmus

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).