Wikipedia talk:Texvc/Archive

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

The article contained the following references to the Wikipedia: namespace, which are discouraged for being "Wikipedia specific":

I've removed them for now, but I wonder if actually this whole article ought not to be on meta:, as it doesn't really merit inclusion in an encyclopedia. - IMSoP 12:55, 27 Jun 2004 (UTC)

Ah, I note meta:Texvc also exists, but is out of date... - IMSoP 12:57, 27 Jun 2004 (UTC)

Well in this case it's a very useful tool that

  • Merits mention on wikipedia. (I guess)
  • Happens to be used by wikipedia.

Oh dear. I guess this is going to be a case of Exception That Proves The Rule and Rules Being Made To Be Broken.

Hmph. Kim Bruning 13:05, 27 Jun 2004 (UTC)


Who wrote this? Who works on it? - Omegatron 15:38, August 10, 2005 (UTC)

Well, according to the README:
The program was written by Tomasz Wegrzanowski for use with MediaWiki;
I guess I'll add that into the article. As for who works on it, I rather suspect the answer is "nobody much", but its in the MediaWiki CVS, and bugs get filed in the same bug tracker, so I guess the "core developers" of MediaWiki in general could be said to "maintain" it. - IMSoP 16:13, 10 August 2005 (UTC)[reply]

babel package[edit]

Is there a way to modify Texvc so that it loads some packages before interpreting? I'm particularly interested in the babel package, so that the function names can appear properly written in any other language.

In Spanish, for example, the sine function is called "seno", so the proper abbreviation would be "sen" instead of "sin". In LaTeX, the command \sen works perfectly in math mode if the babel package has been loaded:

\usepackage[spanish]{babel}

while in Texvc, it doesn't work at all. Is there a way to make it work? --Fibonacci 03:32, 10 January 2006 (UTC)[reply]

This is probably not authorised, but I've found that you can do this sort
of thing by going to the mediawiki/math directory, and editing the
texutil.ml file. Search for the lines that say:

     let get_preface ()  = "\\nonstopmode\n\\documentclass[10pt]{article}\n" ^
             (if !modules_nonascii then get_encoding !modules_encoding else "") ^
             (if !modules_ams then "\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\usepackage{amssymb}\n" else "") ^
             (if !modules_color then "\\usepackage[dvips,usenames]{color}\n" else "") ^
             "\\pagestyle{empty}\n\\begin{document}\n$$\n"

You could probably add your \usepackage line in there. Then you'll need to make(1) in that directory.
I'm not sure how to make texvc re-process all the formulas it's already rendered, but it should work for new ones.
John Y 04:36, 3 May 2006 (UTC)[reply]
Also edit the function find below. —Preceding unsigned comment added by 78.37.96.129 (talk) 10:22, 22 April 2010 (UTC)[reply]

\input{abbrv}[edit]

Here's my problem: I've got a file with a lot of abbreviation which I usually include in my .tex documents. It would be very appreciate if I could include this file in texvc to use it in my wiki. I've already tried to modify the texutil.ml file in the "let find = function" part.

   | "\\myVar"            -> LITERAL (TEX_ONLY "Oh Cool My Beautiful Var")

and it works.

But it would be very useful to have an include and to be able to modify the file.

Ponsfrilus 16:07, 16 March 2006 (UTC)[reply]

Colours in formulae[edit]

When trying out different colours I discovered that many colours I thought of didn't work. I found out that LaTeX supports these named colours, but some part is still not working on Wikipedia.

So, I guess, Texvc is responsible for what colours are allowed? Where could I see a list of those colours? --Knakts 11:26, 19 September 2006 (UTC)[reply]

OK, never mind, I guess I was not using capital letters. It seems that those colour names are working although the colours themselves sometimes look differently than they should. --Knakts 11:36, 19 September 2006 (UTC)[reply]

Merge proposal[edit]

This isn't an independent program, it's just a MediaWiki extension. Pcap ping 10:01, 25 November 2008 (UTC)[reply]

Actually it is self-contained and was created by a third party (not a MediaWiki developer) in a different programming language. While has been well-integrated into MediaWiki it can just as easily be used in conjunction with other web software. Even if it was limited to MediaWiki this is not sufficient reason to merge it, just as we would not merge ChatZilla to Mozilla Firefox, etc. — CharlotteWebb 19:46, 6 December 2008 (UTC)[reply]
Can anyone give me a clue on how to use Texvc as an independent program?I think it is pretty useful to generate PNG from LaTeX code without writing a full document code.--Netheril96 (talk) 16:10, 17 September 2010 (UTC)[reply]