[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

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

2011-10-25 Thread Marco Cevoli
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

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

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

2011-10-25 Thread Marco Cevoli
Hi Utku, I'm not an expert, but these are a few considerations: Zim keeps tabs and multiple spaces when creating the HTML. If you open an HTML file in a text editor, you'll find them there.- *However*, both multiple spaces and multiple tabs are rendered as a single space by your browser. Hence yo

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 wrote: > 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; } __

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

2011-10-25 Thread Utku Suleymanoglu
Great! Thank you all very much, I think this is it. Even though line spacing looks a bit bigger than it used to, this is much preferable because it renders the tables properly. I think I will have to stick with this method instead of creating tables which are html safe, because stats software I use