From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
To: mail@christianmoe.com
Cc: Emacs-orgmode@gnu.org
Subject: Re: latex export problem
Date: Fri, 01 Oct 2010 09:30:48 +0200 [thread overview]
Message-ID: <4CA58E28.2030104@unibas.ch> (raw)
In-Reply-To: <4CA4C29B.1060404@christianmoe.com>
Hi Christian,
On 9/30/10 7:02 PM, Christian Moe wrote:
> The exact error message is "No such file: /Users/me/test.org::" with
> two colons at the end, right?
You are right, I forgot the colons.
> I reported the same problem on 23 September ("Bug: subtree export
> fails with src block"), but others were not able to reproduce it.
I can understand that. In my case it worked for at least a month. I have
no idea why it stopped doing so.
> As I wrote at the time, it looks like the problem comes to a head in
> this part of org-babel-exp-src-blocks
>
> : (link (org-make-link-string
> : (concat
> : org-current-export-file
> : "::"
> : (nth 4 (ignore-errors (org-heading-components))))))
>
> and that org-heading-components fails to return the heading text. I'm
> not lisp-canny enough to see why. Maybe something to do with the
> active region?
I don't know enough lisp either. But it would be nice if it could be
corrected; the (working) alternative is to have all the lines in the
source block preceded by "#+LATEX: " which is less convenient.
> On 9/30/10 4:55 PM, Jörg Hagmann wrote:
>> Dear list,
>>
>> I have an org file named "test.org" structured as follows (minimal
>> example):
>>
>> ------minimal example------------
>> * Head
>> text
>>
>> * Second head
>> :PROPERTIES:
>> :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t
>> skip:nil d:nil tags:nil
>> :EXPORT_TITLE: My Title
>> :EXPORT_FILE_NAME: scripts/filename
>> :END:
>>
>>
>> #+begin_src latex
>> \input gentium-ge
>> #+end_src
>>
>> ** section
>> text
>> ------end of minimal example-----------
>>
>> I export the second head to a filename.tex file in a subdirectory (and
>> convert it later to ConTeXt code, but that shouldn't matter here). I
>> swear that this worked -- I have everything pertaining to my lectures
>> in this file.
>> However, it stopped working recently (without updating org-mode). All
>> I get when I export "Second Head" to latex is:
>> "No such file: /Users/me/test.org"
>> The cause is the #+begin_src ... #+end_src block
>>
>> Did I inadvertently change some parameter? Or is it a bug (less likely)?
>>
>> Thanks for your suggestions, Jörg
next prev parent reply other threads:[~2010-10-01 7:30 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 14:55 latex export problem Jörg Hagmann
[not found] ` <4CA4C29B.1060404@christianmoe.com>
2010-10-01 7:30 ` Jörg Hagmann [this message]
2010-10-01 7:32 ` Noorul Islam K M
2010-10-01 7:40 ` Jörg Hagmann
2010-10-01 9:03 ` Noorul Islam K M
2010-10-01 9:17 ` Noorul Islam
2010-10-01 11:38 ` Jörg Hagmann
2010-10-01 12:05 ` Jörg Hagmann
2010-10-01 9:06 ` Christian Moe
-- strict thread matches above, loose matches on Subject: below --
2012-01-09 15:45 LaTeX " Piotr Kaźmierczak
2012-01-10 0:13 ` Nick Dokos
2012-01-17 13:35 ` Piotr Kaźmierczak
2012-01-17 17:00 ` Nick Dokos
2012-01-17 19:00 ` Piotr Kaźmierczak
2012-01-17 20:45 ` Eric S Fraga
2012-09-12 16:47 Gary Oberbrunner
2012-09-19 7:57 ` Bastien
2012-09-20 14:59 ` Alexander Vorobiev
2012-09-21 8:48 ` Bastien
2012-09-21 19:47 ` Alexander Vorobiev
2012-09-21 21:21 ` Thomas S. Dye
2012-09-22 8:01 ` Nicolas Goaziou
2012-09-22 8:07 ` Nicolas Goaziou
2012-09-24 16:40 ` Alexander Vorobiev
2012-09-24 21:15 ` Nicolas Goaziou
2012-09-24 21:32 ` Alexander Vorobiev
2012-09-26 18:48 ` Nicolas Goaziou
2014-07-13 21:25 Thomas S. Dye
2014-07-16 14:36 ` Nicolas Goaziou
2014-07-16 16:35 ` Thomas S. Dye
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=4CA58E28.2030104@unibas.ch \
--to=joerg.hagmann@unibas.ch \
--cc=Emacs-orgmode@gnu.org \
--cc=mail@christianmoe.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).