Re: [O] [BUG] Ugly checkbox on HTML export

2011-07-01 Thread Manuel Giraud
Bastien writes: > Hi Manuel, > > Manuel Giraud writes: > >> Oops, the previous patch was applied on top on another one I have >> here. This one's better. > > I let Nicolas decide on this one. Nicolas' patch is already applied and far more com

Re: [O] Bug: inline images for filenames with spaces

2011-07-01 Thread Manuel Giraud
se test it! I've tested your patch. It works with org-toggle-inline-image, export to HTML and to LaTeX. AFAIU, now a link to an inline image inserted with org-insert-link will expand into [[file name.jpg]] instead of [[file%20name.jpg][file name.jpg]]. But the later form still doesn't work so it have to be fixed into older org files. Best, -- Manuel Giraud

Re: [O] [BUG] Ugly checkbox on HTML export

2011-06-29 Thread Manuel Giraud
Oops, the previous patch was applied on top on another one I have here. This one's better. >From d9533465909a822275c01450cb00afa96ddcf1b6 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 29 Jun 2011 17:11:16 +0200 Subject: [PATCH] * org-html.el (org-html-export-list-line): cor

Re: [O] [BUG] Ugly checkbox on HTML export

2011-06-29 Thread Manuel Giraud
[[ X-]\\]\\)[ \t]+\\)?" + "[ \t]*\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)?" "\\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)?" "\\(.*\\)") line) (let* ((checkbox (match-string 3 line)) -- 1.7.5 -- Manuel Giraud

Re: [O] Bug: inline images for filenames with spaces

2011-06-29 Thread Manuel Giraud
Huy writes: > Example: > [[file:img/test.png]] will display inline > [[file:img/test copy.png]] won't Just tested on the same emacs version and few minutes old org-mode and both works for me. How do you export? Do you have some special settings? -- Manuel Giraud

Re: [O] Changing the font family in HTML export

2011-06-28 Thread Manuel Giraud
rst title --8<---cut here---end--->8--- Best regards, -- Manuel Giraud

Re: [O] [PATCH] Sitemap sans extension

2011-05-10 Thread Manuel Giraud
Carsten Dominik writes: > Hi Manuel, > > this has been applied, but please provide a separate patch for the > manual to document the new property. Thanks Carsten, here it is. >From 50d10f54241bbdd554b99534af9b66ea67b557eb Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Tue,

[O] [PATCH] Sitemap sans extension

2011-04-29 Thread Manuel Giraud
Hi, The following patch adds an option to remove extensions of files linked from the auto generated sitemap. This is useful if you want to follow this: http://www.w3.org/Provider/Style/URI >From 32ca3e459e759fbf6312c0154b1f1ba5b2cb7b13 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Fri,

Re: [O] [PATCH] org-html.el: Fix export of table.el tables.

2011-04-26 Thread Manuel Giraud
have misunderstood how table-query-dimension API > works ... No, it's ok and it is my fault: I was worried about the complex HTML output but now I understood that it is so for spanning table that are rendered by table.el (and as I said I'm no HTML table expert so I guess that table.el is the right thing when it comes to complex tables). Best, -- Manuel Giraud

Re: [O] [PATCH] org-html.el: Fix export of table.el tables.

2011-04-26 Thread Manuel Giraud
Manuel Giraud writes: > But AFAIU, with org-export-prefer-native-exporter-for-tables to nil, > simple table stays in HTML, no? simple -- Manuel Giraud

Re: [O] [PATCH] org-html.el: Fix export of table.el tables.

2011-04-26 Thread Manuel Giraud
Hi, I've tried your patch and the output is prettier afterward. I'm not a HTML tables expert but all those   in output seems scary. But AFAIU, with org-export-prefer-native-exporter-for-tables to nil, simple table stays in HTML, no? Best regards, -- Manuel Giraud

[O] [PATCH] alt for inline thumbnail

2011-04-22 Thread Manuel Giraud
Hi, Here's a patch to add the following syntax for image link in html exports: [[file:hires.jpg][file:thumb.jpg::my description]] "my description" will be used for the alt attribute of the thumbnail. >From 53a6b03ad51ed4e05053a220872c2de72f2d254c Mon Sep 17 00:00:00 2001 F

Re: [O] Inline Images Showing as Link

