#115 ✓resolved
Bil Kleb

Translating images and tables to LaTeX

Reported by Bil Kleb | March 6th, 2009 @ 06:59 AM

In LaTeX, the figure and table environments are "floats" that are typeset separate from the running text, have captions, labels, placement specifiers, and so on. Meanwhile \includegraphics and the tabular environment are more primitive and typeset inline with surrounding text.

Currently, RedCloth translates images to figure environments with an embedded \includegraphics command whereas tables become LaTeX tabular environments. This feels inconsistent. I feel that they should both be translated as primitives (i.e., \includegraphics and tabular) or as floats (i.e., figure and table environments)?

I favor translating both to LaTeX floats as they can better absorb some of the more advanced Textile markup associated with both types, but I've not completely convinced myself...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages