I just started learning LaTeX and I've gotten the standard method of making references to work. However where I'm from, we make references like this:
1. We must point a reference to certain pages in a book/article/etc. This can be either "(45" or (45-47"
2. We also need to write the last name of the author and the year the book was published. It looks like this: "name-of-author:year)"
So all in all, it has to look like this: (PAGES AUTHOR:YEAR). This has to be in the actual text in the report/article/etc. that we're writing. It would kinda look like this:
yada yada yada yada (PAGES AUTHOR:YEAR). Yada yada yada yada
How can I do this? I've searched on google, but I couldn't find anything.
Any help would be appreciated. Thanks
BibTeX, biblatex and biber ⇒ A different type of reference
NEW: TikZ book now 40% off at Amazon.com for a short time.

A different type of reference
Hi,
I haven' tried myself but I think you should be able to do this by declaring new commands. Something likein the preamble, something like
in your *bib file and in your bibTeX reference itself have something like
This needs some playing around with as I doubt it will work as it is but I guess it's a start!
I haven' tried myself but I think you should be able to do this by declaring new commands. Something like
Code: Select all
\newcommand{\diffref}[1]{#1}
Code: Select all
@preamble{"\def\diffref#1{}"}
Code: Select all
\diffref{PAGES AUTHOR:YEAR}
Re: A different type of reference
Thanks for your help
I'll try to develop on the things that you've written.
