Grammar questions for documentation
Cristian Marchi
cri79 at libero.it
Wed Dec 1 14:04:28 EST 2010
I'm working on some sed [1] commands that do automatically some grammar
corrections to xml file (for documentation). For example I've a command
that checks (and if false corrects it) if after a period there are two
spaces, one removes the white spaces at the end of a line, one checks
and corrects for uppercase char after a period and so on....
Now I would like to know what you think about some of this grammar and
terminology conventions:
- after a full stop (period) in the text there are always two spaces
before the following words (this is valid for english and not for other
languages i.e. Italian). [2]
- after a , ; : punctuation there is only a space before the following word.
- toolbar, titlebar, menubar, summarybar, statusbar and not tool bar,
title bar etc... [3]
- the period after a phrase beetween parenthesis is inside or outside
the parenthesis?
If you have other cases please let me know so I could implement a
command for them.
All this command could be collected in a little script that runs from
time to time in the documentation for cleaning purposes.
Sorry if this topic is not really accounting or GnuCash related...
Regards
Cristian
[1] http://www.grymoire.com/Unix/Sed.html
[2] http://en.wikipedia.org/wiki/Full_stop
[3]
http://library.gnome.org/devel/gdp-style-guide/stable/window-terminology.html.en
More information about the gnucash-devel
mailing list