Bug 629463 - Can not have line numbering in programlistings (error: No numberLines function available)
Summary: Can not have line numbering in programlistings (error: No numberLines functio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-02 03:14 UTC by Jared MORGAN
Modified: 2015-08-10 01:22 UTC (History)
5 users (show)

Fixed In Version: publican-2.2-0.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-08 20:43:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Jared MORGAN 2010-09-02 03:14:58 UTC
Description of problem:

linenumbering="numbered" is not supported by publican for <programlistings>

Version-Release number of selected component (if applicable):

2.1

How reproducible:

100%

Steps to Reproduce:
1. Insert a programlisting into your document.  XML/Java: doesn't matter.
2. Set the programlisting opening tag as "<programlisting language="Java" linenumbering="numbered">.
3. Publish to any format.
  
Actual results:

When you publish the document, it fails with the following error.
No numberLines function available.
 at /usr/share/perl5/Publican/Builder.pm line 807


Expected results:

Line numbers are inserted into the programlisting to help users refer to parts of the code.

Additional info:

This ticket results from a Tech Review of the JBoss Security Guide.  The reviewer has asked for line numbers.  I will implement a work around for this by splitting up the code block (it's rather large) into chunks so readers can read about the relevant section below the sample.

Comment 1 Jeff Fearn 🐞 2010-09-27 04:58:19 UTC
Implemented basic lineNumbering.

Fixed in build: 2.1-0%{?dist}.t84

Comment 2 Fedora Update System 2010-10-06 05:49:28 UTC
publican-2.2-0.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc13

Comment 3 Fedora Update System 2010-10-06 05:50:44 UTC
publican-2.2-0.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc12

Comment 4 Fedora Update System 2010-10-06 05:50:46 UTC
publican-2.2-0.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc14

Comment 5 Fedora Update System 2010-10-08 20:40:53 UTC
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.