[Zim-wiki] change the default font html export

2011-10-25 Thread sorrowsbitch
Hi all,

I am new to the Zim and was hoping to get some help on how to change the
default font of the exported html to monospace. I know I will probably
have to add to the CSS style section of the default.html but I know
nothing about CSS/HTML so I was hoping to get some help from you guys.

thanks
-- 
This message was sent from Launchpad by
sorrowsbitch (https://launchpad.net/~utkusu)
using the Contact this team link on the Zim team page
(https://launchpad.net/~zim-wiki).
For more information see
https://help.launchpad.net/YourAccount/ContactingPeople

___
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 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