Ask Your Question

jonathan.scholbach's profile - activity

2018-04-12 12:30:18 +0100 received badge  Student (source)
2018-04-12 11:23:13 +0100 asked a question Add hyperlinks to definitions automatically

Add hyperlinks to definitions automatically I am looking for a certain functionality. I don't know, if this is currently

2014-09-17 19:01:26 +0100 received badge  Famous Question (source)
2014-07-16 03:19:41 +0100 received badge  Notable Question (source)
2014-05-17 12:21:24 +0100 answered a question Reading from Writer using Uno (and Python)

I don't know how it works with Uno but for reading (and parsing) an odt-file with Python have a look at this: Extract and Parse ODF Files with Python

2014-05-17 10:09:33 +0100 received badge  Popular Question (source)
2014-05-16 21:27:18 +0100 answered a question copy / paste in "enter code here"

It seems your problem only occurs when the window is completely empty. When I have one single character (no whitespace) entered, the two marks occur after clicking the "preformatted text"-button and I can paste the code from the clipboard. If that doesn't work just type a single whitespace after clicking the button and paste your code in the resulting gap between the two marks. Or just enter the marks manually from your keyboard.

2014-05-16 20:09:06 +0100 received badge  Editor (source)
2014-05-16 20:06:56 +0100 commented answer Applying change of stylesheet doesn't work

I still don't see, why the problem depended upon the font, but somehow it works now.

2014-05-16 20:05:40 +0100 answered a question Applying change of stylesheet doesn't work

I found and solved the problem by inspecting the content.xml of the odt-file. (I did so by saving the document as "flat XML" and opening it in a text editor) The problematic quotations looked like this: <text:p text:style-name="Quotations"><text:span text:style-name="BLABLABLA">This quote didn't work</text:span>

The unproblematic quotations looked like this:

<text:p text:style-name="Quotations"><text:span text:style-name="BLABLABLA"><text:span text:style-name="T10">This quotation was rightly formatted.</text:span>

Seems to me as if the author of the original .docx-file defined a stylesheet "BLABLABLA" manually and LO somehow had problems resolving the incorrectly nested span-definitions. Deleting the text:span text:style-name="BLABLABLA"> was the solution.

2014-05-16 19:01:03 +0100 commented answer Applying change of stylesheet doesn't work

Linux Libertine G is not installed with my LO version. At first I thought that it might be a problem of the installation of Garamond, too. But the fact that it doesn't work with Liberation Mono which is preinstalled by default in LO is a counterindication to that.

2014-05-16 18:16:55 +0100 commented answer Applying change of stylesheet doesn't work

Thank you Peter for your quick answer. I updated LO to Version 4.2.4.2 and selected Auto-Update (which was not selected before). The problem is still the same.

Another strange observation I made in the meanwhile: When I change the font-style to italic (for example), this is applied to the problematic quotations as well, only change of the font to Garamond doesn't work. Whether the change of the font works depends on the font [!]. For example changing to Liberation Mono doesn't work, changing to Bitstream Charter does work.

2014-05-16 18:16:04 +0100 answered a question Applying change of stylesheet doesn't work

Thank you Peter for your quick answer. I updated LO to Version 4.2.4.2 and selected Auto-Update (which was not selected before). The problem is still the same.

Another strange observation I made in the meanwhile: When I change the font-style to italic (for example), this is applied to the problematic quotations as well, only change of the font to Garamond doesn't work. Whether the change of the font works depends on the font [!]. For example changing to Liberation Mono doesn't work, changing to Bitstream Charter does work.

2014-05-16 17:11:17 +0100 asked a question Applying change of stylesheet doesn't work

I use ubuntu 13.10 and Libre Office 3.5.7.2 both in english.

I have a word-document (.docx) which I want to edit in Libre Office Writer. The document comes with some stylesheets: I have "default" text with some quotes in between which are marked as "quotation". When I open the document in LO and save it to odt, the quotations are still marked as "quotations", the default text is still marked as "default", allright.

Now I want to change the font of the document to garamond. So I downloaded a garamond font and installed it, and I'm able to use it in LO. When I change the font of the "default" stylesheet everything works as expected. But when I want to change the style sheet of "quotation" it doesn't work for each instance of "quotation" - some, but not every quotation is in Garamond, some stay the original font. Strangely the displayed font name (in thre dropdown menu between font size and the style) is "Garamond-Normal" (as defined in the style sheet of "quotation") but the text is still formatted in the original font. Using "Clear Direct Formatting" shows no result. When I change the stylesheet-font to a different font (e.g. "Bitstream Charter"), the stylesheet works propperly and applies the change to every instance of "quotation". I have no idea how to solve this. Can you please help me?