Tabs in ebooks
Tabs in ebooks
Hello, sorry if I ask, but when exporting to ebook documents that have tabs instead of first line indents, tabs aren't saved. Is it the normal behaviour?
Thanks, I didn't think about that.
Then, I think there is a 'bug', at least I think it is.
If I have paragraph style that shouldn't alter bold or italics, like in picture:
that is, they have the blue square, nor checked or unchecked. If I apply this style to a paragraph that has 2 or more different styles (e.g. bold and italic in the same sentence), nothing changes, as expected, but if the paragraph has only one style in it (e.g. all italic or bold) and I apply the style, formatting is removed and it turns to normal again.
Then, I think there is a 'bug', at least I think it is.
If I have paragraph style that shouldn't alter bold or italics, like in picture:
that is, they have the blue square, nor checked or unchecked. If I apply this style to a paragraph that has 2 or more different styles (e.g. bold and italic in the same sentence), nothing changes, as expected, but if the paragraph has only one style in it (e.g. all italic or bold) and I apply the style, formatting is removed and it turns to normal again.
Styles in MS Word documents work differently than, for example, CSS styles. What's more, there are differences regarding styles between Atlantis Word Processor and MS Word.
An undefined (nor checked or unchecked) attribute within a style definition in Atlantis does not mean that this attribute will not be altered when you apply this style to a paragraph in your document. An undefined attribute means that the actual attribute value will be retrieved from the base style of this style.
Any paragraph style in Atlantis always has a complete set of formatting attributes. When a given attribute is "undefined" within the style's definition and within the definitions of all the "base styles" ("ancestor styles") of this style, the "missing" attribute gets retrieved from the built-in "default format" of Atlantis.
So when you apply a style to a paragraph in Atlantis, a complete set of formatting attributes gets applied to the paragraph. But there is one exception to this rule: when a given attribute is not explicitly defined within the style or within all of its "base styles" (if any), Atlantis does not apply this "undefined" attribute to the paragraph if this paragraph has fragments formatted with different values of this attribute. For example, if the "bold" attribute is "undefined" within the "Normal" style (this style normally does not have a base style), and a document paragraph is entirely bold or non-bold, and you apply the "Normal" style to this paragraph, Atlantis will make this paragraph non-bold. It is because the "bold" attribute is off within the "default format" of Atlantis. But if a document paragraph is non-bold but has a fragment formatted with bold:
non-bold paragraph
applying the "Normal" style to this paragraph would not alter the "bold" attribute for this paragraph because the "bold" attribute is not defined within the "Normal" style.
An undefined (nor checked or unchecked) attribute within a style definition in Atlantis does not mean that this attribute will not be altered when you apply this style to a paragraph in your document. An undefined attribute means that the actual attribute value will be retrieved from the base style of this style.
Any paragraph style in Atlantis always has a complete set of formatting attributes. When a given attribute is "undefined" within the style's definition and within the definitions of all the "base styles" ("ancestor styles") of this style, the "missing" attribute gets retrieved from the built-in "default format" of Atlantis.
So when you apply a style to a paragraph in Atlantis, a complete set of formatting attributes gets applied to the paragraph. But there is one exception to this rule: when a given attribute is not explicitly defined within the style or within all of its "base styles" (if any), Atlantis does not apply this "undefined" attribute to the paragraph if this paragraph has fragments formatted with different values of this attribute. For example, if the "bold" attribute is "undefined" within the "Normal" style (this style normally does not have a base style), and a document paragraph is entirely bold or non-bold, and you apply the "Normal" style to this paragraph, Atlantis will make this paragraph non-bold. It is because the "bold" attribute is off within the "default format" of Atlantis. But if a document paragraph is non-bold but has a fragment formatted with bold:
non-bold paragraph
applying the "Normal" style to this paragraph would not alter the "bold" attribute for this paragraph because the "bold" attribute is not defined within the "Normal" style.
Understood. This happens to me even if the paragraph is based on 'none', so I assume that it gets formatting informations from this 'default format'. Wouldn't it be possible for this default format not to alter the formatting, as bold/italic were 'blue square' and not turned off?admin wrote:It is because the "bold" attribute is off within the "default format" of Atlantis.
Sorry, but why do you need two paragraphs associated with the same style, look differently (one paragraph – entirely bold, and another paragraph – entirely non-bold)? Paragraphs belonging to the same paragraph style are supposed to look identically. If you need "bold normal" paragraphs, why not create the "Normal (bold)" style, and associate it with the "normal paragraphs" which are supposed to be bold?