Improved grammar; pretty printing

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9805 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-04-11 14:11:42 +00:00
parent a10a536dcf
commit 134275fae0
2 changed files with 22 additions and 18 deletions

View File

@ -27,7 +27,7 @@
Small bugfixes that were very hard to find Small bugfixes that were very hard to find
@bLars Gullik Bjønnes @bLars Gullik Bjønnes
@iE-mail: larsbj@gullik.net @iE-mail: larsbj@gullik.net
Improvements to user interface (menus and keyhandling) including configurabletoolbar, and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer Improvements to user interface (menus and keyhandling) including a configurable toolbar and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer
@bAlfredo Braunstein @bAlfredo Braunstein
@iE-mail: abraunst@lyx.org @iE-mail: abraunst@lyx.org
A (pseudo) threaded graphics loader queue, lots of fixes, etc. A (pseudo) threaded graphics loader queue, lots of fixes, etc.
@ -36,7 +36,7 @@
User-definable keys, lyxserver and more User-definable keys, lyxserver and more
@bJohnathan Burchill @bJohnathan Burchill
@iE-mail: jkerrb@users.sourceforge.net @iE-mail: jkerrb@users.sourceforge.net
Ported John Levon's original 'change tracking' code to later versions of LyX.Numerous bug fixes thereof. Ported John Levon's original 'change tracking' code to later versions of LyX. Numerous bug fixes thereof.
@bFrancesc Burrull i Mestres @bFrancesc Burrull i Mestres
@iE-mail: fburrull@mat.upc.es @iE-mail: fburrull@mat.upc.es
Catalan translation Catalan translation
@ -69,7 +69,7 @@
Bug fixes Bug fixes
@bStefano Ghirlanda @bStefano Ghirlanda
@iE-mail: stefano.ghirlanda@unibo.it @iE-mail: stefano.ghirlanda@unibo.it
Improvements to lyxserver; LyX-Client perl package Improvements to lyxserver
@bHartmut Goebel @bHartmut Goebel
@iE-mail: h.goebel@crazy-compilers.com @iE-mail: h.goebel@crazy-compilers.com
Improvements to Koma-Script classes Improvements to Koma-Script classes
@ -158,7 +158,7 @@
Basque documentation and localization Basque documentation and localization
@bDaniel Naber @bDaniel Naber
@iE-mail: daniel.naber@t-online.de @iE-mail: daniel.naber@t-online.de
Improvements to find&replace popup Improvements to the find&replace dialog
@bPablo De Napoli @bPablo De Napoli
@iE-mail: pdenapo@mate.dm.uba.ar @iE-mail: pdenapo@mate.dm.uba.ar
Math panel dialogs Math panel dialogs
@ -188,7 +188,7 @@
mathed rewrite to use STL file io with streams --export and --import command line options mathed rewrite to use STL file io with streams --export and --import command line options
@bKornelia Pönitz @bKornelia Pönitz
@iE-mail: kornelia.poenitz@mathematik.tu-chemnitz.de @iE-mail: kornelia.poenitz@mathematik.tu-chemnitz.de
heavy mathed testing provided siamltex document class heavy mathed testing; provided siamltex document class
@bBernhard Psaier @bBernhard Psaier
Designer of the LyX-Banner Designer of the LyX-Banner
@bThomas Pundt @bThomas Pundt
@ -274,10 +274,10 @@
Gnome frontend Gnome frontend
@bMartin Vermeer @bMartin Vermeer
@iE-mail: martin.vermeer@hut.fi @iE-mail: martin.vermeer@hut.fi
support for optional argument in sections/captions svjour/svjog, egs and llncs document classes Lot of bug hunting (and fixing!) support for optional argument in sections/captions svjour/svjog, egs and llncs document classes. Lot of bug hunting (and fixing!)
@bJürgen Vigna @bJürgen Vigna
@iE-mail: jug@lyx.org @iE-mail: jug@lyx.org
complete rewrite of the tabular, text inset fax- and Ascii-Export support iletter and dinbrief support complete rewrite of the tabular, text inset; fax- and Ascii-Export support; iletter and dinbrief support
@bPauli Virtanen @bPauli Virtanen
@iE-mail: pauli.virtanen@hut.fi @iE-mail: pauli.virtanen@hut.fi
Finnish localization of the interface Finnish localization of the interface

View File

