From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Three questions about publishing webpages Date: Tue, 10 Nov 2009 10:23:10 +0100 Message-ID: <719D36E5-2883-467B-A27F-B77B1092E82E@gmail.com> References: <83bpjax6c2.fsf@ymail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7mwa-00052q-UU for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 04:23:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7mwW-00052M-97 for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 04:23:20 -0500 Received: from [199.232.76.173] (port=50165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7mwW-00052J-11 for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 04:23:16 -0500 Received: from pony.ic.uva.nl ([145.18.40.181]:55092) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7mwV-0003T6-Dv for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 04:23:15 -0500 In-Reply-To: <83bpjax6c2.fsf@ymail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Water Lin Cc: emacs-orgmode@gnu.org 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