Fails to render colors from xcolor package in LaTeX PdfTeX document
See original GitHub issueAttach (recommended) or Link to PDF file here:
color_test.pdf https://www.overleaf.com/read/hmnyprntcdbb
This is a simple LaTeX document that uses the xcolor
package to make some text in the document blue (using the \textcolor{blue}{text goes here}
command.
Configuration:
- Web browser and its version: Firefox 103.0.1
- Operating system and its version: openSUSE Tumbleweed
- PDF.js version: 2.15.129
- Is a browser extension: I think so?
Steps to reproduce the problem:
- Open the PDF in pdf.js
What is the expected behavior? (add screenshot)
The text should be blue - this screenshot is from Gnome’s Document Viewer application, but it also renders correctly in Overleaf’s PDF viewer.
What went wrong? (add screenshot)
In pdf.js the text is black, not blue (looking it now it also appears the background is light gray instead of white but that’s not the most important issue)
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Package xcolor Error with classicthesis
I am writing my thesis using classicthesis but i've been getting the same error over and over. Package xcolor Error: Undefined color ......
Read more >Extending LATEX's color facilities: the xcolor package
Abstract xcolor provides easy driver-independent access to several kinds of colors, tints, shades, tones, and mixes of arbitrary colors by means of color...
Read more >The Changebar package
They define the user command \cbcolor and load either the color or the xcolor package. If a configuration file specifies the color option...
Read more >Undefined control sequence - Overleaf, Online LaTeX Editor
I want to include a space after the word \LaTeX\xspace but I have forgotten to load the xspace package. In this example, the...
Read more >The implementation of the LaTeX Colour interface.
This package implements LATEX support for colour, for those dvi drivers ... \def\c@lor@error#1{\PackageInfo{color}{Undefined color #1}}%.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As Jonas said, it’s a dup of #15141 and bug 1778068.
Sorry for lack of response - I’ve confirmed that the workaround mentioned in #15141 (https://github.com/mozilla/pdf.js/issues/15141#issuecomment-1178646456) works for me. I’ve tested in Firefox Nightly 106.0a1 and the issue appears to be fixed.