Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
From: Nicolas Goaziou <m...@nicolasgoaziou.fr> Subject: Re: Bug: the code(convert the file to objc-mode) cause orgmode export to html file error Date: Tue, 26 Dec 2017 14:35:18 +0100 > Your function doesn't handle buffers not associated to a file. You may > want to try > &g

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread Nicolas Goaziou
陈泼杨 writes: > > (add-to-list 'magic-mode-alist > `(,(lambda () > (and (equal (file-name-extension buffer-file-name) "h") >

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
From: Nicolas Goaziou <m...@nicolasgoaziou.fr> Subject: Re: Bug: the code(convert the file to objc-mode) cause orgmode export to html file error Date: Tue, 26 Dec 2017 12:28:47 +0100 > Hello, > > =E9=99=88=E6=B3=BC=E6=9D=A8 <chenpoy...@163.com> writes: > >> .h fi

Re: [O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread Nicolas Goaziou
Hello, 陈泼杨 writes: > .h file use c/c++ mode or objc-mode base on it's content, so there is > emacswiki solution there: > https://www.emacswiki.org/emacs/ObjectiveCMode, so i put the the code in my > configuration: > > ;; header .h add to objc-mode, this cause org unable to

[O] Bug: the code(convert the file to objc-mode) cause orgmode export to html file error

2017-12-26 Thread 陈泼杨
.h file use c/c++ mode or objc-mode base on it's content, so there is emacswiki solution there: https://www.emacswiki.org/emacs/ObjectiveCMode, so i put the the code in my configuration: ;; header .h add to objc-mode, this cause org unable to export to html file (add-to-list 'magic-mode-alist

[Orgmode] Export to html

2010-05-27 Thread Thomas S. Dye
Aloha all, On the bus this morning I was able to find out a bit more about problems with html export. Using Bernt's minimal.emacs and exporting to html with C-c C-e H, git bisect says: 459d99c44c7df4cd09d82fa54c53e5d5eec47a4e is the first bad commit commit

Re: [Orgmode] Export to html

2010-05-27 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: Aloha all, On the bus this morning I was able to find out a bit more about problems with html export. Using Bernt's minimal.emacs and exporting to html with C-c C-e H, git bisect says: 459d99c44c7df4cd09d82fa54c53e5d5eec47a4e is the first bad commit

Re: [Orgmode] Export to html

2010-05-27 Thread Thomas S. Dye
Thanks Nick, Sebastian Rose thinks this is fixed now. I haven't had time to pull the latest org-mode, but hope to do so soon. Apologies if my adventure with git bisect led you into dicey territory. As always, I appreciate the benefit of your experience. All the best, Tom On May 27, 2010,

Re: [Orgmode] Export to html

2010-05-27 Thread Sebastian Rose
Nick Dokos nicholas.do...@hp.com writes: Thomas S. Dye t...@tsdye.com wrote: Aloha all, On the bus this morning I was able to find out a bit more about problems with html export. Using Bernt's minimal.emacs and exporting to html with C-c C-e H, git bisect says:

Re: [Orgmode] Export to html

2010-05-27 Thread Thomas S. Dye
Aloha Sebastian, Yes, the links are exporting correctly now. Thanks, Tom On May 27, 2010, at 12:35 PM, Sebastian Rose wrote: Nick Dokos nicholas.do...@hp.com writes: Thomas S. Dye t...@tsdye.com wrote: Aloha all, On the bus this morning I was able to find out a bit more about problems

[Orgmode] Export to HTML open in browser error

2010-02-02 Thread Russell Adams
Whitespace in the filename isn't being escaped when launching the external browser. Thanks! -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/

Re: [Orgmode] Export to HTML open in browser error

2010-02-02 Thread Carsten Dominik
Hi Russel, I cannot reproduce this. I open a file with emacs test/xx\ yy.org and C-c C-e b opens the corresponding HTML file in the correctly in Firefox. - Carsten On Feb 3, 2010, at 12:10 AM, Russell Adams wrote: Whitespace in the filename isn't being escaped when launching the

[Orgmode] export table html centered

2009-08-15 Thread henry atting
That is what I am searching for: Is there a markup rule that puts org tables centered on the resulting page when exported as html. Seems that #+BEGIN_CENTER – #+END_CENTER does not do this, marking a table like that solely leads to an error message: progn: Args out of range: 84, 906 henry

Re: [Orgmode] export table html centered

2009-08-15 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: ... But if you don't mind using deprecated attributes, and assuming you want *every* table centered, then customizing org-export-table-header-tags ... Correction: that should be org-export-html-table-tag Sorry about that - the BIND

Re: [Orgmode] export table html centered

2009-08-15 Thread Carsten Dominik
Hi Henry, Nick, another way would be this: #+STYLE: styletable.center {margin-left:auto; margin- right:auto;}/style * A centered table #+ATTR_HTML: class=center | a | b | c | |---+---+---| | 1 | 2 | 3 | * An uncentered table | a | b | c | |---+---+---|

Re: [Orgmode] export to html: timestamp-kwd

2009-04-14 Thread Carsten Dominik
On Apr 14, 2009, at 1:12 AM, Eraldo Helal wrote: Salve Orgers! When exporting to html my auto-timestamp looks like this: span class=timestamp-kwdCLOSED: /span span class=timestamp2009-04-14 Tue 00:52/spanbr I would rather like to have it like this: span class=timestamp-kwdCLOSED: span

[Orgmode] export to html: timestamp-kwd

2009-04-13 Thread Eraldo Helal
Salve Orgers! When exporting to html my auto-timestamp looks like this: span class=timestamp-kwdCLOSED: /span span class=timestamp2009-04-14 Tue 00:52/spanbr I would rather like to have it like this: span class=timestamp-kwdCLOSED: span class=timestamp2009-04-14 Tue 00:52/span/spanbr In

Re: [Orgmode] Export as HTML

2009-03-30 Thread Carsten Dominik
On Mar 30, 2009, at 10:55 AM, Sébastien Vauban wrote: Hello, Trying to use free CSS templates for some Web site, I have layout problems with the current export to HTML, as a first `div id=content' is hard-coded into the resulting Web page. Could you remove that line, and its closing tag

Re: [Orgmode] Export as HTML

2009-03-30 Thread roc lee
in org-exp.el, line 3858: (insert div id=\table-of-contents\\n) 2009/3/30 Sébastien Vauban zthjwsqqa...@spammotel.com Hello, Trying to use free CSS templates for some Web site, I have layout problems with the current export to HTML, as a first `div id=content' is hard-coded into the

Re: [Orgmode] Export as HTML

2009-03-30 Thread roc lee
2009/3/30 roc lee roc.lee...@gmail.com in org-exp.el, line 3858: (insert div id=\table-of-contents\\n) 2009/3/30 Sébastien Vauban zthjwsqqa...@spammotel.com Hello, Trying to use free CSS templates for some Web site, I have layout problems with the current export to HTML, as a first

[Orgmode] Export to html and open bug

2008-11-17 Thread Russell Adams
Found a small bug. The new export and view in browser function fails if there are spaces in the filename. Org-mode version 6.07b Thanks! -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3

Re: [Orgmode] Export to html and open bug

2008-11-17 Thread Russell Adams
On Tue, Nov 18, 2008 at 01:19:01AM +0100, Richard Riley wrote: Couldn't resist trying this in 6.12 (not that I would ever have spaces in an html file name) It seems to work ok in 6.12trans. Then I'll upgrade after I complete my current project. Thanks!

Re: [Orgmode] export to html and relative links:

2008-06-24 Thread Carsten Dominik
On Apr 13, 2008, at 8:48 PM, T. V. Raman wrote: two suggestions: 1) accept paths like ./foo.html as local links. This is now allowed. 2) Augment C-c C-l to react to file: by providing filename completion relative to the working directory. This is hard and therefore not yet

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread T. V. Raman
I've not tried http:foo.html -- but I suggest doing that to author a relative URL is a bad idea. I tried ./foo.html and that didn't work either. One compromise would be to get ./foo.html to link to a relative url, while foo.html continues to link to a local anchor Carsten == Carsten Dominik

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread Carsten Dominik
On Apr 13, 2008, at 5:33 PM, T. V. Raman wrote: I've not tried http:foo.html -- but I suggest doing that to author a relative URL is a bad idea. Can you explain why you think that this is a bad idea? Educate me! What is wrong with writing http:foo.html ?? - Carsten I tried

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread T. V. Raman
I think writing http:foo.html is a bad idea because typing that string in other contexts is sort of meaningless as a URL. Until now, everything one types in org-mode sort of has meaning elsewhere. If you want it to look like a url in this case too then I'd suggest file:foo.html -- rther than

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread Carsten Dominik
H, this is *such* a good idea, that I will implement this retroactively into all versions since ... 2.0 or so? Abracadabra! Done. In fact, it has been working just so for a very long time. file:foo.html - href=foo.html file:foo.org- href=foo.html The second line assumes that the

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread T. V. Raman
two suggestions: 1) accept paths like ./foo.html as local links. 2) Augment C-c C-l to react to file: by providing filename completion relative to the working directory. The emacs binding to the w3m browser does this if you type file: in the minibuffer when prompted for a URL. Carsten ==

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread Carsten Dominik
Hi Raman, On Apr 13, 2008, at 8:48 PM, T. V. Raman wrote: two suggestions: 1) accept paths like ./foo.html as local links. I will look into this. The problem is the system dependence of file names, so I am not sure what a good solution would be that would work on Windows as well as on

