Re: [Zim-wiki] change the default font html export

2011-10-25 Thread Utku Suleymanoglu
This does it, thanks. But it turns out my problem is slightly different than
I first understood. Maybe you can help me with that, too.

I copy plain text tables from statistical software to make notes in zim.
these table use monospace fonts and have tabs and spaces in them. in zim, as
long as I use a monospace font or verbatim, they look as they are supposed
to. But when I export them to html, even if   the font is the same I use in
zim, they don't display properly. The spaces between them vanish. Do you
have any idea how to correct this? my guess is it is about how export
handles tabs, but it is just a guess.

thanks

On Tue, Oct 25, 2011 at 11:13 AM, Marco Cevoli marco.cev...@gmail.comwrote:

 Quick and dirty way:

 add

 p{font-family: monospace}

 before
 a {
text-decoration: none;
 }

 at the beginning of the HTML code.

 If you want to link an external css (so you don't have to modify HTML
 one by one), you'd better use a template and select this in the export
 wizard.

 HIH

 Marco Cevoli
 Qabiria
 --
 http://www.qabiria.com




-- 
utku
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] change the default font html export

2011-10-25 Thread Jaap Karssenberg
On Tue, Oct 25, 2011 at 7:57 PM, Marco Cevoli marco.cev...@gmail.comwrote:

 You should reformat your content in an HTML-safe way. How, it's hard
 to say without checking the original files.



You are correct for the cause - but even for this CSS can help.

Try

p {
font-family: monospace;
white-space: pre;
}
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp