bibnotes
bibnotes copied to clipboard
[Feature Request] Support the tags of annotations
Hey, annotations of Zotero native readers can be made up of three parts:"highlight","comment","tags".Whether it is possible to increase the support for tags? I hope this can be achieved:
- When exporting the blue "annotation", arrange it in the following way
- highlight tags
- comment
- When exporting green "annotation", it is arranged as follows
## highlight
#tag1 #tag2 comment
@hujie12306, unfortunately the tags specific to a comment are not exported by betterbibtex in the json file that is then processed by bibnotes
@hujie12306,不幸的是,特定于注释的标记不会由 betterbibtex 导出到 json 文件中,然后由 bibnote 处理@stefanopagliari we could change the note template to acquire the tags. Zotero note template document:(https://www.zotero.org/support/note_templates)
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年4月20日(星期三) 下午3:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [stefanopagliari/bibnotes] [Feature Request] Support the tags of annotations (Issue #72)
@hujie12306, unfortunately the tags specific to a comment are not exported by betterbibtex in the json file that is then processed by bibnotes
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
For example:
<p>{{highlight quotes='true'}} {{citation}} {{comment}}[{{tags}}]</p>
Wouldn't this need to be done within the Zotero settings?
Wouldn't this need to be done within the Zotero settings?
Yes,it's within the setting,which is similar to zotfile.
Specifically
edit, preference
advanced, config editor
search: notetemplate
click the Rows of highlight and paste your template
@hujie12306 Sorry for replying to this before but I did not have time to work on this. Thank you for identifying a way to extract the tags associated with a highlight. This is very promising. I will certainly look into this and prioritise this
Hey, annotations of Zotero native readers can be made up of three parts:"highlight","comment","tags".Whether it is possible to increase the support for tags? I hope this can be achieved:
- When exporting the blue "annotation", arrange it in the following way
- highlight tags - comment
- When exporting green "annotation", it is arranged as follows
## highlight #tag1 #tag2 comment
I was able to import the tags by amending the template as you suggested. Currently these are simply listed as part of the comment appended to a highlight. In order to be able to differentiate between the two, some kind of commonly agreed marker needs to be placed in the template so that Bibnote would be able to treat the two separately.
One issue that I would be curious to hear your view or anybody else is what should be the use? Some possibilities:
- treat the tags as trigger for transformations in the same way as the colour highlight or the first sign can be used (E.g. select tag "todo" to turn the note into a todo)
- extract the value in a placeholder that can be located before or after the comment/highlight using the settings for the specific colours
- simply append the text of the tag to the comment/highlight (this is the current behavior)