Comments (3)
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.
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.
There are several things in your document that cause the rendering loop to get stuck:
-
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.
-
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)
- How do I add a rear page to my pdf? HOT 25
- Part of image missing.... HOT 3
- More indexing woes... HOT 11
- Incorrect entry in footer HOT 1
- Hyphenated word at bottom of page merged
- TypeError: Can't instantiate abstract class DynamicRinohDistribution with... HOT 12
- How do you use a custom template? HOT 1
- Support for reST raw:: HOT 1
- Add ability to print alternative text instead of error message for rst :image: directive HOT 1
- Table cause endless loop 'item too long to fit on line (page N)' HOT 6
- KeyError: 'desc_sig_space' HOT 3
- Zero width spaces lead to an attribute error
- The first word on a line is never hyphenated HOT 3
- Another: NotImplementedError: None:None the 'desc_sig_space' node is not yet supported (rinoh.frontend.sphinx.nodes) HOT 9
- Hyphenating a word across two pages concatenates the word part to the next one HOT 2
- Rinohtype crashes when processing a heading-only / empty body table HOT 2
- Improve error message for unsupported nodes HOT 4
- Repetition of words when using the fallback font
- References not resolved correctly for orphan pages HOT 2
- add hungarian language HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rinohtype.