Hello Stuart, sorry about my delayed response, but I have just tried your modified files just replacing theses new files by the old files of the 8.6.6 version and the result is OK, and without modifying anything else.
Your fixed changes have been successful :) I hope you collect this improvements in the next version of asciidoc ;) Thank you very much Stuart. Best regards. 2012/3/1 Stuart Rackham <[email protected]>: > Hi Jorge > > I think I've fixed most of the Jython related issues, see: > > https://groups.google.com/group/asciidoc/tree/browse_frm/thread/2c7511b46757dcc4/01fa69fcc9c37800?rnum=1&_done=%2Fgroup%2Fasciidoc%2Fbrowse_frm%2Fthread%2F2c7511b46757dcc4%2F7a09ab374c52b789%3Ftvc%3D1%26#doc_7a09ab374c52b789 > > and: > > https://code.google.com/p/asciidoc/source/detail?r=722d81a94dc0f1327aee7ab34afee07879d8d40d > > Please test it and report back. > > > > Cheers, Stuart > > > On 27/02/12 22:05, Jorge Marín G wrote: >> >> Hello , I used asciidoc version 8.5.3 to create HTML documents from >> txt documents calling ascidocapi.py from java >> (org.python.util.PythonInterpreter). >> >> It worked very well until asciidoc version 8.6.5, but when I have >> tried to use the newest version (8.6.6) an exception is launched. >> >> I call the asciidocapi.py script in this way: >> >> 1- PythonInterpreter python = new PythonInterpreter(); >> 2- python.exec("import imp"); >> 3- python.exec("asciidocapi = imp.load_source('AsciiDocAPI', [PATH >> where >> is asciidocapi.py in my machine])"); >> >> 4- python.exec("asciidoc = asciidocapi.AsciiDocAPI()"); >> 5- python.exec("asciidoc.asciidoc.execute(''file.txt')"); >> >> When I did that, I got a file.HTML using previous asciidoc versions, >> but now, with version 8.6.6 I get the next exception: >> >> asciidoc: FAILED: malformed [titles] underlines entry >> >> I think there is a BUG in this version, something has been changed and >> now this version (8.6.6) is not compatible with JYTHON. >> >> If anybody know how to fix this error, please, answer me. >> >> Thanks. >> > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- Ingeniero Superior de Telecomunicación | Ingeniero de Desarrollo Software Java Móvil: +34 668 873 780 -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
