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

Omit Authors in Inline Footnotes #5154

Closed
1 of 3 tasks
dstark opened this issue May 9, 2024 · 8 comments
Closed
1 of 3 tasks

Omit Authors in Inline Footnotes #5154

dstark opened this issue May 9, 2024 · 8 comments
Labels
enhancement This is an enhancement to a feature of Zettlr.

Comments

@dstark
Copy link

dstark commented May 9, 2024

Description

As I understand it, author names can be suppressed by adding - ahead of the @ symbol. This works fine for "regular" citations. But for citations in inline footnotes, the suppression doesn't appear to work. Instead, the - simply gets added before the citation as in the screenshot below.

Screenshot 2024-05-09 132639

Proposed Changes

Have author suppression work by adding - before @ including in the context of inline footnotes.

Caveats

It should be possible to escape - if that literal character needs to be printed, so I'm not seeing any downsides. (Though, admittedly, this is quite new … and my apologies if the request results simply from my not finding and following the proper syntax.)

Do you Wish to Attempt Implementing this Yourself?

No

Zettlr Version

Stable (most recent version)

Your Platform

  • Windows
  • macOS
  • Linux

Operating System Version

Windows 10 and 11

Additional Information

No response

@dstark dstark added the enhancement This is an enhancement to a feature of Zettlr. label May 9, 2024
Copy link

boring-cyborg bot commented May 9, 2024

Thanks so much for opening up your first issue here on the repository! 🎉
We would like to warmly welcome you to the community behind the app! ☺️
We'll check in soon and have a look at your issue. In the meantime, you can
check your issue and make sure it aligns with our contribution guidelines!
Here's the comprehensive list:

NOTE: Please do not share screen captures of buggy behavior on YouTube.
If you have uploaded a video on YouTube and linked it already, don't
worry! But, we would like to ask you to remove the video from YouTube
and upload it directly to GitHub instead, by editing your comment.
Read more here.

Enhancements

An enhancement takes a feature and improves or alters its behaviour. Please
make sure to argue how your proposition will aid non-technical text workers,
and why it can't be emulated easily with other features or apps!

Feature requests

Feature requests introduce whole new features into the app. This requires a
lot of work, so these might be turned down if the implementation costs
supersede the benefits we expect to see from implementing it. Please do not
be disappointed if that happens. It likely has nothing to do with your great
request but simply with us and our missing resources!

You can of course always ask someone to implement this feature, because a PR
with a working new feature has much higher chances of being merged! :)

Bug reports

Please note that one of the main reasons for why bug reports cannot be
addressed is that there's not enough information for us to find and fix the
bug you describe, so make sure you try to pinpoint the bug as close as
possible.

The ideal bug report for us has two qualities:

  1. The bug is always reproducible, at least within a certain context.
  2. We know exactly what specifically goes wrong, and there is consensus on
    what should happen instead.

Please note that if you encounter behaviour that does not align with your
expectations of what would happen, this might as well be simply intended
behaviour and we need to simply clarify why the behaviour is the way it is.
This is not to be considered a bug and such issues may be closed! Suggest an
enhancement instead!

But now, have a great day and thank you again!

@nathanlesage
Copy link
Member

If I'm not mistaken, suppressing authors in online citations is not possible; I think that only works for citations within square brackets. Also, a good indication is that the citation in your file is not rendered, which is usually a good indicator that Zettlr does not recognize it as one, and subsequently it won't be exported properly either.

@dstark
Copy link
Author

dstark commented May 11, 2024

Got it. So, it seems it would also not be possible to suppress an author name in a non-inline note and avoid parentheses around that citation. Does that sound right?

image

@nathanlesage
Copy link
Member

I don't know. The Pandoc manual on citations is definitely the authoritative resource here.

@dstark
Copy link
Author

dstark commented May 17, 2024

I don't know. The Pandoc manual on citations is definitely the authoritative resource here.

Thanks, @nathanlesage. I haven't been able to sort this question out from the Pandoc manual and have asked in the discussion forum.

@dstark dstark closed this as completed May 17, 2024
@dstark
Copy link
Author

dstark commented May 21, 2024

I haven't been able to sort this question out from the Pandoc manual and have asked in the discussion forum.

In case anyone else stumbles upon this thread looking at this issue, it's now been handled in Pandoc 3.2 (see here).

@nathanlesage
Copy link
Member

Thanks for notifying me! Does Zettlr display this correctly? If not, please open another issue because then I'll have to adapt Zettlr's citeproc renderer so that it aligns with Pandoc's behavior again. It should be an "enhancement" request.

@dstark
Copy link
Author

dstark commented May 22, 2024

Does Zettlr display this correctly? If not, please open another issue because then I'll have to adapt Zettlr's citeproc renderer so that it aligns with Pandoc's behavior again. It should be an "enhancement" request.

Yes, I'll watch for it. Apparently, it's not quite in Pandoc though but will be in the next release after 3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement to a feature of Zettlr.
Projects
None yet
Development

No branches or pull requests

2 participants