concepts
This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
concepts | Michael Grosberg | 22 Feb 20:31 |
concepts | Julien Hardelin | 23 Feb 07:34 |
concepts | Kolbjørn Stuestøl | 23 Feb 11:11 |
concepts | Ulf-D. Ehlert | 23 Feb 12:32 |
concepts | "Kolbj | 23 Feb 15:08 |
concepts | Bill Skaggs | 24 Feb 17:20 |
concepts | Michael Grosberg | 25 Feb 15:45 |
concepts | Julien Hardelin | 26 Feb 08:39 |
concepts | Ulf-D. Ehlert | 23 Feb 12:32 |
concepts
So, in the last couple of weeks I tried to look up material about Docbook.
I'm still not sure about how you people edit the help files, and I'd
obviously prefer a more wysiwg way of doing things, but for now I'll settle
for XML-aware editors. I downloaded the repository to my Linux volume but
I'm more comfortable working on Windows so I'm using Notepad++ for editing
and XMLnotepad to validate the XML.
Docbook seems straightforward enough but I do have some questions: what is
the significance of adding "acronym" and "quote" tags? what are they for?
they seem to have no influence on the final output.
Anyway here is my first change: I took the concepts page and added a much-needed "Resolution" section. I know from experience this is a term that many beginners find difficult to understand, especially when it comes to understanding the resolution property of files coming from digital cameras. I also removed the comparison of a multi-layer image to a book: it is a confusing metaphor as it is nothing like a book in reality, so I changed it to a stack of transparent sheets of paper.
Lastly, how important is the way these files are indented? I always use tabs, and any editor I'm familiar with uses tabs to indent lines, while these files seem to use spaces. Is is important to indent the XML in this way?
regards
Michael
concepts
Hi Michael,
OK for substance.
Some remarks about form:
> Lastly, how important is the way these files are indented? I always use > tabs, and any editor I'm familiar with uses tabs to indent lines, while > these files seem to use spaces. Is is important to indent the XML in > this way?
- TAB are set to 2 spaces.
- Lines are less than 80 characters and spaces.
- When explaining a term, please add an
Resolution
This will automatcally appear in the "index" chapter: last line in
the html summary.
- I noticed 2 typos: "reslution" and "noticable". You probably have a spelling command in your editor.
what
is the significance of adding "acronym" and "quote" tags? what are they for? they seem to have no influence on the final output.
For "acronym>, I don't know. But "quote" is important for internationalization. With Hello, I automatically get the French quotes in French html (« Hello ») with indivisible spaces!
I made these changes in your xml file. Do you want I push your changes?
Regards,
Julien
concepts
Den 23.02.2011 08:34, skreiv Julien Hardelin:
Hi Michael,
…
what
is the significance of adding "acronym" and "quote" tags? what are they for? they seem to have no influence on the final output.For "acronym>, I don't know.
The tag capitalize the contents of the tag. gimp outputs GIMP.
BTW: For some reasons the tag does not work in Norwegian. Hello is written as "Hello" instead of «Hello». (We are using the same quotes as in French). Kolbjoern
But "quote" is important for
internationalization. WithHello, I automatically get the French quotes in French html (« Hello ») with indivisible spaces!I made these changes in your xml file. Do you want I push your changes?
Regards,
Julien
concepts
Kolbjørn Stuestøl (Wednesday, 23. February 2011)
BTW: For some reasons the tag does not work in Norwegian. Hello is written as "Hello" instead of «Hello». (We are using the same quotes as in French).
This is a DocBook bug, IMHO. Try to change the quote chars manually (in /usr/share/xml/docbook/stylesheet/nwalsh/1.75.2/common/nn.xml or wherever your language file is) to be sure.
Bye, Ulf
Erstaunlich, wie vieles sich verständigt, ohne Verstand zu haben, und wie viele Verstand haben, ohne sich verständigen zu können. -- Karlheinz Deschner
concepts
Michael Grosberg (Tuesday, 22. February 2011)
what is the significance of adding "acronym" and "quote" tags? what are they for? they seem to have no influence on the final output.
tags are important to set the correct quotation chars.
tags are used to convert the enclosed text to capital
letters, AFAIK (I never did any tests), and add
...
to the HTML output, which may be used in CSS stylesheets.
So right now they are not really important -- it's good style and
correct if you use them, but nothing happens if you forget it.
Lastly, how important is the way these files are indented? I always use tabs, and any editor I'm familiar with uses tabs to indent lines, while these files seem to use spaces. Is is important to indent the XML in this way?
By convention we use two spaces. Mixing tabs and spaces will make the XML files less readable, especially if someone uses a different editor.
Bye,
Ulf
Religionen sind falsche Mittel zur Befriedigung echter Bedürfnisse. -- Karlheinz Deschner
concepts
Den 23.02.2011 13:32, skreiv Ulf-D. Ehlert:
Kolbjørn Stuestøl (Wednesday, 23. February 2011)
BTW: For some reasons the tag does not work in Norwegian. Hello is written as "Hello" instead of «Hello». (We are using the same quotes as in French).
This is a DocBook bug, IMHO. Try to change the quote chars manually (in /usr/share/xml/docbook/stylesheet/nwalsh/1.75.2/common/nn.xml or wherever your language file is) to be sure.
Bye, Ulf
The Windows keyboard do not has the «» quote signs by default. Linux has.
I'll give your suggestion a try. Until now I have deleted the
tag and entered the signs by hand in my translated po files. (Not in the
original xml files).
Thank you, Ulf.
Kolbjoern
Gimp-docs mailing list Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
concepts
The main reason for using things like and is to separate
function
from appearance. With tags that describe the function of an entity, even if
the appearance
is currently just plain text, it can be changed at any time by altering the
rules for rendering
entities, without having to rewrite the xml code for the whole document.
The principle is
to use a different tag for any entity that the manual *might sometime* want
to render in a
special way.
Regarding tabs, the reason for using spaces instead is that there is no
fixed rule for converting
tabs to spaces, so when tabs are used, the appearance of the document will
vary depending
of which editor is used to work on it.
-- Bill
concepts
2011/2/23 Julien Hardelin
Hi Michael,
OK for substance.
Some remarks about form:
- TAB are set to 2 spaces.
- Lines are less than 80 characters and spaces.
OK, figured out how to do those with Notepad++.
- When explaining a term, please add an
Resolution
This will automatcally appear in the "index" chapter: last line in the html summary.
I've been meaning to ask about this: There were 7 terms in concepts.xml but only one of them, channels, had an indexterm. So if I understand correctly, the reason is that those other terms are explained at length elsewhere, and THOSE places are linked to in the index, while there is no other reference to resolution in the help?
- I noticed 2 typos: "reslution" and "noticable". You probably have a spelling command in your editor.
Yup. I guess I'm so used to check-as-you-type spellcheckers I haven't thought of runing a spell check.
what
is the significance of adding "acronym" and "quote" tags? what are they for? they seem to have no influence on the final output.For "acronym>, I don't know. But "quote" is important for internationalization. With Hello, I automatically get the French quotes in French html (« Hello ») with indivisible spaces!
I made these changes in your xml file. Do you want I push your changes?
Sure.
concepts
- When explaining a term, please add an
Resolution
This will automatcally appear in the "index" chapter: last line in the html summary.I've been meaning to ask about this: There were 7 terms in concepts.xml but only one of them, channels, had an indexterm. So if I understand correctly, the reason is that those other terms are explained at length elsewhere, and THOSE places are linked to in the index, while there is no other reference to resolution in the help?
That is docbook rules: there is no varlistentry parent for indexterm but
there is title. In varlistentry you must include indexterm within
tags.
Please see > http://docbook.org/tdg/en/html/indexterm.html
There are some inconsistencies in the index. It has to be reviewed.
I made these changes in your xml file. Do you want I push your changes?
Sure.