From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Latex summary Date: Mon, 13 Feb 2017 19:55:10 +0000 Message-ID: <87wpctq31d.fsf@ucl.ac.uk> References: <877f4vwevb.fsf@ucl.ac.uk> <7ed2978596ff4adb8aceaae2fa7393bc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87vaseqg14.fsf@ucl.ac.uk> <9de9f242d97c4a819fbcd2b168d9d8ae@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdOBp-00085R-Cv for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 16:29:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdOBk-0002kr-CI for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 16:29:41 -0500 Received: from mail-db5eur01on0110.outbound.protection.outlook.com ([104.47.2.110]:14123 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdOBj-0002kZ-TW for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 16:29:36 -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 Content-Transfer-Encoding: quoted-printable On Monday, 13 Feb 2017 at 19:44, Russell Adams wrote: [...] > Eric, thanks for that really detailed input. I'll have to consider > it. I worry that the keywords aren't like the full sentences I'm > using. Ah, okay. Well, I'm not sure there is anything in LaTeX that does this as such but you could play around with inline tasks. You could use an inline task to give the recommendation and then use org-latex-format-inlinetask-function to specify your own function that would, for instance, output the recommendation inline but also create an endnote (cf. endnotes LaTeX package) for the summary at the end? I do this for collecting TODO items when I'm writing a proposal or paper. My function looks like this: #+begin_src emacs-lisp ;; define what to do with inline tasks: use endnote (defun esf/org-format-inlinetask-as-endnote (todo type priority name tags= contents info) "Format an inline task element for LaTeX export." (let ((theinlinetask (concat " " name ": " contents))) (if (and todo (not (equal todo "NOTE"))) (format "\\endnote{%s}\\marginpar{\\fbox{\\tiny E\\theendnote. %s= }}" theinlinetask todo) (format "\\hl{%s}" contents)))) (setq-local org-latex-format-inlinetask-function 'esf/org-format-inlinetask-as-endnote) #+end_src=20 Although I don't put any text inline, you could easily do so. HTH, eric =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWKIPHgAKCRDIkZPY//z2 fUWFAJ9nOBwKPkPxH7pIrbK7Om9nIsNmDQCghejpBYaiQnGk/MRnYwnOTK8MA08= =b530 -----END PGP SIGNATURE----- --=-=-=--