Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (30 sloc) 1.77 KB
ID post_title author post_excerpt layout permalink published post_date tags categories
412
No <code>Figure</code> tag in compatibility mode
Stefan Brechbühl
An image is placed with the “In Line with Text” layout option into Word in “Compatibility Mode” (.doc file). After exporting as PDF the image won't be within a <Figure> tag as expected, but within an , to which the role is assigned.
tutorials
true
2018-05-04 08:47:20 -0700
Manual testing
Microsoft Word
13. Graphics

An image is placed with the “In Line with Text” layout option into Word in “Compatibility Mode” (.doc file). After exporting as PDF the image won't be within a <Figure> tag as expected, but within an <InlineShape>, to which the role <Sect> is assigned.

Issue detected in PDFs made from:

  • Microsoft Word 2013 for Windows (in Compatibility Mode)

PAC 3 warning

Possibly inappropriate use of a “Sect” structure element

Failure Condition of the Matterhorn Protocol

13-001 Graphics objects other than text objects and artifacts are not tagged with a Figure tag. (→ manual testing)

Automatic approach in Word 2013

Since the problem only exists in compatibility mode (.doc files), the document can be converted to the newer .docx file format. The “Convert” command is located in the menu “File” → “Info”.

Attention: The conversion can cause (minor) layout changes!

Manual approach in Acrobat

  1. The “Reading order” tool can be used to select the image and convert it to a figure.
  2. <InlineShape> is going to be converted to <Figure>.
  3. The alternative text is copied automatically.
You can’t perform that action at this time.