From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry.Liu Subject: Re: Re: How to remove the automatically generated css codes from exported HTML file? Date: Thu, 23 Oct 2008 17:07:25 +0530 Message-ID: References: <3B195CE1-EF6B-43CC-A077-8C24EEEBCF0A@uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0726624908==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsyVP-0004bE-BO for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 07:37:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsyVO-0004an-2X for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 07:37:30 -0400 Received: from [199.232.76.173] (port=33503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsyVN-0004ai-Sm for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 07:37:29 -0400 Received: from el-out-1112.google.com ([209.85.162.180]:13286) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsyVN-0001S3-3i for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 07:37:29 -0400 Received: by el-out-1112.google.com with SMTP id n30so80312elf.12 for ; Thu, 23 Oct 2008 04:37:27 -0700 (PDT) In-Reply-To: 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: Leo Cc: emacs-orgmode@gnu.org --===============0726624908== Content-Type: multipart/alternative; boundary="----=_Part_29712_25366398.1224761845773" ------=_Part_29712_25366398.1224761845773 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I think template is a great idea, and I think, if we can add separate or unique id to each separate part of the exported html file, then the display and structure of that html file can totally be controlled by the css file, so maybe there are two choice 1. Assign unique id to more elements in the exported html file, currently, some elements has no id, only surrond by

and

so actually user can not do a special display control for this part, by add a unique id, user can use css to control the display of more elements. 2. Add the support of template. What do you think? On Thu, Oct 23, 2008 at 4:18 PM, Leo wrote: > On 2008-10-23 10:45 +0100, Carsten Dominik wrote: > > If you must, > > > > (setq org-export-html-style-default "") > > > > But I would recommend to simply overwrite everything you need with > > your own style. > > > > - Carsten > > Maybe the export facilities can benefit from using some kind of template > engine, allowing people to design templates for different export > formats. And then we can add a per file setting to choose which template > to use, or even by setting a directory-local variable for all files in a > 'project'. > > ,----[ Directory-local variables ] > | ** Directory-local variables can now be defined. > | By default, Emacs looks in .dir-settings.el for directory-local > | variables. For more information, see `set-directory-project' and > | `define-project-bindings'. > `---- > > Here 'template' I mean file template like those in openoffice. > > Cheers, > -- > .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. > > Use the better alternative -- http://www.openoffice.org/ > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- -------------------------------------- Larry.Liu Mobile: 13911483964 --------------------------------------- ------=_Part_29712_25366398.1224761845773 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I think template is a great idea, and I think, if we can add separate or unique id to each separate part of the exported html file, then the display and structure of that html file can totally be controlled by the css file, so maybe there are two choice

1.  Assign unique id to more elements in the exported html file, currently, some elements has no id, only surrond by <p> and </p> so actually user can not do a special display control for this part,  by add a unique id, user can use css to control the display of more elements.

2. Add the support of template.

What do you think?

On Thu, Oct 23, 2008 at 4:18 PM, Leo <sdl.web@gmail.com> wrote:
On 2008-10-23 10:45 +0100, Carsten Dominik wrote:
> If you must,
>
>    (setq org-export-html-style-default "")
>
> But I would recommend to simply overwrite everything you need with
> your own style.
>
> - Carsten

Maybe the export facilities can benefit from using some kind of template
engine, allowing people to design templates for different export
formats. And then we can add a per file setting to choose which template
to use, or even by setting a directory-local variable for all files in a
'project'.

,----[ Directory-local variables ]
| ** Directory-local variables can now be defined.
| By default, Emacs looks in .dir-settings.el for directory-local
| variables.  For more information, see `set-directory-project' and
| `define-project-bindings'.
`----

Here 'template' I mean file template like those in openoffice.

Cheers,
--
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the better alternative -- http://www.openoffice.org/



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
--------------------------------------
Larry.Liu                        
Mobile: 13911483964    
---------------------------------------
------=_Part_29712_25366398.1224761845773-- --===============0726624908== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0726624908==--