Zettelkasten-Team / Zettelkasten

Zettelkasten-Developer-Builds
http://zettelkasten.danielluedecke.de
GNU General Public License v3.0
735 stars 94 forks source link

Insert short references in different citation styles #418

Closed sOER-Frank closed 1 year ago

sOER-Frank commented 2 years ago

What is my problem:

When I click on Footnote in the "Edit Note" window, the programme inserts a footnote and automatically adds the source citation based on the literature selected in the Literature window. However, I cannot quote in any other way. (This issue might in parts be related to Issue #249)

What i would like to change:

In the window "Edit notes", instead of the footnote button, there is a button "Cite" (or something similar). Here, there is a submenu from which I can select the way in which I would like to insert a short reference in the text. It would be great if I could choose from other common citation styles (DGP 4 is particularly interesting for me). If you click on DGP4, for example, the programme inserts a short reference in the text of the note like this: (Author, Year, Page) (based on the source selected in the Literature window) and inserts the long reference in the "Reference" field (i.e. the way ZKN3 already does it).

Thank you for your time!

RalfBarkow commented 2 years ago

@FrankZter In my view, different citation styles make sense in the context of publishing, not editing. When editing, we should focus on the content and not the layout. Separating content from layout is a basic principle. Layout is then added in the context of publishing (keyword: desktop/outliner and export).

The citation style is also relevant when importing BibTeX files. Here you can choose between 3 styles: Zettelkasten standard, CBE, and APA style.

And finally, I don't plan to make any changes to the existing user interface until the test coverage of the code base is improved to the point where changes can be made more easily without fear of causing errors elsewhere.

Maybe you want to try to implement the desired feature yourself?

RalfBarkow commented 2 years ago

@FrankZter (Author, Year, Page) can be achieved with, e.g., ([fn 4412:3]). You manually add a : with the page number.

sOER-Frank commented 2 years ago

([fn 4412:3]) works perfectly! Thats all i wanted!

Is there a tutorial for this feature or shall i make one (Youtube) are u interested in supplying tutorials?

You wouldn't believe how much I would like to be able to program myself and stop asking "Could you maybe...?". Unfortunately I can't do any programming and it would probably take me years to reach the level you are at here :(

I would really be helpful in any other way...

trutzig89182 commented 2 years ago

There is some documentation in this repositories Wiki: https://github.com/Zettelkasten-Team/Zettelkasten/wiki

Perhaps you could have a look an add any information that you are missing?

Otherwise if you want to make a video that would surely be nice. Perhaps it would be possible to refere to existing intruductory clips in the readme file or somewhere else?

RalfBarkow commented 2 years ago

BTW If someone wants to try to revise initStyles() https://github.com/Zettelkasten-Team/Zettelkasten/blob/361613c1569105b6924b413ca6e4c8ab9de28e30/src/main/java/de/danielluedecke/zettelkasten/database/BibTeX.java#L188-L434

trutzig89182 commented 1 year ago

As the initial question has been answered satisfactorily, I close this issue. Right now there seems no pressing need to revise the citation styles.