emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Using org-mode to create an on-line manual for a software product
Date: Wed, 25 Feb 2015 17:25:52 +0100	[thread overview]
Message-ID: <8761aqrm9b.fsf@gmx.us> (raw)
In-Reply-To: ir4oaoif0ti.fsf@lycastus.phy.bnl.gov

Brett Viren <bv@bnl.gov> writes:

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

For sections *I'd* use a custom-id property...

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

Have you checked the INCLUDE keyword?

—Rasmus

-- 
This is the kind of tedious nonsense up with which I will not put

      reply	other threads:[~2015-02-25 16:26 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
2015-02-25 16:25   ` Rasmus [this message]

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=8761aqrm9b.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).