Comments (8)
I've set my citar-templates
to
((main . "${author editor:30} ${date year issued:4} ${title:48}")
(suffix . " ${tags keywords keywords:*} ${=key= id:15} ${=type=:12}")
(preview . "${author editor} (${year issued date}) ${title}, ${journal journaltitle publisher container-title collection-title}.\n")
(note . ""))
and it persists. Before I had
(note . "Notes on ${author}, ${title}")
but that had no effect, as the title was taken from the prompt oferred which was populated with the title, in accordance with citar-denote-title-format
from citar-denote.
Hi Jonatan,
I am glad the package is helpful to you.
This behaviour does not occur in my workflow. I use citar-open
in most cases.
The citar-denote-create-note
function creates new notes. This function does not use citar-templates
but invokes the denote
function.
My config is here: https://github.com/pprevos/emacs-config/blob/main/emacs-configuration.org
Lets try to isolate the cause.
P:)
from citar-denote.
that's very strange, so citar-denote-create-note
just passes the requested file title, without the #+title? what would make denote do this..? it's also strange the way the whole top of the file gets marked.
from citar-denote.
Hi Jonatan,
The string "#+title:"
does not appear anywhere in the citar-denote
source code. The package generates notes using the denote
function from the Denote package. My package inserts a generated title and keywords with an optional subdirectory. It then adds the reference key to the front matter.
I'll have to check what the Citar templates do. I have never used them before.
from citar-denote.
Hi Jonathan,
Has this issue been resolved?
P:)
from citar-denote.
from citar-denote.
Hi Jonatan,
I am unable to replicate your issues.
What is the value of the denote-prompts
variable? Do you use a Denote template?
Also, are you using the latest version of Denote and Citar-Denote?
I have tried to replicate your problems with this minimal install, but everything works fine with new note creation. Could you find which part of your config causes the issue?
;; Minimum citar-denote configuration
;; Assumes all required packages are installed
;; Use-package
(package-initialize)
(require 'use-package)
;; Citar
(use-package citar ;; version
:custom
;; Location of bibliography
(citar-bibliography '("~/Documents/library/lucidmanager.bib")))
;; Denote
(use-package denote
:custom
;; Folder where Denote files lives
(denote-directory "~/Documents/notes/"))
;; Citar-denote
(use-package citar-denote
:init (citar-denote-mode))
;; Mini Buffer Completion
;; Enable vertico
(use-package vertico
:init
(vertico-mode)
:custom
(vertico-sort-function 'vertico-sort-history-alpha))
from citar-denote.
Unable to replicate.
from citar-denote.
Related Issues (20)
- Using specific directory for citar notes HOT 3
- Obsolete symbols, some further integration HOT 5
- Include subdirectory? HOT 7
- Feature request: Add support for citations in the backlinks buffer ? HOT 4
- reference key as target-finder? HOT 11
- Running citar-create-note doesn't add a "#+reference" HOT 5
- Author (year) as title HOT 31
- Add additional information from bibliographic entry into note, with pre-defined formatting? HOT 4
- Create a denote note including the citekey and bib keyword in one step. HOT 6
- Miss candidate with citar-denote-find-citation HOT 6
- add an easy way to insert a link to the note of a given reference? HOT 7
- citar-denote-generate-title: Wrong number of arguments: (1 . 1), 3 HOT 8
- Reference key in Signature HOT 5
- Wrong number of parameters for denote-link HOT 3
- Possibility of multiple "bibliographic notes" per file HOT 1
- “Buffer is not a Denote file” Error HOT 4
- Notes linked using `citar-denote-add-citekey` are not visitable HOT 9
- Allowing user-facing functions to be called programmatically HOT 4
- citar-denote-find-cites doesn't include files with only '#+reference:' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citar-denote.