Code Monkey home page Code Monkey logo

Comments (3)

brechtm avatar brechtm commented on September 22, 2024

Do you mean that the rendering ends up in an endless loop?

Note that, as the new issue form mentions, I cannot debug this without having access to your Sphinx project or a minimal example reproducing the issue.

from rinohtype.

sachin-suresh-rapyuta avatar sachin-suresh-rapyuta commented on September 22, 2024

Yes, as you can see from the output screenshot, the pdf generation is stuck at 14% and I don't know where or which .rst file it is pointing to to correct the "item too long" message.
Here is the link of the project: project link docs folder

from rinohtype.

brechtm avatar brechtm commented on September 22, 2024

There are several things in your document that cause the rendering loop to get stuck:

  1. You are running into bug #283, triggered by fuzzy_pattern_without_border.png and other tall images. Scaling these down works around this problem:

    .. figure:: ./images/getting_started/map_creation_checklist/fuzzy_pattern_without_border.png
       :scale: 50%
       ...

    This is a high-priority bug, but I'm not sure when I'll be able to fix it.

  2. rinohtype is not yet able to split table cells across two pages. This also leads to an infinite rendering loop when the contents of a cell do not fit on a page. For example, the Comparison between Full-fledged WCS vs Minimalistic WCS table triggers this issue. Removing the :widths: option happens to make the contents fit. There are however other tables (often containing images) in the document that trigger this bug.

    This is also an important bug, but you should ask yourself whether tables are the best choice for that kind of content. Do you really want table cells that span multiple pages?

Some general remarks about your document that occurred to me when trying to debug this:

  • URL links are created using raw-html substitutions which only work with HTML builders. I suppose you do this to make them open in another window/tab (target="_blank")?
  • The A5 paper size allows for very little room, causing many "item too long" warnings. As I already mentioned in #337 (reply in thread), you should consider decreasing the page margins.
  • You are using inline images in tables. Note that it is possible to use the image directive inside tables as well.

from rinohtype.

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.