Git Product home page Git Product logo

zotitle's Introduction

Zotitle

Very simple zotero plugin to change title case of selected Zotero items into UPPERCASE, lowercase, Sentence case or Title Case.

Install by downloading the initial release v1.0.0

This is my first Zotero plugin. If you find any issues or have any comments or suggestions, please let me know!

Forthcoming updates:

  • add preferences to:
    • allow user-defined exceptions to upper and lower case changes
    • enable to keep country names capitalized per default
    • enable to keep propositions lowercase per default
  • add new functionality to italicize user-defined scientific terms

Change log and credits:

zotitle's People

Contributors

manuelarunge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zotitle's Issues

Some thoughts on the scope of this plugin

Hello, ManuelaRunge! I was browsing GitHub and came across this plugin by accident, great idea on your part! Thank you! Also, I have some ideas as follows:

  1. Zotero is about to release its 7th major update, so for the convenience of compatibility, I think we can target Zotero 7 1. Of course, it's up to you.
  2. The official Zotero documentation suggests always storing the title in sentence capitalization, so that the CSL handles "sentence capitalization" correctly 2.
  3. Conversion to sentence capitalization has already been added to Zotero.Untilies, and the new function is adapted to cover most cases and most proper nouns 3, so I don't think we need to duplicate this part of the wheel, and can pr more exceptions to this repository. This function is already available in Zotero 7.
  4. The plugin can directly call Zotero.Untilies to implement sentence-style case and additionally add features such as custom terms.

I have also developed a plugin that extends the official sentence case conversion for your reference: https://github.com/northword/zotero-format-metadata/blob/ae46c80ef83d5903411991111c55054c36f5759b/src/utils/str.ts#L75-L156 , looking forward to communicate with you.

In addition, I recommend you to browse the Zotero plugin template maintained by windingwind, which supports typescript type checking and uses zotero-types for type hints! 4 I think it can greatly facilitate plugin development!

Footnotes

  1. https://www.zotero.org/support/dev/zotero_7_for_developers

  2. https://www.zotero.org/support/kb/sentence_casing

  3. https://github.com/zotero/utilities/blob/master/utilities.js

  4. https://github.com/windingwind/zotero-plugin-template

Please release this

Hi,

Fantastic that you are working on this project! I would love to use it - such a frustrating problem.

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.