Skip to content

Format cite-view list externally and include bibtex key#63

Open
nodec wants to merge 2 commits intoFocus:masterfrom
nodec:master
Open

Format cite-view list externally and include bibtex key#63
nodec wants to merge 2 commits intoFocus:masterfrom
nodec:master

Conversation

@nodec
Copy link

@nodec nodec commented Oct 25, 2017

Currently, the bibtex key cannot be displayed in the citation selection list. This patch adds a <span> item for the key and individual style classes for title, author and key. It further adds a default style sheet that restores the current layout (up to additionally showing the bibtex key).

The user can now customize this style in terms of the styles.less configuration file. For example, the bibtex key can be hidden by including .cite-view-key {display: none;}.

I suppose this patch does still not allow the user to reorder the items, though, unless some style directive allows for reordering the DOM tree. (?)

nodec added 2 commits October 25, 2017 09:25
…view-title, cite-view-key and cite-view-author in order to specify display style externally.
@nodec
Copy link
Author

nodec commented Oct 25, 2017

Concerning the failed tests: apm test seems to fail even without this patch in revision 1f08eeb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant