HTML/PDF Build Errors - Mailing list pgadmin-support

From Sarah Conway Schnurr
Subject HTML/PDF Build Errors
Date
Msg-id CA+m7vT68RHJ0CzxdPmE9B_-cJGK-2GbrAB4+DM6g4qUShMC7Xw@mail.gmail.com
Whole thread Raw
Responses Re: HTML/PDF Build Errors
List pgadmin-support
Hello!

Came across a couple of errors when building HTML and PDF files with the Makefile.

System Info

CentOS 7
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
pgadmin4-3.2

HTML

(Relevant) Output:

$ make docs
...
`tablespace_dialog.rst:: WARNING: document isn't included in any toctree`

Adding it to ignore_patterns in conf.py results in:

Exception occurred:
  File "/usr/lib/python2.7/site-packages/sphinx/builders/html.py", line 407, in get_doc_context
    display_toc = (self.env.toc_num_entries[docname] > 1),
KeyError: 'tablespace_dialog'

Deleting the file in question - tablespace_dialog.rst - (obviously not the ideal solution) resolves the error and allows the files to be built as expected.

PDF 

(Relevant) Output

$ make docs-pdf
...
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd) [1{/usr/share/texlive
/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2]
Adding blank page after the table of contents.
pdfTeX warning (ext4): destination with the same identifier (name{page.i}) has 
been already used, duplicate ignored
<to be read again> 
                   \relax 
l.113 \tableofcontents
                       [1]pdfTeX warning (ext4): destination with the same iden
tifier (name{page.ii}) has been already used, duplicate ignored
<to be read again> 
                   \relax 
l.113 \tableofcontents
                       [2] <logo-right-128.png, id=23, 128.48pt x 128.48pt>
<use logo-right-128.png> <use logo-right-128.png> [1 <./logo-right-128.png>]
[2]
Chapter 1.
! Use of \@icentercr doesn't match its definition.
<argument> \def 
                
l.128 ...r{\index{Getting Started}Getting Started}
                                                  
?

Have not found a workaround for the PDF issue as of yet.

Are these actual bugs or am I missing some kind of dependency?

Thanks very much for your time & help, ahead of time.

--
Sarah Conway Schnurr

pgadmin-support by date:

Previous
From: Arlindo Neto
Date:
Subject: PgAdmin4 can't support WIN1252 characters
Next
From: Dave Page
Date:
Subject: Re: HTML/PDF Build Errors