emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Three questions about publishing webpages
@ 2009-11-10  6:05 Water Lin
  2009-11-10  9:23 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Water Lin @ 2009-11-10  6:05 UTC (permalink / raw)
  To: emacs-orgmode


Here comes three more questions about publishing webpages about org
mode:

1. After publishing webpages with command M-x org-publish-current-file,
the org file will be closed by Emacs. I always use M-x
org-publish-current-file to check if the output is good, so I still want
to edit the org file. What can I do if I don't want that Emacs closes my
org file after publishing webpages with M-x org-publish-current-file.

2. I have some characters other than English in my org files. But org
publishes org file to webpages as coding ISO-8859-1. So Firefox can't
show the characters correctly. How can I let org publish files as UTF-8?

3. I set #+link_home: and #+link_up: , but nothing happened when I
publish the org file to webpages. There is no up or home link on my
pages. Is it necessary to introduce links in my org file? Or what else I
need to set in org?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Three questions about publishing webpages
  2009-11-10  6:05 Three questions about publishing webpages Water Lin
@ 2009-11-10  9:23 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-10  9:23 UTC (permalink / raw)
  To: Water Lin; +Cc: emacs-orgmode


On Nov 10, 2009, at 7:05 AM, Water Lin wrote:

>
> Here comes three more questions about publishing webpages about org
> mode:
>
> 1. After publishing webpages with command M-x org-publish-current- 
> file,
> the org file will be closed by Emacs. I always use M-x
> org-publish-current-file to check if the output is good, so I still  
> want
> to edit the org file. What can I do if I don't want that Emacs  
> closes my
> org file after publishing webpages with M-x org-publish-current-file.

I cannot reproduce this.  Org tries to remove buffer that are visited  
just for publishing, but it tries to keep those which are already  
present.

>
> 2. I have some characters other than English in my org files. But org
> publishes org file to webpages as coding ISO-8859-1. So Firefox can't
> show the characters correctly. How can I let org publish files as  
> UTF-8?

Hmm.

Have you set org-export-html-coding-system?  This will overrule
the automatic charset setting which is derived from the value
of `buffer-file-coding-system' in your Emacs buffer.

>
> 3. I set #+link_home: and #+link_up: , but nothing happened when I
> publish the org file to webpages. There is no up or home link on my
> pages. Is it necessary to introduce links in my org file? Or what  
> else I
> need to set in org?

Nothing.  When I do set them, they show up in the upper right
corner of the page.

Do you have a recent version of Org-mode???

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-10  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10  6:05 Three questions about publishing webpages Water Lin
2009-11-10  9:23 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).