## LaTeX forum ⇒ Text Formatting ⇒ Photo Citations in Tufte class

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
ghuczek
Posts: 23
Joined: Sun Dec 23, 2012 8:09 pm

### Photo Citations in Tufte class

I am working on a book project that has a large number of photos and captions in the margins. I need to give proper attribution (credit) for each photo. I do not want the citations to appear in the margins. Instead I would like to include a Photo Credits section in the backmatter, along with the Bibliography, Index and Glossary sections.

I am using Bibtex to include a bibliography. How would I add the photo credits in the backmatter. The \cite command or footnoting places the photo credits on the same page as the photos. The margins are already quite full with the photos and captions, so I do not want them to appear in the margins of the main text.

Can someone suggest a way to do this?

Tags:

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
This can easily be done with the modern package biblatex along with the bibtex-successor biber.

Have a look at the minimal example i once posted at the german site TeXwelt.de

The example is in german, but i guess you get the drift.

Maybe psot a complete but compilable example. I guess this can be done with the old system, but it will be much harder to achieve.
\begin{filecontents}{\jobname-bib.bib}     @online{texwelt,         author                  = {Die TeXwelt Gemeinschaft},         title                   = {Fragen und Antworten},         url                     = {www.texwelt.de/wissen}     }     @online{texwelt:biblatex,         author                  = {\texttt{biblatex}-Nutzer},         title                   = {topic \texttt{biblatex}},         url                     = {www.texwelt.de/wissen/topic/biblatex}     }     @book{knuth:ct:a,         author                  = {Knuth, Donald E.},         title                   = {The \TeX book},         date                    = 1984,         maintitle               = {Computers \& Typesetting},         volume                  = {A},         publisher               = {Addison-Wesley},          langid                 = {english},         keywords                = {sekundaer},         annotation              = {Viel Interessantes zu den         Grundlagen}     }     @report{norm,         author                  = {{NA 009-00-09 AA - Beschreibung     und Identifizierung von Dokumenten}},         title                   = {Information and documentation         -- Guidelines for bibliographic references and citations to information resources},         institution             = {Internationale Organisation für Normung},         keywords                = {Norm},         year                    = {2013}     }@manual{biblatex:Doku,     author                    = {Lehman, Philipp and Kime, Philip and Boruvka, Audrey and Wright, Joseph},     title                     = {The Biblatex Package},     date                      = {2014-06-24},     version                   = {2.9a}}\end{filecontents}\documentclass{article}\usepackage[ngerman]{babel}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage[backend=biber,defernumbers=false]{biblatex}\addbibresource{\jobname-bib.bib}\begin{document}Das Erscheinungsbild von Literaturverzeichnissen ist meistvorgegeben (beispielsweise in~\cite{norm}).Die Informationsquelle für das technische Erstellen vonLiteraturverzeichnissen ist die\texttt{biblatex}-Dokumentation~\cite{biblatex:Doku}. Jedochfinden sich auch im Internet Anlaufstellen fürHilfesuchende~\cite{texwelt}.\nocite{*}\printbibheading%[title=Blub]\printbibliography[heading=subbibliography,keyword=Norm, title={Normen und Standards}]\printbibliography[type=online, heading=subbibliography, title={Aus dem Netz}]\printbibliography[heading=subbibliography,keyword=sekundaer, title={Zum weiterlesen}]\printbibliography[heading=subbibliography,title={Der ganzeRest},nottype=online,notkeyword=Norm,notkeyword=sekundaer]\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

ghuczek
Posts: 23
Joined: Sun Dec 23, 2012 8:09 pm
Thank you. This is very helpful. From your code, it looks like I can sub-divide the bibliography into subbibliographies, and separate them with different keywords that I use in biblatex citation. I could use a key word for the photo citations, like keyword=photo and notkeyword=photo for all other bibliographic entries. The order of the \printbibliography entries would then be the order that these two separate bibliographies would be printed.

Does this seem like I have the right idea? If so, thanks very much. I did not know I could separate a bibliography into sections this way.

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Yes, you are on the right track. That is exactly the point.

package biblatex is very powerful, skimming the documentation for a few minutes will reveal some of it.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

ghuczek
Posts: 23
Joined: Sun Dec 23, 2012 8:09 pm
I am still experiencing difficulty with getting multiple bibliographies in the Tuft class. Glossaries are also causing some problems. Please have a look at the front end code to see if you could recommend any changes that would make this work properly.

I am creating my bibliographic database using BibDesk. When I try uncommenting the commented code shown that should enable me to use biblatex, I run into problems. Ant help would be appreciated.


Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
I cannot test your example, i don't have the bib file and there are no citations in the document.

Always test on a small document, later try to implement it on your working project. With biblatex, you don't need bibliographystyle anymore, worse, issuing the command will get you into trouble.

You tell LaTeX what bib-database to use by \addbibresource{nameOfYourBibFile.bib}. Be sure to give the ending as well. There was a backslash in my example. \jobname is a macro that makes testing easier, but should not be used in real documents.

Running into problems is a rather vague expression, giving the exact error message is smart. Remember, error messages are our friends.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.