[SGML] Missing end of line in verbatim blocks
by Nicolas François
Hello,
An issue was mentionned on IRC regarding such code in an SGML document:
<example>
foo
bar
</example>
Which was converted to:
<example>foo
bar</example>
The attached patch tries to fix this.
Can anybody have a look at it ?
Is it too nsgmls specific (Martin has the not so secret which to get rid
of nsgmls) ?
Is there other places where an end of line should be added ?
I intend to commit it this week-end if there is no issue.
TIA,
--
Nekral
19 years, 2 months
$BIwB/5U1g6f3ZIt(B
by info@yuhtdr.com
$B=w@-$?$A$N@-M_H/;6$r$*<jEA$$!*(B
$B=w<RD9!"<RD9Na>n!"7]G=?M!"(BAV$B=wM%$J$I$H$*CN$j9g$$$G$-$k@d9%$J%A%c%s%9!*(B
$B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B
$B"!%R%^$G$*6b;}$A=w@-$N@-M_$rK~$?$7$F$"$2$F$/$@$5$$!*(B
$B"!C/$G$b4JC1!*L5NAEPO?!*(B
$B"!%Q%=%3%s!&7HBSA45!<o$G%a!<%k$,Aw$l$^$9!*(B
$B"!8D?M>pJs$N%;%-%e%j%F%#!<K|A4!*(B
$B"!$*=;$^$$$NCO0h$+$i=w@-$rC5$;$^$9!*(B
$B"!=w@-$N?t$,05E]E*$J$N$G!"CK@-$OBT$C$F$$$k$@$1$G$b$*Aj<j$,%2%C%H$G$-$^$9!#(B
$B"!6bA,LdBj$,@8$8$k2DG=@-$,$"$k$N$G(B18$B:PL$K~$NCK=w$NEPO?$O$41sN8$/$@$5$$!#(B
$B!!!!!!(Bhttp://80607.jp/dt/giaku/enjo.html
$B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B
$B"v$*6b;}$A$G%;%C%/%9$,9%$-$J=w@-$NJ}$KO/Js$G$9"v(B
$B6u$$$F$$$k;~4V$rMxMQ$7$F%;%C%/%9$KNe$s$G$/$@$5$$!#(B $B%$%s%?!<%M%C%H$GAGE($JCK@-$r$4>R2p$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#(B
$BCK@-$N$4EP>lF~$j8}"M(B
$B!!!!!!(Bhttp://80607.jp/dt/giaku/enjo.html
$B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B
$B:#8e<u?.5qH]$9$kJ}$O(Bdfg_497@hotmail.com$B$X$4JV?.$/$(a)$5$$(B
19 years, 2 months
Re: [Po4a-commits] po4a/testsuite check,1.7,1.8
by Nicolas François
Hello,
The CVS server was probably updated on alioth, and when we commit, we now have
the following message:
/cvsroot/po4a/po4a/testsuite/check,v <-- check
new revision: 1.8; previous revision: 1.7
cvs commit: warning: Set to use deprecated info format strings. Establish
compatibility with the new info file format strings (add a temporary '1' in
all info files after each '%' which doesn't represent a literal percent)
and set UseNewInfoFmtStrings=yes in CVSROOT/config. After that, convert
individual command lines and scripts to handle the new format at your
leisure.
Do you think we should update the loginfo file as described in:
http://ximbiot.com/cvs/manual/cvs-1.12.12/cvs_18.html#SEC188
Best Regards,
--
Nekral
19 years, 2 months
Support for .de, .if and other groff code requests
by Nicolas François
Hi,
I've added some options to the man module:
* verbatim_groff_code
The .de, .ie and .if sections are copied as is from the original to
the translated document
* translate_groff_code
A string is made for each .de, .ie and .if sections, and is proposed
for the translation
Then I needed other options to specify the behavior of these new commands:
* untranslated, noarg, translate_joined, translate_each
lists of coma-separated commands
* no_wrap
list of coma-separated couples begin:end, where begin and end are
commands that delimit the begin and end of a no_wrap section (no test
is done to ensure that an end command match its begin command; any end
command stop the no_wrap mode; it is just more practical to specify
them in a couple)
* inline
This option indicate that the paragraph must not be split. The
string to translate will look like "foo E<.bar baz qux> quux", where
foo is the command that should be inlined.
With these new options, I was able to translate (well...po4a-gettextize)
some man pages from the 3X section (and also to beat my msgids per PO
highest score;)
I don't think this will work perfectly for every situation, but it should
allow to use po4a on most of the pages refused to po4a because of a .de,
.ie or .if section.
Before committing it, I would like to have your opinion.
Best Regards,
--
Nekral
19 years, 2 months