Re: Sourcecode Indentation Using OpenOffice
Thank you Ross for your comment, I have a similar problem - using the plug in - with the forrest:source style, the plug in generally ignore the return carriage (not the Paragraph!). I have to retype it or to take a sample which works, but I don't know what's the problem. Can I do the same and ask for a file filename.xml to see the XDoc ? And where can I find this file ? Regards, Cyriaque, Ross Gardler a écrit : Jan Ortmann wrote: Hello, I'm writing documents for my project site using OpenOffice (1.1.4) and the provided Forrest styles from the OpenOffice template, e.g. Forrest:Source for sourcecode. However I couldn't get a proper identation in the generated HTML and PDFs. I've tried to indent the code with tabs and with spaces. There is also no box around the sourcecode. I'm using Forrest 0.6. Any ideas? The OOo support needs work. Can you help? Yes you can, by helping us diagnose the problem and, if you have the skills and time providing a patch once we've found the issue. First, lets diagnose the problem. If you request filename.xml rather than filename.html you will be shown the XDoc that Forrest generates from your document. Can you do that and fee what your Forrest:source content looks like. Post a snippet of the resulting code here if you can. Note, in 0.7 the OOo stuff is migrating out to a plugin. This will make it much easier to work with. Ross
Re: Sourcecode Indentation Using OpenOffice
Cyriaque Dupoirieux wrote: Thank you Ross for your comment, I have a similar problem - using the plug in - with the forrest:source style, the plug in generally ignore the return carriage (not the Paragraph!). I have to retype it or to take a sample which works, but I don't know what's the problem. Can I do the same and ask for a file filename.xml to see the XDoc ? Yes, you can do this with any document to see the intermediate processing of the file. And where can I find this file ? 'forrest run' http://localhost:/filename.xml Ross Regards, Cyriaque, Ross Gardler a écrit : Jan Ortmann wrote: Hello, I'm writing documents for my project site using OpenOffice (1.1.4) and the provided Forrest styles from the OpenOffice template, e.g. Forrest:Source for sourcecode. However I couldn't get a proper identation in the generated HTML and PDFs. I've tried to indent the code with tabs and with spaces. There is also no box around the sourcecode. I'm using Forrest 0.6. Any ideas? The OOo support needs work. Can you help? Yes you can, by helping us diagnose the problem and, if you have the skills and time providing a patch once we've found the issue. First, lets diagnose the problem. If you request filename.xml rather than filename.html you will be shown the XDoc that Forrest generates from your document. Can you do that and fee what your Forrest:source content looks like. Post a snippet of the resulting code here if you can. Note, in 0.7 the OOo stuff is migrating out to a plugin. This will make it much easier to work with. Ross
Re: Sourcecode Indentation Using OpenOffice
Jan Ortmann wrote: Hello, I'm writing documents for my project site using OpenOffice (1.1.4) and the provided Forrest styles from the OpenOffice template, e.g. Forrest:Source for sourcecode. However I couldn't get a proper identation in the generated HTML and PDFs. I've tried to indent the code with tabs and with spaces. There is also no box around the sourcecode. I'm using Forrest 0.6. Any ideas? The OOo support needs work. Can you help? Yes you can, by helping us diagnose the problem and, if you have the skills and time providing a patch once we've found the issue. First, lets diagnose the problem. If you request filename.xml rather than filename.html you will be shown the XDoc that Forrest generates from your document. Can you do that and fee what your Forrest:source content looks like. Post a snippet of the resulting code here if you can. Note, in 0.7 the OOo stuff is migrating out to a plugin. This will make it much easier to work with. Ross