<div dir="ltr">2015-01-14 19:47 GMT+03:00 Guillaume Gardet <span dir="ltr"><<a 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 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 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><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><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><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><br></div>