Giter Site home page Giter Site logo

Comments (7)

odomanov avatar odomanov commented on August 11, 2024

Thank you for spotting it!

I don't remember why it's there. I need to contemplate a little bit.

from biblatex-gost.

odomanov avatar odomanov commented on August 11, 2024

I added \bibsentence in Feb 2014 because "op. cit" was not capitalized without it. Now it seems that \labelnamepunct is enough. Perhaps something has changed.

from biblatex-gost.

moewew avatar moewew commented on August 11, 2024

I added \bibsentence in Feb 2014 because "op. cit" was not capitalized without it. Now it seems that \labelnamepunct is enough. Perhaps something has changed.

Thought as much. If \labelnamepunct is something like \addperiod\space or some other sentence-ending punctuation, then the following bibstring should be capitalised automatically. There is a caveat here, though. The code uses \setunit*, which does nothing if the previous \printfield or \printnames didn't print anything. So you may end up with punctuation that was in the buffer prior to the invocation of the macro which may or may not contain a punctuation command that triggers capitalisation. In most situations you will probably end up with \labelnamepunct, which will probably be defined with \add... commands that trigger capitalisation. But this is not guaranteed from within cite:opcit alone. (I thought you might have added the explicit \bibsentence to address some weird edge case.)

If the 'op cit' should always be capitalised (no matter if the previous punctuation requires it) it might be easier to force the capitalised string with

\bibcpstring[\mkibid]{opcit}

instead of

\bibstring[\mkibid]{opcit}

But unless you know of a pathological test case, I'd probably just remove the \bibsentence% and let biblatex's automatic (which is usually quite good) handle the rest.


BTW \labelnamepunct has been deprecated in favour of the context-sensitive delimiter nametitledelim.

from biblatex-gost.

odomanov avatar odomanov commented on August 11, 2024

labelnamepunct is precisely equal to \addperiod\space.
Ok, I've just removed \bibsentence, my tests show nothing suspicious so far.
I submitted corrections to CTAN.

from biblatex-gost.

odomanov avatar odomanov commented on August 11, 2024

I didn't know about context-sensitive delimiters. I feel I need to reread the biblatex manual regularly to stay on top)))

from biblatex-gost.

moewew avatar moewew commented on August 11, 2024

For the most interesting changes you don't have to read all 300-something pages of the manual. The changelog at the end together with the more technical http://mirrors.ctan.org/macros/latex/contrib/biblatex/CHANGES.md and style-author-focussed https://github.com/plk/biblatex/wiki/Changes-to-the-standard-styles should keep you up to date with the most relevant things. Of course it helps to review the code of the standard styles from time to time to see what has changed if you want your style to keep up with the standard styles.

from biblatex-gost.

odomanov avatar odomanov commented on August 11, 2024

Oh, thank you. I did know about the former but not the latter, it's really useful.

from biblatex-gost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.