Last modified: 2006-01-31 01:21:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4795 - TexVC: named colours don't work
TexVC: named colours don't work
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Lup...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-29 23:26 UTC by Lupin
Modified: 2006-01-31 01:21 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
trivial patch to add the named option to dvips (859 bytes, patch)
2006-01-30 05:14 UTC, Lupin
Details
corrected patch (862 bytes, patch)
2006-01-31 01:04 UTC, Lupin
Details

Description Lupin 2006-01-29 23:26:01 UTC
Rob Church kindly committed some patches to texvc, but it hasn't been recompiled
for Wikipedia so they have no effect. Please could texvc be recompiled and
Wikimedia wikis updated?

(Filing bug as suggested on the Village Pump).
Comment 1 Brion Vibber 2006-01-30 02:22:21 UTC
Recompiled. If something still doesn't work, please provide some test cases.
Comment 2 Lupin 2006-01-30 05:14:28 UTC
There's a problem: the named colours don't work with the syntax

<math>\color{Purple}x^2+1</math>

as I'd intended - you need to say

<math>\color[named]{Purple}x^2+1</math>

which is annoying. I believe the attached one-line patch will fix this. Please
could you apply it and recompile? Sorry for the mess.

Comment 3 Lupin 2006-01-30 05:14:58 UTC
Created attachment 1332 [details]
trivial patch to add the named option to dvips
Comment 4 Brion Vibber 2006-01-30 06:07:31 UTC
Can you provide a page of test cases which don't work? That page seems to 
render fine as it.
Comment 5 Lupin 2006-01-30 12:52:39 UTC
Hm, that would be a good idea. I've updated the same page to show the working
versions and non-working versions.
Comment 6 Brion Vibber 2006-01-30 21:47:59 UTC
If I apply the patch (with whitespace adjusted, it doesn't apply as-is), all math 
renders fail.
Comment 7 Lupin 2006-01-31 01:04:31 UTC
Created attachment 1334 [details]
corrected patch

How galling. I've tested this one on my local installation, so please give it a
try.
Comment 8 Brion Vibber 2006-01-31 01:21:32 UTC
This one works. Applied, recompiled.

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


Navigation
Links