pressbooks / ideas

Ideas for Pressbooks.
GNU General Public License v3.0
12 stars 4 forks source link

Enable the use of latex, footnote & glossary shortcodes within image captions #159

Open mcgratay opened 5 years ago

mcgratay commented 5 years ago

Feature Description

Currently, shortcodes cannot be nested within other shortcodes. Enable certain shortcode elements to function when added to text within an image caption shortcode.

Feature Use Case

Users have requested the ability to add footnotes or glossary tool tips within a media caption (and citations, if or when that feature becomes available). This feature would benefit all users on all networks, and would get most use out of academic texts.

SteelWagstaff commented 5 years ago

Supporting shortcodes within shortcodes could also be useful in the other direction, i.e. allowing images to work within footnotes and/or glossary terms.

SteelWagstaff commented 4 years ago

There are a few remaining cases that we'd like to cover/support:

  1. LaTeX in glossary entries
  2. LaTeX within media captions
  3. Footnotes within media captions
  4. Glossary terms within media captions
  5. Media in footnotes?

See https://github.com/pressbooks/pressbooks/pull/1836 for previous implementation

tw77 commented 2 years ago

More interest in footnotes within media captions reported here: https://pressbooks.zendesk.com/agent/tickets/9525

tw77 commented 2 years ago

Interest in glossary terms within columns (a new case for nested shortcodes) reported here: https://pressbooks.zendesk.com/agent/tickets/11738

dallibs commented 6 months ago

We are interested in having footnotes appear when nested in columns to support a textbook project that we're working on.