Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Indexes are not being generated #1557

Closed
NoralK opened this issue Aug 12, 2015 · 14 comments
Closed

PDF Indexes are not being generated #1557

NoralK opened this issue Aug 12, 2015 · 14 comments
Labels
Needed: design decision A core team decision is required

Comments

@NoralK
Copy link

NoralK commented Aug 12, 2015

The PDF index is missing. Local generation index shows RTD no index.

Let me know if you need further information.

@gregmuellegger
Copy link
Contributor

@NoralK Hi, thanks for the report.
Can you tell us the project you are having problems with?

@gregmuellegger gregmuellegger added the Needed: more information A reply from issue author is required label Aug 17, 2015
@NoralK
Copy link
Author

NoralK commented Aug 17, 2015

Thank you for the help - here is the URL https://github.com/NoralK/TestDocs

@gregmuellegger
Copy link
Contributor

@NoralK I can't seem to find the related project on readthedocs. It seems that there was https://readthedocs.org/projects/noral-testdocs/ before but it was deleted. Do you still have the project on readthedocs.org that you are having problems with?

I need to have a look at the build output and see the PDF results you are getting before I can invest any further.

@NoralK
Copy link
Author

NoralK commented Aug 20, 2015

The project is there. I do not know if it will help but I changed it from private to protected. Last build was approx. 7 days ago.

@NoralK
Copy link
Author

NoralK commented Aug 20, 2015

I think I know what is happening. RTFD has changed how many times it generates the PDF in the makefile or custom script and has cut too many, specifically the pass to incorporate the index. So if another pass was made, after the index files get created, then the index inside the PDF should show up.

There should be a minimum of three passes, as I know it:

  1. To generate/check the initial PDF
  2. To generate the index files - a message will state to Rerun to get outlines right
  3. Final generation of the PDF with index

I know sphinx uses 5 passes but they do 1 and 3 twice and from what I have seen and read those are unnecessary.

Hope this help and again thank you.

@gregmuellegger
Copy link
Contributor

RTD runs the pdflatex command twice. That was introduced with #749. However we never ran it more than this. So it seems that it didn't change. Was it already working for you at some point?

However we could try running the pdflatex command three times and see if that helps.

gregmuellegger added a commit that referenced this issue Aug 22, 2015
We had a report in #1557 that creating the index for the PDF does not work and
that it might be related to how often we run `pdflatex` during the build.

Related #1557.
@gregmuellegger
Copy link
Contributor

I've proposed the third run in #1583.

@gregmuellegger gregmuellegger added the Bug A bug label Aug 22, 2015
gregmuellegger added a commit that referenced this issue Aug 22, 2015
We had a report in #1557 that creating the index for the PDF does not work and
that it might be related to how often we run `pdflatex` during the build.

Related #1557.
@NoralK
Copy link
Author

NoralK commented Aug 31, 2015

Any update on this?

@gregmuellegger
Copy link
Contributor

@NoralK we haven't merged the proposed fix so far as we are not sure about why exactly we need the third run. Can you maybe jump in #1583 and shed some light onto the strangenesses of LaTeX for us? That would be super helpful!

@gregmuellegger gregmuellegger added Needed: design decision A core team decision is required and removed Needed: more information A reply from issue author is required labels Sep 14, 2015
@gregmuellegger
Copy link
Contributor

Blocked by the decision in #1583

@gregmuellegger gregmuellegger added the Status: blocked Issue is blocked on another issue label Sep 14, 2015
@NoralK
Copy link
Author

NoralK commented Sep 14, 2015

Did anyone read my comment or open a ticket with PDFlatex?

You closed the ticket and yet there are still no indexes!

Noral

On Mon, Sep 14, 2015 at 6:51 AM, Gregor Müllegger notifications@github.com
wrote:

Blocked by the decision in #1583
#1583


Reply to this email directly or view it on GitHub
#1557 (comment)
.

@agjohnson
Copy link
Contributor

@NoralK This ticket is still open, it's marked as blocked on the PR under review. There is no substantial case for running pdflatex a third time yet, so the PR remains open.

@agjohnson
Copy link
Contributor

Closing this issue due to inactivity. The project with pdf index issues doesn't exist on RTD, and the related PR to run pdflatex with 3 passes was rejected due to lack of input signifying it was necessary. If anyone has more information/background on this issue, feel free to reopen.

@agjohnson agjohnson added Status: rejected and removed Status: blocked Issue is blocked on another issue Bug A bug labels Feb 16, 2016
@jfbu
Copy link

jfbu commented May 13, 2017

moved to #1583 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

4 participants