From: emacs--- via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Daniel Fleischer <danflscr@gmail.com>
Cc: "emacs--- viaGeneral discussions about Org-mode."
<emacs-orgmode@gnu.org>
Subject: Re: [PATCH] ob-latex: Added support for including files with a relative path
Date: Tue, 5 Jul 2022 12:52:42 +0200 (CEST) [thread overview]
Message-ID: <N6CzPca--3-2@vergauwen.me> (raw)
In-Reply-To: <m2let7dem4.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 892 bytes --]
Hi Daniel,
>> in the attachment you find a proposed patch to support including external files
>> when exporting a latex source block. Currently this was only possible by using a
>> :header argument. The problem with this approach is that, files needed to be
>> included with their absolute path.
>>
>
> Hi, adding an "input" type of header is one option. What about adding a
> call to resolve relative file names instead, thus solving maybe other
> needs in addition?
>
That was my second approach. I was concerned that forcing all imports with
an absolute path could break existing exports? Correct me if I'm wrong.
Using the :header syntax external files can be loaded in via the old way,
whereas using :inputs all relative paths are resolved.
The downside of course is that we clutter the export settings with a new
parameter.
Kind regards,
Bob
[-- Attachment #2: Type: text/html, Size: 1609 bytes --]
next prev parent reply other threads:[~2022-07-05 10:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 19:15 [PATCH] ob-latex: Added support for including files with a relative path emacs--- via General discussions about Org-mode.
2022-07-05 10:43 ` Daniel Fleischer
2022-07-05 10:52 ` emacs--- via General discussions about Org-mode. [this message]
2022-07-05 11:05 ` Ihor Radchenko
2022-07-05 13:29 ` Daniel Fleischer
2022-07-05 13:50 ` Ihor Radchenko
-- strict thread matches above, loose matches on Subject: below --
2022-07-06 7:49 emacs--- via General discussions about Org-mode.
2022-07-06 10:18 ` Pedro Andres Aranda Gutierrez
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=N6CzPca--3-2@vergauwen.me \
--to=emacs-orgmode@gnu.org \
--cc=danflscr@gmail.com \
--cc=emacs@vergauwen.me \
/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).