Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line break in abstract #114

Open
kellertuer opened this issue Aug 21, 2015 · 2 comments
Open

Line break in abstract #114

kellertuer opened this issue Aug 21, 2015 · 2 comments

Comments

@kellertuer
Copy link

Hi there,
thanks for providing such a nice way to include references in wordpress. I have a little problem with my abstracts - I include them in usual text format in the bib-File and use the following .tpl code snippet

@?abstract@
    <blockquote class="papercite_bibtex" id="papercite_abstract_@papercite_id@_block">
        @abstract@
    </blockquote>
@;abstract@

and some JS to show/hide the abstract. Nevertheless, the original abstract text sometimes includes linebreaks and even paragraphs (double line breaks) - these somehow vanish in this snipped - is there a way to include them? That would be very nice.

@bpiwowar
Copy link
Owner

There was some debate about this - some want line breaks to be respected, other do not... Difficult to solve this problem without introducing a new syntax, e.g.

@abstract:no-whitespace@

@kellertuer
Copy link
Author

I looked for the bib2tpl documentation but couldn't find anything, otherwise I ould've tried myself. But if there are different oppinions on that, you're right, it should be an option and I like your new syntax idea.

@bpiwowar bpiwowar added this to the 0.5.x milestone Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants