Generalmciteplus | Bibliography Problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
galakhad
Posts: 6
Joined: Mon Oct 31, 2011 4:58 pm

mciteplus | Bibliography Problem

Post by galakhad »

Hi,
I'm trying to customize my references list (I'm writing an article in achemso style) using {thebibliography} and \bibitem list. Since several times I need to have a sub-list of references, instead of {thebibliography} I used {mcitethebibliography}. It works fine when I'm citing the header together with the tail references (like \cite{header,*tail1,*tail2}), but as soon as I want to cite one of the tail references alone afterwards using \mciteSubRef{tail2} I'm getting ??? after compiling the tex file.
Does anyone know the way out?

Thank you in advance,
Sincerely,
Iakov

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: mciteplus | Bibliography Problem

Post by josephwright »

Constructing your own bibliography environment for mciteplus is pretty tricky. Is there a reason you are not using BibTeX?
Joseph Wright
galakhad
Posts: 6
Joined: Mon Oct 31, 2011 4:58 pm

Re: mciteplus | Bibliography Problem

Post by galakhad »

Frankly speaking, using bibtex I faced with another problem (http://www.latex-community.org/forum/vi ... 50&t=15896) which I'm also facing using thebibliography. Actually, now I managed to cite the tail citations using \mciteSetSublistMode{}, but I'm still having my main problem - both with bibtex and with thebibliography I can't add some text in the beginning of the sub-list of references in the form:
"(4) Some text: (a) header_ref; (b) tail_ref1; (c) tail_ref2."
Both in bibtex and thebibliography I can add this text to the beginning of the header reference and using \mciteSetSublistMode{b} I can get:
"(4) Some text: header_ref; (b) tail_ref1; (c) tail_ref2."
but that's not exactly what I want. I know JACS can do that somehow, but may be they have their internal tools to do that in the final article appearance, which is not available to others.. Although I doubt that one cannot do such a thing in Latex.

Thank you for your time!
User avatar
twotoneblue
Posts: 15
Joined: Sat Aug 29, 2009 8:20 pm

mciteplus | Bibliography Problem

Post by twotoneblue »

I believe we have discussed parts of this before :D

http://www.latex-community.org/forum/vi ... =50&t=5812

-ttb
galakhad
Posts: 6
Joined: Mon Oct 31, 2011 4:58 pm

Re: mciteplus | Bibliography Problem

Post by galakhad »

Hi, thanks for answering!
Thanks for pointing me to this discussion! In fact, I've looked at it before and used a trick about mciteSubRef tuning from there, but didn't read it all) But now, after looking through, I still don't feel satisfied... As far as I understood, your remedy (judging by the last example) would be using \bibnote in which manually writing the text for citations. But that makes it impossible to cite those references later in the text.. Or is it still possible to use \bibnote{...\bibentry{headref,*tailref}...} ?

Thank you for your time!
Iakov
User avatar
twotoneblue
Posts: 15
Joined: Sat Aug 29, 2009 8:20 pm

mciteplus | Bibliography Problem

Post by twotoneblue »

Hi Lakov,

EDIT: This answers the OP's first question! :D

You need to get the newest packages, and then add to the preamble:

Code: Select all

\usepackage{rsc} 
\usepackage{mciteplus} #load it last of all packages

\renewcommand*\mcitesubrefform{% 
\textsuperscript{%
\arabic{mcitebibitemcount}
\alph{mcitesubitemcount}
}
}
\mciteSetSublistMode{f}%or another list style, check the manual
\mciteSetMidEndSepPunct{%
\vspace{5pt}\linebreak}{}{}
sorry for the poor formatting...

These days I sometimes use either:

Code: Select all

\cite{ref,*subref1,*subref2}
or

Code: Select all

\nocite{ref,*subref1,*subref2}
in the beginning of a paragraph or chapter. And then I can call the subrefs later with:

Code: Select all

\mciteSubRef{subref2} 
when I need them. This gives me a superscript citation (type "2a", "4c") and a nice list in the bibliography with 1a) b) c) and so on..

hope this helps :D
User avatar
twotoneblue
Posts: 15
Joined: Sat Aug 29, 2009 8:20 pm

mciteplus | Bibliography Problem

Post by twotoneblue »

Lakov,

I see now that it was I who had not been reading closely enough! :shock:
I suppose the above info is of little value in answering your second question, which treated getting text in before the citation list.

In any case, I completely agree with you that having to write it out manually, which was as far as I came the last time I tried, was not a good solution! :D

Please do post back, if you figure out a way to do this! Even though typographically it is somewhat frowned upon, I think there is a real use for this in chemistry texts, where a pretexted bibliography entry can convey a handy guide to the reference being given.

-ttb
kiera2
Posts: 3
Joined: Tue Jun 03, 2008 3:18 am

Re: mciteplus | Bibliography Problem

Post by kiera2 »

Hi, I'm also trying to find a way to add text to the beginning of my references - if anyone has figured out a way to do this I'd really appreciate it!

(By the way MASSIVE thanks to twotoneblue for that bit for formatting subreferences!)
Post Reply