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

Figure directive not handled for latex writing in Sphinx #47043

Closed
aafshar mannequin opened this issue May 8, 2008 · 2 comments
Closed

Figure directive not handled for latex writing in Sphinx #47043

aafshar mannequin opened this issue May 8, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@aafshar
Copy link
Mannequin

aafshar mannequin commented May 8, 2008

BPO 2794
Nosy @birkenfeld
Files
  • latex-figure.diff: Patch to add writing of figure directive and embedded caption
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/birkenfeld'
    closed_at = <Date 2008-05-16.13:36:58.669>
    created_at = <Date 2008-05-08.20:11:25.269>
    labels = ['docs']
    title = 'Figure directive not handled for latex writing in Sphinx'
    updated_at = <Date 2008-05-16.13:36:58.668>
    user = 'https://bugs.python.org/aafshar'

    bugs.python.org fields:

    activity = <Date 2008-05-16.13:36:58.668>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-05-16.13:36:58.669>
    closer = 'georg.brandl'
    components = ['Documentation tools (Sphinx)']
    creation = <Date 2008-05-08.20:11:25.269>
    creator = 'aafshar'
    dependencies = []
    files = ['10225']
    hgrepos = []
    issue_num = 2794
    keywords = ['patch']
    message_count = 2.0
    messages = ['66437', '66944']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'aafshar']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2794'
    versions = ['Python 2.5']

    @aafshar
    Copy link
    Mannequin Author

    aafshar mannequin commented May 8, 2008

    .. figure:: directive is not handled when writing to latex, and this
    directive seems the only way to have a captioned image in rst.

    I have added a patch that simply handles the figure, and captions.

    Note that figures have an additional component of "legends" but I can't
    seem to work out what these are.

    @aafshar aafshar mannequin assigned birkenfeld May 8, 2008
    @aafshar aafshar mannequin added the docs Documentation in the Doc dir label May 8, 2008
    @birkenfeld
    Copy link
    Member

    Thanks, committed as r63372.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant