dagwieers / asciidoc-odf

ODF backend for AsciiDoc
98 stars 26 forks source link

asciidoc frozen #51

Open lucapaganotti opened 5 years ago

lucapaganotti commented 5 years ago

Hi, I'm trying to use the odt backend to asciidoc, I've setup my environment copying odt.conf and asciidoc.odt.styles in my /etc/asciidoc folder. I'm running a debian box: less /etc/debian_version = 9.5

Running asciidoc -b odt myfile.adoc stucks without issuing any warning or error

myfile.adoc has doctype book

Can you help please? Have a good day :-)

elextr commented 5 years ago

what version of asciidoc asciidoc --version ?

lucapaganotti commented 5 years ago

Thanks for your answer :-)

asciidoc --version ==> asciidoc 8.6.9


-- Dott. Ing. Luca Paganotti -- Via dei Giardini 9 -- 21035 Cunardo (VA) -- 393 1346898

-- softech s.r.l. email: -- luca.paganotti@softechweb.it -- luca.paganotti@gmail.com -- https://github.com/lucapaganotti -- sourceforge email: -- lucapaganotti@users.sourceforge.net -- skype name: luca.paganotti [image: http://it.linkedin.com/in/lucapaganotti] http://it.linkedin.com/in/lucapaganotti -- Mastodon: l https://www.facebook.com/luca.paganotti.66 ucapaganotti@fosstodon.org


-- Mistakes are portals of discovery - JAAJ


On Thu, Aug 9, 2018 at 4:58 AM elextr notifications@github.com wrote:

what version of asciidoc asciidoc --version ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dagwieers/asciidoc-odf/issues/51#issuecomment-411620811, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2LHdf9sQvG1J1HXPEWwuXKCPJSrybHks5uO6VvgaJpZM4Vzpys .

elextr commented 5 years ago

Not sure why it would hang, but you could try using the asciidoc --backend install zipfile rather than copying files yourself.

lucapaganotti commented 5 years ago

That's what I did at first hand.

But asciidoc was complaining about odt.conf and asciidoc.odt.styles not found.

I've run asciidoc --backend install odt-backend-0.1.zip as root

So asciidoc.odt.styles, odt.conf, a2x-backend.py, asciidoc.ott where put in /root/.asciidoc/backends/odt

Running asciidoc -b odt myfile first complains about not finding asciidoc.odt.styles because this file is searched in /etc/asciidoc/backends/odt

To satisfy asciidoc I copied the four files in /etc/asciidoc/backends/odt

I runn again asciidoc -b odt myfile but the command never exits nor gives error/warnings or whatsoever.

Hope this can help :-)


-- Dott. Ing. Luca Paganotti -- Via dei Giardini 9 -- 21035 Cunardo (VA) -- 393 1346898

-- softech s.r.l. email: -- luca.paganotti@softechweb.it -- luca.paganotti@gmail.com -- https://github.com/lucapaganotti -- sourceforge email: -- lucapaganotti@users.sourceforge.net -- skype name: luca.paganotti [image: http://it.linkedin.com/in/lucapaganotti] http://it.linkedin.com/in/lucapaganotti -- Mastodon: l https://www.facebook.com/luca.paganotti.66 ucapaganotti@fosstodon.org


-- Mistakes are portals of discovery - JAAJ


On Thu, Aug 9, 2018 at 8:22 AM elextr notifications@github.com wrote:

Not sure why it would hang, but you could try using the asciidoc --backend install zipfile rather than copying files yourself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dagwieers/asciidoc-odf/issues/51#issuecomment-411649994, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2LHdCMN_pZG4axxP-6Y-4NR-p8LrpNks5uO9UWgaJpZM4Vzpys .

elextr commented 5 years ago

Try running the backends install as the user who is going to use it, not as root.

lucapaganotti commented 5 years ago

Running asciidoc --backend install odt-backend-0.1.zip as a normal user, gives exactly the same behaviour ...