reST container directive for latex output

Camille Gouttebroze avatarCamille Gouttebroze created an issue

Hi,

reST container directive does not work for latex output.

A patch to solve the issue is attached.

Regards, Camille

Comments (2)

  1. Florian Oppermann

    I added another three lines of code for generating labels for the :name: option. Unfortunately I don't know how to convert the node.get('names') to a proper reference identifier. Therefore I used node.get('ids') which contains the parsed name but also contains identifiers from ordinary labels. This leads to multiple labels when a container gets a label not via :name:. It was the best solution I could find quickly.

    ids = node.get('ids', [])
    for Id in ids:
      self.body.append( '\n' + self.hypertarget(Id) )
    
  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.