<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 15/01/2015 00:29, Fat-Zer a écrit :<br>
</div>
<blockquote
cite="mid:CANi=-vK2aVAB8H+kvPu_=E2JkSMXXsxRx3g9_g+PZz0kCJivDw@mail.gmail.com"
type="cite">
<div dir="ltr">2015-01-14 19:47 GMT+03:00 Guillaume Gardet <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:guillaume.gardet@free.fr" target="_blank">guillaume.gardet@free.fr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi po4a
devs,<br>
<br>
I would like to report some bugs I found using po4a with this
asciidoc file:<br>
<a moz-do-not-send="true"
href="http://git.subsurface-divelog.org/index.cgi?p=subsurface.git;a=blob_plain;f=Documentation/user-manual.txt;hb=HEAD"
target="_blank">http://git.subsurface-divelog.org/index.cgi?p=subsurface.git;a=blob_plain;f=Documentation/user-manual.txt;hb=HEAD</a><br>
<br>
You could try the following:<br>
* Download the file from: <a moz-do-not-send="true"
href="http://git.subsurface-divelog.org/index.cgi?p=subsurface.git;a=blob_plain;f=Documentation/user-manual.txt;hb=HEAD"
target="_blank">http://git.subsurface-divelog.org/index.cgi?p=subsurface.git;a=blob_plain;f=Documentation/user-manual.txt;hb=HEAD</a><br>
* Run: po4a-normalize -f asciidoc -M UTF-8 user-manual.txt<br>
* Compare "po4a-normalize.output" and "user-manual.txt" which
differs in a number of places.<br>
<br>
Especially:<br>
* Missing comments<br>
</blockquote>
<div>This one can be considered as a feature but not a bug: so
we can po4a provide a yet another option to translate/keep
comments...</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
* Missing list item indexes (numbers and letters)<br>
</blockquote>
<div>It seems you lists are a bit malformed. </div>
<div>AFAIK the right formate should be something like this:</div>
<div><br>
</div>
<div>1. My item</div>
<div>2. My long long</div>
<div> item</div>
<div>// ^ Note 1 or more spaces</div>
<div> - sub item</div>
<div> - sub item 2</div>
<div>// ^ Not sure how many spaces there really should be. </div>
<div><br>
</div>
</div>
</blockquote>
<br>
Thanks a lot! It fixed the problem.<br>
<br>
<blockquote
cite="mid:CANi=-vK2aVAB8H+kvPu_=E2JkSMXXsxRx3g9_g+PZz0kCJivDw@mail.gmail.com"
type="cite">
<div dir="ltr">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
* Remove some dashes<br>
</blockquote>
<div>You mean dashes for bulleted lists? The same as above. I
can't see that there are any other are missing...</div>
</div>
</blockquote>
<br>
Yes. Fixed too.<br>
<br>
<blockquote
cite="mid:CANi=-vK2aVAB8H+kvPu_=E2JkSMXXsxRx3g9_g+PZz0kCJivDw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> * Remove
some extra spaces</blockquote>
<div>I can't explain that... That one could really be a bug...
a small one...</div>
</div>
</blockquote>
<br>
Yes, a small one.<br>
<br>
<blockquote
cite="mid:CANi=-vK2aVAB8H+kvPu_=E2JkSMXXsxRx3g9_g+PZz0kCJivDw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>To be noted, I'm not an active po4a dev nor an asciidoc
guru... So everything above is just a my humble opinion...<br>
</div>
</div>
</blockquote>
<br>
You helped me. Thanks a lot!<br>
<br>
<br>
Guillaume<br>
<br>
</body>
</html>