You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to read the contents of a docx table and having issues with numbered lists. If I enter the numbers by hand, all is well, but if I use a numbered list, the numbers are lost when extracting the table.
As you can see in the reproducible example below, row 2 (Items) is extracted fine ("1. First item\n2. Second item"), but in row 3 (Items2), the numbers are lost ("First item\nSecond item").
DOC=docxtractr::read_docx("https://github.com/gorkang/BUG_docxtractr/blob/master/test.docx?raw=true")
TABLE=docxtractr::docx_extract_tbl(DOC, preserve=TRUE, header=FALSE)
# Not using a numbered list. All is fineTABLE$V2[2]
#> [1] "1. First item\n2. Second item"# In row 3 we use a numbered list. Numbers are lostTABLE$V2[3]
#> [1] "First item\nSecond item"
First of all, thanks for the amazing package!
I am trying to read the contents of a docx table and having issues with numbered lists. If I enter the numbers by hand, all is well, but if I use a numbered list, the numbers are lost when extracting the table.
As you can see in the reproducible example below, row 2 (Items) is extracted fine ("1. First item\n2. Second item"), but in row 3 (Items2), the numbers are lost ("First item\nSecond item").
Thanks!
Created on 2022-08-03 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: