Coder Social home page Coder Social logo

Comments (13)

mojavelinux avatar mojavelinux commented on July 30, 2024

Thanks for reporting. I have issued a PR to fix it. See #60.

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

@jxxcarlson we could avoid these sorts of breakages in the future if we got the test suite running in Travis CI (a continuous integration environment). I'd be happy to submit the configuration to get that setup. However, it seems that the tests are currently failing. Could you run the test suite on your end and confirm you can get all the tests running? Also, can you let me know what your test command is so I know which command to tell the CI job to run?

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

What's interesting about this issue is that it actually comes from bibliography. But the bibliography ref is being treated as a normal ref and not a bib ref. You can work around this issue in your case by adding the bibliography style to the bibliography section.

[bibliography]
== Bibliography

- [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
  Programming'. Addison-Wesley. ISBN 0-13-142901-9.
- [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
  'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
  ISBN 1-56592-580-7.

Asciidoctor LaTeX currently discards bibliography labels.

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

This is now fixed. However, I think we should get the test suite fixed before another release is pushed out. The tests are now running in Travis, so we can see when errors are introduced.

See https://travis-ci.org/asciidoctor/asciidoctor-latex

from asciidoctor-latex.

jxxcarlson avatar jxxcarlson commented on July 30, 2024

from asciidoctor-latex.

jxxcarlson avatar jxxcarlson commented on July 30, 2024

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

Jim,

I got the CI job set up and the doctests running. See

https://travis-ci.org/asciidoctor/asciidoctor-latex/builds

I'm using "rake doctest". I'm not sure what "rake test" does in this project. My impression was that it was just a work in progress and the "doctest" is the official test task.

from asciidoctor-latex.

jxxcarlson avatar jxxcarlson commented on July 30, 2024

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

If you are starting out from scratch, here's what you should do:

rm -f Gemfile.lock
bundle --path=.bundle/gems
bundle exec rake doctest

I like using bundle this way because it puts the dependencies into .bundle/gems, so everything is self-contained. No gems running around the system in weird places. This is how I've configured the Travis CI job to work.

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

The "bundle exec" command tells whatever comes after it to run in the context of the dependencies for the project. If you drop this part, then you are running the command "bundleless" which means it won't see any of your installed dependencies.

from asciidoctor-latex.

cschneiker avatar cschneiker commented on July 30, 2024

Thanks much for the work-around.

from asciidoctor-latex.

jxxcarlson avatar jxxcarlson commented on July 30, 2024

from asciidoctor-latex.

mojavelinux avatar mojavelinux commented on July 30, 2024

I recommend filing an issue for a feature request just like a community member would, then making a case for what you will change. No doubt people will jump in to give feedback and ideas.

from asciidoctor-latex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.