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
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
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
[[ X-]\\]\\)[ \t]+\\)?"
+ "[ \t]*\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)?"
"\\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)?"
"\\(.*\\)") line)
(let* ((checkbox (match-string 3 line))
--
1.7.5
--
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
rst title
--8<---cut here---end--->8---
Best regards,
--
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,
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,
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
Manuel Giraud writes:
> But AFAIU, with org-export-prefer-native-exporter-for-tables to nil,
> simple table stays in HTML, no?
simple
--
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
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
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
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
s some convention for indenting org-mode code.
--
Manuel Giraud
quot; can't
fix this).
Best,
--
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
(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
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
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
Jambunathan K writes:
> Without alt validation fails, right?
Yes it fails. This is the point of this patch (should have said so).
--
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
---
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
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
27;ve just mimic what is done
for org-export-xml group and others. Anyway, if yours is ok discard
mine.
--
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
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
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
>
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
.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 +-
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:
:publishing-function org-publish-org-to-html
:section-numbers nil
:table-of-contents nil
:auto-sitemap t
:sitemap-title "Sitemap"
:style "")
("css"
:bas
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 ++
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
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
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
>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
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
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
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
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
> :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
og"
:style "")
("css"
:base-directory "~/org/"
:base-extension "css"
:publishing-directory "~/public_html/"
:publishing-function org-publish-attachment)
("blog" :components ("
<-
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'
44 matches
Mail list logo