Re: [Orgmode] export to html and relative links:

2008-04-13 Thread Carsten Dominik
On Apr 13, 2008, at 10:32 PM, T. V. Raman wrote: file:// urls are already designed to be platform independent. So an org file should never carry in it a path like a\\b\\c.html -- we should always use a/b/c.html since that's the syntax used by relative URLs. Yes, but while an Org file is

[Orgmode] export to html and relative links:

2008-04-12 Thread T. V. Raman
Hi, org-export turns links of the form [[foo][link to relative url foo]] ends up creating links of the form a href=#foo.../a this means that it becomes impossible to write hyperlinks that are relative URLs. -- Best Regards, --raman Email: [EMAIL PROTECTED] WWW:

Re: [Orgmode] export to html and relative links:

2008-04-12 Thread Carsten Dominik
On Apr 13, 2008, at 6:49 AM, T. V. Raman wrote: Hi, org-export turns links of the form [[foo][link to relative url foo]] ends up creating links of the form a href=#foo.../a this means that it becomes impossible to write hyperlinks that are relative URLs. Hi Raman, the url goes into the

Re: [Orgmode] export to html bug?

2007-08-30 Thread Carsten Dominik
Fixed (I think), thanks. - Carsten On Aug 25, 2007, at 11:14, Rainer Stengele wrote: Carsten Dominik schrieb: Is this a new bug, did it work before? have you changed your config, for example using org-agenda-skip-function? - Carsten On Aug 25, 2007, at 0:39, Rainer Stengele wrote: Carsten

[Orgmode] export to html bug?

2007-08-25 Thread Rainer Stengele
Carsten Dominik schrieb: Is this a new bug, did it work before? have you changed your config, for example using org-agenda-skip-function? - Carsten On Aug 25, 2007, at 0:39, Rainer Stengele wrote: Carsten Dominik schrieb: Version 5.06b fixes the bugs mentioned here in the last few hours.

Re: [Orgmode] export to html bug?

2007-08-25 Thread Carsten Dominik
That must have been broken ever since properties were introduced. This happen when a property drawer is folded, but the first line is visible when you call an export command for visible portion. Will be fixed in the next release, hopefully. - Carsten On Aug 25, 2007, at 11:14, Rainer Stengele

[Orgmode] export to html

2007-06-16 Thread Cecil Westerhof
I understood that a table can be exported to HTML. I can not find how to do this. How do I do this? -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] export to html

2007-06-16 Thread Carsten Dominik
On Jun 16, 2007, at 8:14, Cecil Westerhof wrote: I understood that a table can be exported to HTML. I can not find how to do this. How do I do this? http://staff.science.uva.nl/~dominik/Tools/org/org.html#Exporting - Carsten ___ Emacs-orgmode