emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Drupal syntax on html-export for image links


From: William Crandall
Subject: Re: [O] Drupal syntax on html-export for image links
Date: Sun, 27 May 2012 09:00:06 -0700

Hello Nicolas and Jambunathan,

Many thanks, to you both, for such quick and detailed responses!

I look forward to checking things out later today.

And yes, +1 to Bastien for recommending!


Regarding your notes on image and file paths:

JK> I will respond to 3 and 4 separately.  I need to look at
JK> this area closely. (I know nothing about HTML or HTML exporter.)

JK> What is "g:/" here.  Is it the publishing directory or
JK> the current directory.  Given that, does removing the leading
JK> "g:/" a specific requirement of yours or is it generally useful
JK> to anyone.

The "g:/" is a Windows artifact, indicating the  drive. On Unix
systems, root "/" is unique; on Windows there can be many drives
indicated by letters at the root (c:/, d:/, .. z:/). The most common
default for first hard disk is "c:/", but other letters are often used.
http://en.wikipedia.org/wiki/Drive_letter_assignment

I think that it would be generally useful to be able to remove
the drive letter, so that c:/ or g:/ is transposed into just /
so that when the link-string is passed to a publishing system,
such as Drupal, it can easily digest it for further processing.

Thanks again for all your work on this!

-BC


On Sun, May 27, 2012 at 5:37 AM, Jambunathan K <address@hidden> wrote:

The exporter is new.  Needless to say there are bugs, known and
unknown. (Think, "Rome wasn't built in a day")

[. . .]


> 3. Configuring paths to images
>
>    #+ATTR_HTML: alt="BC Crandall"
>    [[/sites/a.png]]
>
> Exports to:
>
>    <img src="" alt="BC Crandall"/></p>
>
> One win; one fail.
>
> #+ATTR_HTML: works fine!
>
> But I'd like the path to be  <img src="" ..
> without  "g:"
>
>
> ------------------------------
--------------------
>
> 4. Paths to files
>
>    [[/sites/my-file][My link]]
>
> Exports to:
>
>    <a href="">>My link</a>
>
> How can I keep the path "as it was", and get this:
>
>    <a href="" link</a>
>
> without "file://g:"
>
>
> ------------------------------
--------------------
>

I will respond to 3 and 4 separately.  I need to look at this area
closely. (I know nothing about HTML or HTML exporter.)

What is "g:/" here.  Is it the publishing directory or the current

directory.  Given that, does removing the leading "g:/" a specific
requirement of yours or is it generally useful to anyone.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]