Bug 1384067

Summary: texlive-bibtex and texlive-koma-script are not compatible
Product: [Fedora] Fedora Reporter: nvwarr
Component: texliveAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: atu, novyjindrich, tcallawa, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-01 20:39:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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+).