Re: [Orgmode] Re: Export as HTML

2009-03-30 Thread roc lee
2009/3/30 Sébastien Vauban 
>
> Hi Carsten,
>
> Carsten Dominik wrote:
> > 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 `' is
> >> hard-coded
> >> into the resulting Web page.
> >>
> >> Could you remove that line, and its closing tag from `(insert
> >> "\n\n\n\n"))' (in function `org-export-as-html') so 
> >> that
> >> we have a completely naked BODY, that the user can fill at its own freedom
> >> via
> >> the preamble/postamble?
> >
> > Why and how is this  limiting what you can do?
>
> I took a free CSS template at:
>
>    http://www.free-css.com/free-css-templates/page2/minisite-pro.php
>
> If I want to use it without modifying it, I have to follow such a construct
> (taken from their live demo):
>
> --8<---cut here---start->8---
> 
> 
>  
>
>    Free CSS
>    Free CSS Templates, CSS Layouts & More!
>    
>      http://www.free-css.com/"; title="Free CSS">Home
>      Contact 
> Us
>      Advertise
>
>       title="Recommend Free CSS">Recommend Us
>      Submit
>      Search
>    
>  
>  
>     type="text/javascript">
>
>  
>  
>    
> You Are Here
> »
> Free CSS
> »
> Free CSS 
> Templates
> »
> CSS Templates Page 2
>
> »
>  title="Minisite Pro Template">Minisite Pro
> 
>  
> 
> --8<---cut here---end--->8---
>
> Having  directly under the BODY tag messes up everything.
>
>
> > It was recently introduce precisely to aid CSS formatting
> > of the entire body.
>
> For me, it seems easier to have a completely naked body, by default, and let
> the user decide, follow or copy a guideline to implement the nice CSS he wants
> to.
>
> Currently, I had to modify the source code to get the same effect as the one I
> want.

This is the basic structure for your intended html files :

  
 
 
   
 
  


And "content" div has its special format in your style sheet.
When a unexpected "content" div comes in, it messes up everything:

  

   
   
 
   

  


I agree with you. To give user a nacked body should be better.
Or use a long, no-conflict name is also OK :)

BR

> > Sebasian (Rose) and Richard, you helped making getting
> > the outer div into place, would you care to comment?
>
> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
> ___
> 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


___
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


Re: [Orgmode] Export as HTML

2009-03-30 Thread roc lee
2009/3/30 roc lee 

> in org-exp.el, line 3858:
> (insert "\n")


>
> 2009/3/30 Sébastien Vauban 
>
> Hello,
>>
>> Trying to use free CSS templates for some Web site, I have layout problems
>> with the current export to HTML, as a first `' is
>> hard-coded
>> into the resulting Web page.
>>
>> Could you remove that line, and its closing tag from `(insert
>> "\n\n\n\n"))' (in function `org-export-as-html') so
>> that
>> we have a completely naked BODY, that the user can fill at its own freedom
>> via
>> the preamble/postamble?
>
>
Sorry for not throughly understanding your question.
In first sight, I think you mean the "table-of-contents".

There is no such a div on my exported files. The version I am using is
6.17a.


>>
>> Thanks,
>>  Seb
>>
>> --
>> Sébastien Vauban
>>
>>
>> ___
>> 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
>>
>
>
___
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


Re: [Orgmode] Export as HTML

2009-03-30 Thread roc lee
in org-exp.el, line 3858:
(insert "\n")

2009/3/30 Sébastien Vauban 

> Hello,
>
> Trying to use free CSS templates for some Web site, I have layout problems
> with the current export to HTML, as a first `' is
> hard-coded
> into the resulting Web page.
>
> Could you remove that line, and its closing tag from `(insert
> "\n\n\n\n"))' (in function `org-export-as-html') so
> that
> we have a completely naked BODY, that the user can fill at its own freedom
> via
> the preamble/postamble?
>
> Thanks,
>  Seb
>
> --
> Sébastien Vauban
>
>
> ___
> 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
>
___
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


[Orgmode] cannot properly export function name with underline to HTML

2009-03-25 Thread roc lee
I have function names in both a text block and a table cell, for example:
function_name_with_underline()

When I publish it in HTML format, the underline was interpreted incorrectly:

functionnamewithunderline


"=function_name_with_underline()=" works, but to warp all function
names is boring.

Is there any solution to solve it?


Many thanks.


___
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