diff --git a/NEWS b/NEWS index fcaddb6..a4442b6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +development + - pdf_toc() now also returns if bookmarks are open (#117) + 3.7.0 - Switch some deprecated fields to new ones diff --git a/src/bindings.cpp b/src/bindings.cpp index f44de90..1a462e3 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -81,6 +81,7 @@ static List item_to_list(toc_item *item){ } return List::create( _["title"] = ustring_to_r(item->title()), + _["is_open"] = item->is_open(), _["children"] = out ); }