Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-04 Thread gnuric
Thank you for your detailed reply, Ihor. "Ihor Radchenko" writes: > gnu...@pm.me writes: > >> Hi Ihor, >> Thanks for your reply and clarification on what Timothy meant. >> >> 1. Is there a general workaround that could be used as of now? > > Nothing great. You may have to use a custom macro,

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-02 Thread gnuric
Hi Ihor, Thanks for your reply and clarification on what Timothy meant. 1. Is there a general workaround that could be used as of now? 2. Is there something I can do to help with a :dir or similar option's development? I have some (very) basic knowledge of lisp. 3. If it helps, this behavior has

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-04-01 Thread gnuric
Hi, I was wondering if anyone had any new ideas on this question (or an explanation on what Timothy meant by a :dir parameter). Right now I'm having to use a search and replace back on the whole generated html buffer, which is fragile and inefficient. Thanks, Omid Original Message

Re: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir

2023-02-28 Thread gnuric
Hi Max, Thanks for your reply. "Max Nikulin" writes: > On 26/02/2023 08:52, gnu...@pm.me wrote: >> (basically similar to what #include >> directive in C preprocessor would do, e.g.). As of now, the >> above >> s.org exports to s.html which has the file: link converted to >> >>

Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)

2023-02-28 Thread gnuric
Hi Timothy, Thanks for your reply. "Timothy" writes: > Hi Ihor, > >> This sounds like a reasonable request. >> What we may do here is allowing a new parameter :verbatim > > From a read of the original email, it sounds like a `:dir' > parameter could also > solve this use case, and allow for a

Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir

2023-02-25 Thread gnuric
Hello, I have a file s.org in ./ (current directory), which includes another file s0.org living under ./media/s/: ./s.org: #+TITLE: s #+INCLUDE: "./media/s/s0.org" ./media/s/s0.org: * s0 ** s01 file:media/s01_image.png I want the org export to html to treat the file: paths in