Re: [O] Testing: org-export-e-html

2012-06-02 Thread Jambunathan K
> The only trailing issue I see is the "soft error" of no tag > on <> (see W3C notes below). > http://www.w3.org/TR/html-markup/a.html#a-tags > > "An a element must have both a start tag and an end tag." This is now fixed.

Re: [O] Testing: org-export-e-html

2012-06-02 Thread William Crandall
Jambunathan, Thanks to you, and Nicolas, for your patience. I now see (blindingly, now that I do see) that the export engine adds the # to internal links, not me. The only trailing issue I see is the "soft error" of no tag on <> (see W3C notes below). This (org):

Re: [O] Testing: org-export-e-html

2012-06-01 Thread Jambunathan K
Crandall There is some confusion on your end :-). > - Org (input): > > Link and description, to anchor in headline: [[#directors][Directors]] > > Link and description, to anchor in paragraph: [[#bc][BC]] Remove the "#"es. > * <>Directors

Re: [O] Testing: org-export-e-html

2012-06-01 Thread William Crandall
Hello Jambunathan and Nicolas, Thanks for your recent updates! Links are proving to be quite a challenge. Here is my new test file, and "new" and "old" HTML output, comparing the two engines:    "old": C-c C-e h  (org-export, in org-exp.el)    "new": M-x org-export-dispatch h  (in org-expor

Re: [O] Testing: org-export-e-html

2012-06-01 Thread Nicolas Goaziou
Hello, William Crandall writes: > 1. [[directors]] > 2. [[#directors]] > 3. [[directors][Directors]] > 4. [[#directors][Directors]] > > > As I see it (do let me know what I'm getting wrong!), > the old version gets all links right. > > (But "old" makes one error(?) see next section.) > > 1. [[di

Re: [O] Testing: org-export-e-html

2012-05-31 Thread William Crandall
Nicolas, My email program (Gmail) deleted key HTML text, Here, again, the core bit, as plain text, I hope it goes through: -- Four input permutations: 1. [[directors]] 2. [[#directors]] 3. [[directors][Directors]] 4. [[#directors][Directors]] A

Re: [O] Testing: org-export-e-html

2012-05-31 Thread William Crandall
Hello Nicolas, To wrap my neurons around linking, I made a small test batch. There appear to be several difference between the "old" HTML export engine and the current version of the "new". Testing org-to-HTML export: old: C-c C-e h (org-export, in org-exp.el) new: M-x org-export-dispa

Re: [O] Testing: org-export-e-html

2012-05-31 Thread William Crandall
Hello Jambunathan, UTF-8! Yes! Many thanks. Now: Still snagging on targets and links. Will detail in next message. -BC Org-mode: 7.8.11 (release_7.8.11-24-g4144c5) Emacs: 24.1.50.1 Windows 7 On Wed, May 30, 2012 at 11:42 PM, Jambunathan K wrote: > > But first line of test.html: > > >

Re: [O] Testing: org-export-e-html

2012-05-31 Thread Nicolas Goaziou
Hello, William Crandall writes: > Thanks for clarifying link syntax. > I think I'm more than half way there! > > I can now create targets/destinations: > > This: > ** <>BC Crandall > > becomes: > BC Crandall > > As expected. > > > But creating a link TO that "id" target eludes me. > > Th

Re: [O] Testing: org-export-e-html

2012-05-30 Thread Jambunathan K
> But first line of test.html: > >   This is fixed. Please pull again. There was one another issue: Heading with CUSTOM_IDS were not getting the associated property as an anchor. This is also fixed. Issues wrt images links and target links are still *pending*. Hopefully, it will be fixed in t

Re: [O] Testing: org-export-e-html

2012-05-30 Thread Jambunathan K
For some reasons, the link type becomes "custom-id". See the attached files - links.org and links.el. links.el Description: application/emacs-lisp * <> BC Crandall :PROPERTIES: :CUSTOM_ID: :END: * Link1 #+target: [[#][Some description]] * Link2 [[#][Some descripti

Re: [O] Testing: org-export-e-html

2012-05-30 Thread William Crandall
Hello Nicolas, Thanks for clarifying link syntax. I think I'm more than half way there! I can now create targets/destinations: This: ** <>BC Crandall becomes: BC Crandall As expected. But creating a link TO that "id" target eludes me. This: [[#crandall][BC Crandall]] becomes:

Re: [O] Testing: org-export-e-html

2012-05-30 Thread William Crandall
Thanks Sebastien! Sometimes its the smallest things; in this case >.< A single point, and figures work in my setup. That is: [[./sites/a.png]] becomes: -- Alas, FILES do not now behave the same way. Using M-x org-export-dispatch h this: [[./sites/my-file][My l

Re: [O] Testing: org-export-e-html

2012-05-30 Thread Nicolas Goaziou
Hello, William Crandall writes: > 2a. Internal HTML links (#) > > > Neither links nor destinations make it into the html. > > This: > > "an internal section link [[#directors][Directors]]." > > becomes: > >"an internal section link: Directors. > > Was expecting (without italics): > >

Re: [O] Testing: org-export-e-html

2012-05-30 Thread Sebastien Vauban
Hi William, William Crandall wrote: > 3. Image and file prefixes are as they were. > > This (image): > >[[/sites/a.png]] > > becomes: > > > > And this (file): > >[[/sites/my-file][My link]] > > becomes: > >My link > > > I'd love an option to "change it not" for both, so that > neit

[O] Testing: org-export-e-html (was: Drupal syntax on html-export)

2012-05-29 Thread William Crandall
Hello Nicolas and Jambunathan, Thanks again for your responses to my questions. I report some success and some "in process." 1. Stylesheet attachment (with #+STYLE:) works fine now. 2. Your special string example (replace-regexp-in-string), Nicolas, as well as the better entity solution (\trade)