Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#12799 closed (fixed)

missing newline causes an error on the pdf build of the django documentation

Reported by: Ivan Savov Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I wanted to have a pdf of all the django docs, and sphinx makes this easy.
however this is a little bug in topics/http/shortcuts.txt

To reproduce:

   pip -E /Users/ivan/.virtualenvs/predemo/ install sphinx
   svn co http://code.djangoproject.com/svn/django/trunk/ django-source-trunk
   cd django-source-trunk/docs/
   make latex
   ...
   cd _build/latex/
   make all-pdf
   ... 
   [145]
   ! Undefined control sequence.
   l.9688 \item[\code{mimetype}] \leavevmodeNew
                                             in version 1.0: \hyperlink{rele...

   ...
   still generates the pdf fine though...

Uber simple patch attached

Attachments (1)

pdf-output-fix.patch (414 bytes) - added by ivan.savov@… 5 years ago.
One newline character packaged with lots off diff language ;)

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by ivan.savov@…

One newline character packaged with lots off diff language ;)

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [12518]) Fixed #12799 -- Added an extra newline to help with PDF generation of documentation. Thanks to Ivan Savov for the report.

comment:3 Changed 5 years ago by russellm

(In [12522]) [1.1.X] Fixed #12799 -- Added an extra newline to help with PDF generation of documentation. Thanks to Ivan Savov for the report.

Backport of r12518 from trunk.

comment:4 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top