Bug 1384067 - texlive-bibtex and texlive-koma-script are not compatible
Summary: texlive-bibtex and texlive-koma-script are not compatible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 13:11 UTC by nvwarr
Modified: 2016-11-01 20:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-01 20:39:22 UTC
Type: Bug


Attachments (Terms of Use)

Description nvwarr 2016-10-12 13:11:48 UTC
Description of problem:

bibtex with acm style generates a .bbl file, which is not compatible with the scrartcl class.

Version-Release number of selected component (if applicable):

texlive-koma-script-svn41038-7.fc25.1.noarch
texlive-bibtex-svn40768-7.fc25.1.noarch

How reproducible:

Always

Steps to Reproduce:
1. In .tex file use class scrartcl and bibliographystyle acm
2. run latex
3. run bibtex
4. run latex again

Actual results:

latex complains about \sc which has been deprecated for over two decades. However, it is \bibtex with the acm bibliography style, which generates the \sc. With Fedora 25 beta, this produces a latex error. Prior to this it gave a rather verbose warning, explaining that \sc was deprecated in 1994.

Expected results:

bibtex should not generate \sc.

Additional info:

Example test.tex file

\documentclass{scrartcl}
\begin{document}
Citing \cite{Somekey} we have {\ldots} 
\bibliographystyle{acm}
\bibliography{test}
\addcontentsline{toc}{section}{Bibliography}
\end{document}

Example test.bib file

@ARTICLE{Somekey,
  title= {The Title},
  author = {Author, An},
  journal = {Journal of Nowhere},
  year = {2016},
}

The bibtex stage generates the test.bbl containing the line:
{\sc Author, A.}

On the next latex run, it fails with:

! Class scrartcl Error: undefined old font command `\sc'.

See the scrartcl class documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.4 {\sc
         Author, A.}

As I workaround, I can change the line 184 of /usr/share/texlive/texmf-dist/bibtex/bst/base/acm.bst, replacing \sc with \scshape. Then it generates {\scshape Author, A.} and latex is happy.

Same problem with bibliographystyle{siam} with similar workaround.

Comment 1 Tom "spot" Callaway 2016-10-12 18:06:18 UTC
Thanks for the excellent bug report. Your fix will be applied in -10.

Comment 2 Anton Guda 2016-10-15 19:46:17 UTC
Seems to fixed on -10, but full tests unavailable now:
hitted by bug #1384586

Comment 3 Tom "spot" Callaway 2016-11-01 20:39:22 UTC
I've confirmed this is resolved in the current packages (f25+).


Note You need to log in before you can comment on or make changes to this bug.