Skip to content

Commit

Permalink
Support \sup - superscript
Browse files Browse the repository at this point in the history
  • Loading branch information
teusbenschop committed Nov 1, 2023
1 parent 25d92c0 commit 17db3de
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
34 changes: 34 additions & 0 deletions database/stylesdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -6791,5 +6791,39 @@ style_record styles_table [] =
/* userstring3 */ "",
/* backgroundcolor */ "#FFFFFF",
},
// https://ubsicap.github.io/usfm/characters/index.html?highlight=sup#sup-sup Todo check this.
{
/* marker */ "sup",
/* name */ "Superscript text",
/* info */ "Typically for use in critical edition footnotes.",
/* category */ "cs",
/* type */ 4,
/* subtype */ 0,
/* fontsize */ 12,
/* italic */ 0,
/* bold */ 0,
/* underline */ 0,
/* smallcaps */ 0,
/* superscript */ 1,
/* justification */ 0,
/* spacebefore */ 0,
/* spaceafter */ 0,
/* leftmargin */ 0,
/* rightmargin */ 0,
/* firstlineindent */ 0,
/* spancolumns */ 0,
/* color */ "#000000",
/* print */ 1,
/* userbool1 */ 0,
/* userbool2 */ 0,
/* userbool3 */ 0,
/* userint1 */ 0,
/* userint2 */ 0,
/* userint3 */ 0,
/* userstring1 */ "",
/* userstring2 */ "",
/* userstring3 */ "",
/* backgroundcolor */ "#FFFFFF",
},
};

3 changes: 3 additions & 0 deletions help/changelog.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<h1>ChangeLog</h1>

<p>5.1.009: Support for USFM marker \sup for superscript text.</p>
<p>5.1.009: Downloading exports in the Windows app works again.</p>
<p>5.1.009: Finding text in the Windows app user interface works again.</p>
<p>5.1.007: Outputs a blank line for the \b style for Web export.</p>
<p>5.1.007: Outputs the chapter number also for one-chapter books.</p>
<p>5.1.006: The start of a line of poetry no longer overlaps a chapter number in drop caps in web export.</p>
Expand Down

0 comments on commit 17db3de

Please sign in to comment.