Does anybody know if it's possible from within a csl style to access the value of the fields "prefix" and "suffix" which the user can provide when creating a citation?
I'm still trying to find a solution for in-text citations like "Chomsky (1983) says bla bla bla...". I thought perhaps I could use these values to pass an information to the csl-style to use it in a condition...
But how is the prefix better here? That's still include manually typing stuff. More support for narrative citations is planned, but I don't think hacking CSL for this is the way to go.
I won't write the author in that field but some secret message (like e.g. "#") and then have a condition in the style that switches to a layout with parenthesis only for the date.
If want a CSL hack (which I really don’t recommend), the only way I can think of would be to do something like `if locator="sub-verbo"` (choosing a category of locator that you are unlikely to need), then entering a value in the sub-verbo field in the citation dialog.
For many reasons, I don’t think this is a good idea.
Though I think this is a very good idea, and i'll try that, thanks! Why should it be a better Idea to have numerous unlinked author names than sacrificing a locator type I only need once in 2034 years? I need a solution, not perfection (which would be to get a citation manager that knows basic citation types in the first place...)
My concern is that this means your document is dependent on having a specifically modified CSL style, and if you ever change styles, the document will be littered with junk data that is now likely to be shown (and your sentences will be ill-structured). Suppressing authors and typing the author name is robust to changing citation styles.
I completely understand that and I generally don't like such solutions either. But the situation forces me to do so and I still consider the price to be lower than using a dynamic database connection but entering the data by hand, which completely defeats the purpose of the application. If I ever have to change my style, I will repent of my transgression and change everything back by hand... ;-) Nevertheless, thanks for the hint. It works like a charm.
More support for narrative citations is planned, but I don't think hacking CSL for this is the way to go.
For many reasons, I don’t think this is a good idea.