From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: The cookbook is on-line! Date: Mon, 28 Oct 2019 11:13:19 +0100 Message-ID: <871ruxfa9s.fsf@ambrevar.xyz> References: <87blu83oi1.fsf@gnu.org> <87h8407w1q.fsf@ambrevar.xyz> <877e4wk5rk.fsf@elephly.net> <87imof6a49.fsf@ambrevar.xyz> <87a79r69yf.fsf@ambrevar.xyz> <875zk9hktt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: In-Reply-To: <875zk9hktt.fsf@gnu.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel , help-guix List-Id: guix-devel.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Done! For posterity, here is the process I've used: =2D Add the following to .dir-locals.el: =2D-8<---------------cut here---------------start------------->8--- ((org-mode (org-texinfo-classes ("guix" "@documentencoding AUTO\n@documentlanguage AUTO" ("@subsection %s" "@unnumberedsubsec %s" "@subheadi= ng %s" "@appendixsubsec %s") ("@subsubsection %s" "@unnumberedsubsubsec %s" "@su= bsubheading %s" "@appendixsubsubsec %s"))))) =2D-8<---------------cut here---------------end--------------->8--- =2D Add "#+TEXINFO_CLASS: guix" to the Org document. This fixes the section mapping. =2D M-x load-library RET ox-texinfo RET =2D 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: =2D Add/remove some @node where it makes sense. =2D Remove the @menu entries. (Can this be set in the export settings?) =2D Change the @uref to @xref / @pxref. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl22vz8ACgkQm9z0l6S7 zH8hIggAoUQ1e1MwfF/hy6+hOoYnMeOH3saEi75GBPRhjewG0Bkd7Mya5YRjg0xj KgJJ+wLt22NQTpyGKFUYkwxbYFaV8aaqv0vw1zpjE2GWLtMF3bRcIAOjfVK/9kux U58jbnTCGLLr9K1h8mTJCOHGoJAqo3VuqxYvPLJmxig51lyaCiDUZeJzEX7CodvM Sh0PpoOi/SNEKaNwCupyUm6zbPdxIsQEEHIcXkS5fAkIoQWBGVdlOqgp9df4o5DZ pp6t+MLNS+BWg3wqYBhgKLiQM/Zjd3Oie7xo4U9yaFn/qMDRXk/b3CAnAlmFETGU qaYj7AlsEl9+lB1+r5xMMlw79JVkYQ== =Xypz -----END PGP SIGNATURE----- --=-=-=--