emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Luke Crook <luke@balooga.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Importing text/data on export?
Date: Tue, 30 Nov 2010 12:40:42 +0000	[thread overview]
Message-ID: <877hfvf0hh.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <loom.20101129T104743-438@post.gmane.org> (Luke Crook's message of "Mon, 29 Nov 2010 10:15:02 +0000 (UTC)")

Luke Crook <luke@balooga.com> writes:

> I would like to create some technical specifications in a format of 
> (a) Cover Page, (b) Title Page, (c) Revision History, (d) TOC, 
> (e) List of Tables, (f) List of Figures, and (g) Actual specifications/text/etc.
>
> A-C might be part of each org-mode document, or might only be included on export.
> However there are fields in these sections that are document specific that must 
> be updated on export, for example; title, doc number, revision number. 
> In addition, the Cover Page has to be of the approved format having space 
> for the appropriate signoff signatures for the author and several approvers. 
> Is org-mode capable of this, or is this something that has to be done outside 
> of org-mode?
>
> For the revision history, I think creating this table on export by 
> including the commit text from git would be great. Does anyone have any
>  pointers on how to accomplish this?
>
> -Luke

Luke,

I guess it all depends on what export target you are aiming for.  If you
want latex (+pdf), much of this can be captured with actual latex
commands (\listoffigures, say).  

Independent of the export target, the revision history could be
generated using babel with the appropriate log command depending on the
version control system you use, as in

--8<---------------cut here---------------start------------->8---
#+begin_src sh :results output :exports results
git log -10 --oneline
#+end_src
--8<---------------cut here---------------end--------------->8---

HTH,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.99.g9db0.dirty)

      reply	other threads:[~2010-12-01  4:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 10:15 Importing text/data on export? Luke Crook
2010-11-30 12:40 ` Eric S Fraga [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=877hfvf0hh.fsf@pinto.chemeng.ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=luke@balooga.com \
    /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).