Skip to content

Highlighting of bibtex items (@article, @book, ...) #3861

Closed Answered by JosephHallenbeck
JosephHallenbeck asked this question in Q&A
Discussion options

You must be logged in to vote

The solution is to make bibtex.qnfa file with this code:

<!DOCTYPE QNFA>
<QNFA language="BibTeX" extensions="bib" defaultLineMark="">
<!--    <sequence parenthesis="curly:open" indent="1" fold="1">{</sequence>
    <sequence parenthesis="curly:close" indent="1" fold="1">}</sequence>-->

    <context id="string" format="text" >
        <start parenthesis="string:open">&quot;</start>
        <stop parenthesis="string:close">&quot;</stop>
    </context>

    <context id="entry" format="keyword">
        <start parenthesis="curly:open" indent="1" fold="1">{</start>
        <stop parenthesis="curly:close" indent="1" fold="1">}</stop>

        <context id="substring" format="text" >
            …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JosephHallenbeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant