latex3 / tagpdf

Tagging support code for LaTeX
60 stars 7 forks source link

adding new key in \tagstructbegin command #22

Closed AlexandrKozlovskiy closed 3 years ago

AlexandrKozlovskiy commented 4 years ago

In mc i have raw key,in which i can use law-level commands of pdf format. can you please add the same key for struct to? Thanks.

u-fischer commented 4 years ago

For which use case? Which dictionary entry do you want to add with it?

bdoubrov commented 4 years ago

According to the documentation of tagpdf 0.6.1, it is possible to use raw key-value in the \tagmcbegin command. But this key-val is missing in the \tagstructbegin. Is there any specific reason for this? Would it be possible to add raw key-val support to the \tagstructbegin as well?

u-fischer commented 4 years ago

@bdoubrov yes it could be added. But why do you need it? Which specific entry in \tagstructbegin are you missing? I want to know if raw is really the best solution, or if some more specific key is needed.

AlexandrKozlovskiy commented 4 years ago

@u-fischer because in this case we can,for example,add params,which need for associative files or any other params,which can be appeared in new versions of pdf standard. For mc we can do it,using raw key,so it would be very good,if this feature will be for structure to.

bdoubrov commented 4 years ago

Comparing the list of available entries in the \tagstructbegin with the ones in the Structure element dictionary in PDF 2.0, I see at least the following missing entries:

u-fischer commented 3 years ago

I added support for Ref, Lang and E in the new version 0.8 that I just uploaded. This version requires the new pdf management of LaTeX which is in the pdfmanagement-testphase package that I uploaded too.