Thanks for a great community and site! A lot of knowledge here and I am reaching out to with the hope that you can suggest a solution or point me in the right direction. I have tried to search for similar queries but I have not yet found something that took me all the way.
Here is the problem.
I am doing a book on quotes and as you can imagine, there are some people who reoccur with many quotes and I want to ensure that there is a consistent attribution for those who are cited multiple times throughout out the book. In the best of worlds I would like to have a shortcut to call that would contain a number of strings. Some attempts I have tried look as follows:
\def\ReplaceStr#1{VladimirNabokov}[0]{
{Vladimir Nabokov}
{1899-1977}
{Novelist, poet, translator, and professor in entomology}
{Russia, USA, and Switzerland}
}
—
\newcommand{\authorVladimirNabokov}[0]{
{Vladimir Nabokov}
{1899-1977}
{Novelist, poet, translator, and professor in entomology}
{Russia, USA, and Switzerland}
}
The above would be general information included in the attributions. In addition to a specific quote, I would also like to add specific information on where the quote was first given (in this case, not using bib
items).
Optimally I would like to take take the shortcut and send it as parameter/set of strings to my command myattrib
that takes care of font formatting etc for the different parameters
For example, below would be two types of attributions, one general without any specific reference, and the second one would be the general information + specific information where the quote occurred.
\myattrib{\authorVladimirNabokov}
\myattriblong{\authVladimirNabokov{In}{the book "The Eye}}
As you can see, my futile attempts with using ReplaceStr as one alternative and new command as a second alternative did not work out well… it displays all the information but both fail to treat the set of strings as a set of strings; instead everything becomes one singular string in the processing.
Thanks in advance for any help! Kindly, Jorgen
Here are some additional information in response to the requests: Here is a an example quote how I would like it in the text:
"I am looking forward very much to getting back to Cambridge, and being able to say what I think and not to mean what I say: two things which at home are impossible. Cambridge is one of the few places where one can talk unlimited nonsense and generalities without anyone pulling one up or confronting one with them when one says just the opposite the next day."
Bertrand Russell, (1872-1970)
Noble prize laureate, British philosopher and logician etc
In “Letter to Alys Pearsall Smith (1893); published in The Selected Letters of Bertrand Russell, Volume 1: The Private Years (1884–1914), edited by Nicholas Griffin”
The reason why I did not see bib items as viable is merely due to my understanding that it is used for generating a bibliography at the very end of a collection, while here I want to include all the data next to the quote. The other thing with bib items is that, for example, say that I have 20 quotes of author X, I want only one place where I give the generic information about the author and not in 20 different bib items - this in order to simplify any updates that are likely for author X (for example in the revisioning in the publishing process).
Indeed, maybe there is a feasible approach with bib items that I don’t know of. My primary use of latex throughout the years has been for writing scientific articles so my tinkering with Latex and knowledge thereof are around what is typical of scientific publishing, where you might cite an article numerous times. Here in the quote collection, you only cite a quote once but you have the same author numerous times.
Hope this clarifies what I am hoping to achieve.
Thanks again.
.bib
files. Is there any reason why you don't want to use them? It would certainly not be impossible to implement a non-.bib
-file-pseudo bibliography, especially if you don't need anything super fancy, but why do that if there already is a solution readily available? In fact the first task (a database of people) can also be done with.bib
files, see tex.stackexchange.com/q/79342/35864. – moewe Dec 30 '18 at 9:33