#5 ✓ resolved
VirtualFunction

Undefined formatter methods throw exceptions

Reported by VirtualFunction | June 22nd, 2008 @ 02:46 PM | in 4.0

Sorry, more bugs to look at...

The latex formatter doesn't have methods for dl_open, dl_close, and supporting methods for dd, and dt tags.

RedCloth.new('- Epic Fail').to_latex

Above illustrates a very simple currently failing case.

I don't know latex that well, I was going to hack my local copy so that dl works the same as ul, and and them make dd and dt work like li tags (though I guess I would also add \em, \tt or something on those lines to one of those tags to show the difference). However someone with better latex knowledge will most certainly have better judgement than me.

Comments and changes to this ticket

  • Jason Garber

    Jason Garber June 25th, 2008 @ 04:59 PM

    • State changed from “new” to “resolved”
    • Tag set to definition lists, formatters, latex

    (from [04d3c6a2c62c7f2a0cb553d71f78f1965df53af2]) method_missing for formatters that are missing methods required by the parser [#5 state:resolved]

    http://github.com/jgarber/redclo...

  • Jason Garber

    Jason Garber June 25th, 2008 @ 05:01 PM

    • Title changed from “Latex support definition lists” to “Undefined formatter methods throw exceptions”

    I'm going to consider it resolved for now because it no longer throws the exception, but someone who knows what they're doing with LaTeX should figure out what to do with definition lists.

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

Referenced by

Pages