emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brett Viren <bv@bnl.gov>
To: ciaran_mulloy <cmulloy@druidsoftware.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using org-mode to create an on-line manual for a software product
Date: Wed, 25 Feb 2015 10:49:45 -0500	[thread overview]
Message-ID: <ir4oaoif0ti.fsf@lycastus.phy.bnl.gov> (raw)
In-Reply-To: <54EC90F6.6070306@druidsoftware.com> (ciaran mulloy's message of "Tue, 24 Feb 2015 14:55:50 +0000")

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

ciaran_mulloy <cmulloy@druidsoftware.com> writes:

> I output the manual to latex (nearly 170 pages).
>
> The thought occurs to me that it might be possible to publish it to
> html for use as an on-line manual that could be invoked from within
> the application. Ideally it would be useful to be able to open the
> relevant section in the manual in a browser.

The bulk of this is just typing: C-c C-e h h.  Org's publishing feature
can be applied to layer on more complex exporting rules.

If I were doing this I'd then be faced with these two issues:

 1) forming URLs in the app which correctly point to specific
    headlines/sections in the HTML.

For this I'd be sure to add a unique "<<label>>" after any headlines or
other things I want to reference by URL and then form that URL by ending
it with "#label".

 2) separating the full document into separate, per-section or maybe
    per-subsection HTML files.

In all exporting I've done, a single .org file gives a single .html
file.  If this resulted in an HTML file that was too large to load
quickly, then I'd look at how to split the export up into multiple HTML
files, probably along section lines.  I don't know of a setting that
would do this but one may exist.  I prefer having many, fine-grained
.org files rather than fewer, more monolithic ones so I'd probably
structure the document into individual, comfortably sized .org files.
If I had to then distribute a single PDF from the LaTeX export I might
join the individual section PDFs outside of org (eg, with pdfnup or
something).


-Brett.

[-- Attachment #2: Type: application/pgp-signature, Size: 180 bytes --]

  parent reply	other threads:[~2015-02-25 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 14:55 Using org-mode to create an on-line manual for a software product ciaran_mulloy
2015-02-25  1:38 ` Melanie Bacou
2015-02-25  1:46   ` Melanie Bacou
2015-02-25 15:49 ` Brett Viren [this message]
2015-02-25 16:25   ` Rasmus

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=ir4oaoif0ti.fsf@lycastus.phy.bnl.gov \
    --to=bv@bnl.gov \
    --cc=cmulloy@druidsoftware.com \
    --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).