Skip to content

Commit

Permalink
fix ToC generation in Word for tables and figures: #404
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Aug 8, 2024
1 parent 19bca93 commit ea1bd84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/isodoc/ieee/word_cleanup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ def stylesmap
end

def table_toc_class
[stylesmap[:TableTitle], "TableTitle", "tabletitle"]
["IEEEStds Regular Table Caption", "TableTitle", "tabletitle"]
end

def figure_toc_class
[stylesmap[:FigureTitle], "FigureTitle", "figuretitle"]
["IEEEStds Regular Figure Caption", "FigureTitle", "figuretitle"]
end

def style_cleanup(docxml)
Expand Down

0 comments on commit ea1bd84

Please sign in to comment.