all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Chris Gray <chrismgray@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [babel] org-babel: tangling to latex .sty/.cls files
Date: Wed, 17 Mar 2010 13:21:01 -0400	[thread overview]
Message-ID: <87tyselv9e.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <86r5njhsle.fsf@portan.ibr.cs.tu-bs.de> (Chris Gray's message of "Wed, 17 Mar 2010 16:32:13 +0100")

Chris Gray <chrismgray@gmail.com> writes:

> Dan Davison wrote:
>
>> Unless I hear views to the contrary from other org-babel users, I'm
>> going to change this later today so that, when a file name is supplied
>> for tangling, org-babel no longer attempts to guess the file
>> extension. The only situation when tangling will guess the file name
>> extension is if you supply ':tangle yes' in which case the behaviour
>> will be as it is currently (i.e. the org file name, minus .org, plus the
>> extension defined in org-babel-tangle-langs.)
>
> Would it be possible to add the extension if no extension exists?

You mean where the extension is defined to be everything after the last
'.'? I believe that that was the kind of thing we were attempting to do
but that I am now thinking was misguided. For example, if someone wants
an output file name like xxx.yyy.tex, then they might supply :tangle
xxx.yyy in which case we might end up concluding that the extension is
yyy and they'll never get the .tex.

Dan

>
> Cheers,
> Chris
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2010-03-17 17:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 22:10 org-babel: tangling to latex .sty/.cls files Nicolas Girard
2010-03-17 15:24 ` [babel] " Dan Davison
2010-03-17 15:32   ` Chris Gray
2010-03-17 16:24     ` Thomas S. Dye
2010-03-18  1:13       ` Dan Davison
2010-03-18 18:09         ` Nicolas Girard
2010-03-18 18:36           ` Dan Davison
2010-03-19 16:18             ` Nicolas Girard
2010-03-17 17:21     ` Dan Davison [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyselv9e.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=chrismgray@gmail.com \
    --cc=emacs-orgmode@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.