2011-04-21 Thread Manuel Giraud
er > https it probably will not always work. Then the OP can do something like this: (add-to-list 'org-export-html-inline-image-extensions "com/KXI0totQ7IlQlRpUqszAYhRM0ldASL6vdl3VWDEswuoStG-jMMbNffNW-pHwRCR_xiXpgGNNaZGZfUWJ9UlGHjvwxQ=s512") and html export will work afterwards (my eyes! it hurts!) -- Manuel Giraud

Re: [O] Inline Images Showing as Link

2011-04-21 Thread Manuel Giraud
s.google.com/leaf?id=0B-swGEqSDpxyMjgwNjE0MzEtMTA4OC00NTdmLWE3MjktMDJmOGE5ZWM2YjY0&hl=en"; alt="none"/> --8<---cut here---end--->8--- in firefox and only get the alternative. (its the google way of web). -- Manuel Giraud

Re: [O] Indentation of org-mode code

2011-04-20 Thread Manuel Giraud
s some convention for indenting org-mode code. -- Manuel Giraud

[O] Indentation of org-mode code

2011-04-20 Thread Manuel Giraud
quot; can't fix this). Best, -- Manuel Giraud

Re: [O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images

2011-04-20 Thread Manuel Giraud
Aankhen writes: > On Wed, Apr 20, 2011 at 13:39, Manuel Giraud > wrote: > >> I knew it was not the best solution: all i wanted was to validate. But >> an empty alt or maybe just "image" is fine by me too. > > Fair enough. :-) ‘image’ would be about the same

Re: [O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images

2011-04-20 Thread Manuel Giraud
(concat " " attr " alt=\"" src "\""))) > + (concat " " attr " alt=\"\""))) > (if caption > (format "%s > %s" Ok, those 2 last hunk should complete my patch I guess. But what I'd really like is a way to set a alt as a user. Maybe something like this: [[big_image.png][small_image.png|my picture is cool]] What you guys think? I'll look what i can do and try to make it work for anykind of tag that can be generated. -- Manuel Giraud

Re: [O] [PATCH] * org-publish.el (org-publish-find-date): optimization

2011-04-19 Thread Manuel Giraud
Bernt Hansen writes: > Manuel Giraud writes: > >> Hi, >> >> elp reports important speed gain with this patch to find an org file date. > > Hi Manual, > > It would be useful to post the elp results too so we can see the > differences before and after y

[O] [PATCH] * org-publish.el (org-publish-find-date): optimization

2011-04-19 Thread Manuel Giraud
Hi, elp reports important speed gain with this patch to find an org file date. --- lisp/org-publish.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index e944eea..7470ee2 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publis

Re: [O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images

2011-04-19 Thread Manuel Giraud
Jambunathan K writes: > Without alt validation fails, right? Yes it fails. This is the point of this patch (should have said so). -- Manuel Giraud

[O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images

2011-04-19 Thread Manuel Giraud
--- lisp/org-html.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 5d53478..7a4564d 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -888,7 +888,8 @@ OPT-PLIST is the export options list." (if (string-match "^f

[O] [PATCH] * org-html.el (org-html-make-link): correct a bug in coderef link.

2011-04-12 Thread Manuel Giraud
--- lisp/org-html.el |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 58fbc05..5d53478 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -826,7 +826,8 @@ MAY-INLINE-P allows inlining it as an image." (not

Re: [O] Re: Test framework needed

2011-03-30 Thread Manuel Giraud
patch which > introduces new features and run after each patch. Which renders this framework far less automatic. I think that having a set of org files against which one could try any export and *see* that the results are almost correct would be enough. -- Manuel Giraud

Re: [O] [PATCH] Move org-export-html group definition to fix uninitialized customs.

2011-03-15 Thread Manuel Giraud
27;ve just mimic what is done for org-export-xml group and others. Anyway, if yours is ok discard mine. -- Manuel Giraud

[O] [PATCH] Move org-export-html group definition to fix uninitialized customs.

2011-03-15 Thread Manuel Giraud
--- lisp/org-exp.el |5 + lisp/org-html.el |5 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 34f101d..2cd4289 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -134,6 +134,11 @@ This is without condition, so even subtr

Re: [O] Re: [REGRESSION] org-html.el (targets)

2011-03-09 Thread Manuel Giraud
this one's ok. >From a9e692243b37be9947db9a7220ea561d261deaba Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 9 Mar 2011 16:03:43 +0100 Subject: [PATCH] Correct HTML export of dedicated target. * org-html.el (org-format-org-table-html): fix anchors in HTML export (thanks to ) (org-html-protect): fix a

Re: [O] [Bug] body-only Export Option Adds Extra html Tags.

2011-03-08 Thread Manuel Giraud
Manuel Giraud writes: > Ian Barton writes: > >> So it looks like SHA: >> >> da8dc7bba72613131f97a28f1c4a912b8d85d7cc Rewrite the handling of HTML >> preamble/postamble caused the problem. > > I'll have a look at that. Is the and with no opening a >

Re: [O] [Bug] body-only Export Option Adds Extra html Tags.

2011-03-08 Thread Manuel Giraud
Ian Barton writes: > So it looks like SHA: > > da8dc7bba72613131f97a28f1c4a912b8d85d7cc Rewrite the handling of HTML > preamble/postamble caused the problem. I'll have a look at that. Is the and with no opening a normal behaviour for the :body-only option ? -- Manuel Giraud

Re: [O] Re: [REGRESSION] org-html.el (targets)

2011-03-08 Thread Manuel Giraud
.0 Here's the 2 patch that solve this: >From cd423f908de55a2379c4476c0da8922968786e64 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Mon, 7 Mar 2011 17:12:46 +0100 Subject: [PATCH 1/2] org-html.el: bug that prevents some target to be rendered correctly. --- lisp/org-exp.el |2 +-

[O] Re: [Orgmode] [REGRESSION] org-html.el (targets)

2011-03-07 Thread Manuel Giraud
Jambunathan K writes: > I am attaching the bug.org file and the html exports as done by git > versions 048f32 (approx a month old) and 77c278 (very recent). Hi, Here's a patch that fixes this issue. >From cd423f908de55a2379c4476c0da8922968786e64 Mon Sep 17 00:00:00 2001 From:

Re: [Orgmode] Error when publishing to HTML

2011-02-18 Thread Manuel Giraud
:publishing-function org-publish-org-to-html :section-numbers nil :table-of-contents nil :auto-sitemap t :sitemap-title "Sitemap" :style "") ("css" :bas

[Orgmode] [PATCH] org-publish: sitemap doc

2011-02-14 Thread Manuel Giraud
Hi, Some documentation for new sitemap options. >From 3a846a674a33a5f2a0a2404b88331942e2012779 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Mon, 14 Feb 2011 11:34:04 +0100 Subject: [PATCH] org.texi: documentation of sitemap's entry options --- doc/org.texi | 15 ++

[Orgmode] Better sitemap formating

2011-02-11 Thread Manuel Giraud
r the documentation or plain useless? >From 766b0db7d0189d2edb0d8799c3424d62f9ac4e47 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Fri, 11 Feb 2011 15:32:58 +0100 Subject: [PATCH] org-publish.el: sitemap formating coherent with new preamble Adopt downcase for format directive to be coherent

Re: [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble

2011-02-10 Thread Manuel Giraud
d string as example here) + I was confused by /html/ in :html-preamble but since only html exports use it I guess that makes sense. -- Manuel Giraud ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to th

Re: [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble

2011-02-10 Thread Manuel Giraud
ve the title by default (but maybe I'm wrong : how is it done in others export formats?) -- Manuel Giraud ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] [Patch 2/2] org-publish

2011-02-09 Thread Manuel Giraud
>8--- commit 660ece15eca316075da6529560bf66565934b713 Author: Manuel Giraud Date: Tue Nov 23 16:20:15 2010 +0100 formated sitemap Modified lisp/org-publish.el diff --git a/lisp/org-publish.el b/lisp/org-publish.el index 47b80db..98e09f3 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -267,6

[Orgmode] [Patch 1/2] org-publish

2010-12-01 Thread Manuel Giraud
nless visiting + (kill-buffer (current-buffer))) + (if date + (let ((dt (org-time-string-to-time date))) + (+ (lsh (car dt) 16) (cadr dt))) + (when (file-exists-p file) + (org-publish-cache-ctime-of-src file))) + ;;; Interactive publishing functions -- Manuel Giraud ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] The way Org sections are exported to HTML

2010-12-01 Thread Manuel Giraud
Sébastien Vauban writes: > Shouldn't it make more sense that the H2 contents would *contain* all the > subsection texts (H3, H4, ...)? I agree that this make more sense and think it is required for someone who wants to use an org-mode customized css. Best regards, -- Ma

[Orgmode] [Patch 2/2] org-publish

2010-12-01 Thread Manuel Giraud
850,9 @@ system's modification time." (unless visiting (kill-buffer (current-buffer))) (if date - (let ((dt (org-time-string-to-time date))) - (+ (lsh (car dt) 16) (cadr dt))) + (org-time-string-to-time date) (when (file-exists-p file) - (org-publish-cache-ctime-of-src file))) + (nth 5 (file-attributes file ;;; Interactive publishing functions -- Manuel Giraud ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

[Orgmode] [PATCH] Sitemap publish with chronological ordering

2010-10-25 Thread Manuel Giraud
itemap-ignore-case) @@ -780,6 +793,11 @@ Default for SITEMAP-FILENAME is 'sitemap.org'." (org-publish-cache-set-file-property file :title title) title))) +(defun org-publish-find-date (file) + "Find the date of FILE in project." + ;; FIXME add a supp

Re: [Orgmode] Babel for blogging

2010-10-20 Thread Manuel Giraud
> :sitemap-alphabetically The site map is normally sorted >alphabetically. Set this explicitly to >nil to turn off sorting. Yes. But if you set this to nil it doesn't sort by time. I'll look if I can provide a patch. -- Manue

Re: [Orgmode] Babel for blogging

2010-10-18 Thread Manuel Giraud
og" :style "") ("css" :base-directory "~/org/" :base-extension "css" :publishing-directory "~/public_html/" :publishing-function org-publish-attachment) ("blog" :components ("

[Orgmode] Babel for blogging

2010-10-15 Thread Manuel Giraud
<- The content appears as a code snippet in the html export which is not exactly what I want. How can I do this? Am I misleaded because org-publish already provide this? -- Manuel Giraud ___ Emacs-orgmode mailing list Please use `Reply All'