@ -21,7 +21,7 @@ $ python generate_contributions.py \
where the arguments are the names of the generated files. where the arguments are the names of the generated files.
''' '''
import codecs, sys import codecs, sys, textwrap
def xml_escape(s): def xml_escape(s):
s = s.replace("&", "&") s = s.replace("&", "&")
@ -63,14 +63,14 @@ class contributer:
return "".join(result) return "".join(result)
def as_php_credits(self): def as_php_credits(self, wrapper):
return ''' return '''
contrib("%s", contrib("%s",
"%s", "%s",
"%s"); "%s");
''' % ( xml_escape(self.name), ''' % ( xml_escape(self.name),
xml_escape(self.contact), xml_escape(self.contact),
xml_escape(self.credit) ) "\n".join(wrapper.wrap(xml_escape(self.credit))) )
def as_php_blanket(self): def as_php_blanket(self):
@ -175,6 +175,8 @@ echo "
if (isset($email) && $email != "") if (isset($email) && $email != "")
echo " <i>&lt;${email}&gt;</i>"; echo " <i>&lt;${email}&gt;</i>";
$msg = ereg_replace("\\n *", "\\n ", ltrim($msg));
echo " echo "
</dt> </dt>
<dd> <dd>
@ -194,9 +196,11 @@ echo "
<dl><?php''') <dl><?php''')
wrapper = textwrap.TextWrapper(width=60, subsequent_indent=" ")
for contributer in contributers: for contributer in contributers:
if len(contributer.credit) != 0: if len(contributer.credit) != 0:
results.append(contributer.as_php_credits()) results.append(contributer.as_php_credits(wrapper))
results.append('''?> results.append('''?>
@ -381,7 +385,7 @@ contributers = [
"Re: Licensing of tex2lyx (and perhaps LyX itself?)", "Re: Licensing of tex2lyx (and perhaps LyX itself?)",
"m=110907078027047", "m=110907078027047",
"22 February 2005", "22 February 2005",
u"Improvements to user interface (menus and keyhandling) including configurabletoolbar, and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer"), u"Improvements to user interface (menus and keyhandling) including a configurable toolbar and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer"),
contributer(u"Alfredo Braunstein", contributer(u"Alfredo Braunstein",
"abraunst () lyx ! org", "abraunst () lyx ! org",
@ -405,7 +409,7 @@ contributers = [
"Re: The LyX licence", "Re: The LyX licence",
"m=110908472818670", "m=110908472818670",
"22 February 2005", "22 February 2005",
u"Ported John Levon's original 'change tracking' code to later versions of LyX.Numerous bug fixes thereof."), u"Ported John Levon's original 'change tracking' code to later versions of LyX. Numerous bug fixes thereof."),
contributer(u"Francesc Burrull i Mestres", contributer(u"Francesc Burrull i Mestres",
"fburrull () mat ! upc ! es", "fburrull () mat ! upc ! es",
@ -501,7 +505,7 @@ contributers = [
"Re: The LyX licence", "Re: The LyX licence",
"m=110959835300777", "m=110959835300777",
"28 February 2005", "28 February 2005",
u"Improvements to lyxserver; LyX-Client perl package"), u"Improvements to lyxserver"),
contributer(u"Hartmut Goebel", contributer(u"Hartmut Goebel",
"h.goebel () crazy-compilers ! com", "h.goebel () crazy-compilers ! com",
@ -749,7 +753,7 @@ contributers = [
"Re: The LyX licence", "Re: The LyX licence",
"m=110911176213928", "m=110911176213928",
"22 February 2005", "22 February 2005",
u"Improvements to find&replace popup"), u"Improvements to the find&replace dialog"),
contributer(u"Pablo De Napoli", contributer(u"Pablo De Napoli",
"pdenapo () mate ! dm ! uba ! ar", "pdenapo () mate ! dm ! uba ! ar",
@ -829,7 +833,7 @@ contributers = [
"Re: The LyX licence", "Re: The LyX licence",
"m=111121553103800", "m=111121553103800",
"19 March 2005", "19 March 2005",
u"heavy mathed testing provided siamltex document class"), u"heavy mathed testing; provided siamltex document class"),
contributer(u"Bernhard Psaier", contributer(u"Bernhard Psaier",
"", "",
@ -1061,7 +1065,7 @@ contributers = [
"Re: The LyX licence", "Re: The LyX licence",
"m=110907543900367", "m=110907543900367",
"22 February 2005", "22 February 2005",
u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes Lot of bug hunting (and fixing!)"), u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes. Lot of bug hunting (and fixing!)"),
contributer(u"Jürgen Vigna", contributer(u"Jürgen Vigna",
"jug () lyx ! org", "jug () lyx ! org",
@ -1069,7 +1073,7 @@ contributers = [
"Re: Licensing of tex2lyx (and perhaps LyX itself?)", "Re: Licensing of tex2lyx (and perhaps LyX itself?)",
"m=110899839906262", "m=110899839906262",
"21 February 2005", "21 February 2005",
u"complete rewrite of the tabular, text inset fax- and Ascii-Export support iletter and dinbrief support"), u"complete rewrite of the tabular, text inset; fax- and Ascii-Export support; iletter and dinbrief support"),
contributer(u"Pauli Virtanen", contributer(u"Pauli Virtanen",
"pauli.virtanen () hut ! fi", "pauli.virtanen () hut ! fi",