From: Pierre Neidhardt <mail@ambrevar.xyz>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <Guix-devel@gnu.org>, help-guix <help-guix@gnu.org>
Subject: Re: The cookbook is on-line!
Date: Mon, 28 Oct 2019 11:13:19 +0100 [thread overview]
Message-ID: <871ruxfa9s.fsf@ambrevar.xyz> (raw)
In-Reply-To: <875zk9hktt.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
Done!
For posterity, here is the process I've used:
- Add the following to .dir-locals.el:
--8<---------------cut here---------------start------------->8---
((org-mode
(org-texinfo-classes ("guix"
"@documentencoding AUTO\n@documentlanguage AUTO"
("@subsection %s" "@unnumberedsubsec %s" "@subheading %s"
"@appendixsubsec %s")
("@subsubsection %s" "@unnumberedsubsubsec %s" "@subsubheading %s"
"@appendixsubsubsec %s")))))
--8<---------------cut here---------------end--------------->8---
- Add "#+TEXINFO_CLASS: guix" to the Org document. This fixes the
section mapping.
- M-x load-library RET ox-texinfo RET
- C-c C-e C-b i t (or "M-x org-export-dispath", then enable "Body only"
and export in texinfo).
The result was really good and needed only a few minor changes:
- Add/remove some @node where it makes sense.
- Remove the @menu entries. (Can this be set in the export settings?)
- Change the @uref to @xref / @pxref.
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-10-28 10:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-22 13:20 The cookbook is on-line! Ludovic Courtès
2019-10-22 13:24 ` Pierre Neidhardt
2019-10-22 18:13 ` Ricardo Wurmus
2019-10-23 10:15 ` Pierre Neidhardt
2019-10-23 10:19 ` Pierre Neidhardt
2019-10-27 22:42 ` Ludovic Courtès
2019-10-28 10:13 ` Pierre Neidhardt [this message]
2019-10-29 16:56 ` Leo Famulari
2019-10-29 20:32 ` Pierre Neidhardt
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://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871ruxfa9s.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=Guix-devel@gnu.org \
--cc=help-guix@gnu.org \
--cc=ludo@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/guix.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).