From mboxrd@z Thu Jan 1 00:00:00 1970 From: Norman Walsh Subject: Inline references in noweb? Date: Sun, 05 Jan 2020 09:47:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59802) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io2VB-0006cS-Dw for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 04:47:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io2V9-0003KW-Pj for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 04:47:16 -0500 Received: from outbound1f.eu.mailhop.org ([52.28.59.28]:12783) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io2V8-0003Dq-VM for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 04:47:15 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I=E2=80=99ve read through most of the docs that turn up with the obvious web searches and I haven=E2=80=99t been able to figure this out. However, it se= ems like it should be possible=E2=80=A6 I=E2=80=99m quite pleased with how babel and noweb can be used to write =E2=80=9Cliterate programs=E2=80=9D for configuration files and scripts. Cross references between code blocks with <> work just fine. What I=E2=80=99d like, but can=E2=80=99t work out, is how to ref= er to, for example, a configuration value inline. Something like this: In order to engage the flux capacitor, you must set the chronometer dial to ~<>~. #+begin_src conf :noweb yes date: <> #+end_src I don=E2=80=99t care how or where =E2=80=9Crequired_date=E2=80=9D is define= d, I just want the ability to refer to it in the documentation and in code blocks. Have I overlooked something obvious? Be seeing you, norm =2D-=20 Norman Walsh | The stone fell on the pitcher? Woe to http://nwalsh.com/ | the pitcher. The pitcher fell on the | stone? Woe to the pitcher.--Rabbinic | Saying --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAl4RsJQACgkQhVWfHhJM AHmJgQ//ZxtLtfaUAuou4wmnsND8eaXNGIP2fXQsSIpQuCPt8Fmk291Fr4JuuK2n mibPSVcVIMQ2Zr47FVep1VX1LanTUiPhtDOUOfO6fmng6wFdBhOysPAPYVgWcELi 0QhEWiBzJCSzMxoEIYEIB71goWJ1/Q9AnSypNzoytSOWJCbGUteV70xZHfYv0Nv+ VkFaAkDtDBn9QFF6cyetqSC6SgddzCD8E3ib0ok2aoNVlg+dR73bp5NdaUKJZ/+H kqDg/LzunIETSfuhWs/AC5X3RSVBecp9tQvvrtJFlkCleTHU7D2mTp+DaKauZrm+ VK7i5Wl//JEFNUrOM0Q1C45uIB7McAgepwNzeg5UTLBDD3XBDLmqXj5WM9wY6Z9M Q7ZPKcOuAWBXiLgUeo5Ugma4eSUZrKB2Qs6dfLHOjUo4d67HNx4vz+SwsTNLVM6P +StbxyDXEOEjgv7vWlzFh4EWxRYM/jf4uZkxOON8OQsqPbtMaUPbvqxaXQL2ZqIb +jF571vBSr9wGgNkXWOtUy6meC7AJfQ2Bh9f5yYk4zoNergbpRfFq7vS7VQTvtZU 5PIKnYV1ZmuqKUEYw4N27UKcIWJNTKSpymc1wYxcaA/LzM4VipiIlYvX3n5XssbK PuPZtqmxMm0SmF+WfXaQitk7Znxmr2gXCh2ND+Zs7qiG7eNYDAE= =fLnx -----END PGP SIGNATURE----- --=-=-=--