Check out the FREE chatroom mod for IPB 3.x

>  LaTeX Hack v1.0.1
Short Description
With this mod your users can use LaTeX in their posts, the formulas they made will apear in an...

Detailed Description


With this mod your users can use LaTeX in their posts, the formulas they made will apear in an image in their post



Features:

- Allow users to post formulas (and more) with LaTeX

- LaTeX can be edited in the posts with edit

- LaTeX strings are stored in the database to avoid double images

- The quoting works and the LaTeX can be edited in the quote

- LaTeX can be turned on/off in each forum like ibf-code or html

- LaTeX can be used in the messenger

- You get the LaTeX errors back if you supplied false LaTeX

- In the AdminCP you can get stats of the use of LaTeX and clean the database/images, even rebuild all posts with LaTeX

- The following LaTeX enviroments are supported: displaymath, eqnarray, tabular, itemize (but can be installed at will)

- It is just completely integrated


For use of this mod you need the following programs installed on your server:
- LaTeX
- dvips
- pstoimg


Screenshots:

- Screenshot 1
- Screenshot 2
- Screenshot 3
- Screenshot 4
- Screenshot 5



Bugs:
- none that I know of (at this time)

History:
12-02-2003
- Removed Quote bug in post_q_reply_post, 3 lines edited
v1.0.1: 30-01-2003
- Added Admin Logs
- Fixed emoticon bug in "Rebuild posts"


For any suggestions/bugs or if you need another enviroment, plz contact me
Download

>  LaTeX Hack v1.0.1, User Contributed Files
File Information
Date Submitted: January 29, 2003
Downloads: 194
Downloads Per Day: 0.0700
Views: 5,121
Compatibility: Invision Power Board v1.1
File Version: v1.0.0
File Size: 25.897 KBytes
Demo Link: None
Allow Upgrades w/o Your Permission?: No
Upgrade Terms for this Submission: None
Support Topic: Click Here
Report File: Report Broken Mod
File Rating
BadOkGoodGreatExcellent(4/5 (6 votes)
Please login to vote.
(you must login to be able to cast your vote)

User Comments (View Topic)
December 1 2005, 09:57 AM
by purifier
Is this mod available for v2.0.3? This is indeed a fabulous mod... And i'm sure there are many more hoping to see an upgrade for this mod... Please...
February 7 2004, 02:26 PM
by pope
is it available for 1.2 or 1.3? would be great

thanks

pope
September 4 2003, 07:27 AM
by chiang
Does anyone can make it work in virtual host? I always get errors as follows,

======================================

THE FOLLOWING ERROR(S) WERE FOUND
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex 2002.4.12) 4 SEP 2003 14:17 **9907.tex (9907.tex LaTeX2e <2000/06/01> Babel and hyphenation patterns for american, french, german, ngerman, i talian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2000/05/19 v1.4b Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2000/05/19 v1.4b Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty Package: amssymb 1996/11/03 v2.2b (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty Package: amsfonts 1997/09/17 v2.2e \@emptytoks=\toks14 \symAMSa=\mathgroup4 \symAMSb=\mathgroup5 LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' (Font) U/euf/m/n --> U/euf/b/n on input line 133. )) (/usr/share/texmf/tex/latex/amsmath/amsmath.sty Package: amsmath 2000/07/18 v2.13 AMS math features \@mathmargin=\skip43 For additional information on amsmath, use the `?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty Package: amstext 2000/06/29 v2.01 (/usr/share/texmf/tex/latex/amsmath/amsgen.sty File: amsgen.sty 1999/11/30 v2.0 \@emptytoks=\toks15 \ex@=\dimen103 )) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty Package: amsbsy 1999/11/29 v1.2d \pmbraise@=\dimen104 ) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty Package: amsopn 1999/12/14 v2.01 operator names ) \inf@bad=\count87 LaTeX Info: Redefining \frac on input line 211. \uproot@=\count88 \leftroot@=\count89 LaTeX Info: Redefining \overline on input line 307. \classnum@=\count90 \DOTSCASE@=\count91 LaTeX Info: Redefining \ldots on input line 379. LaTeX Info: Redefining \dots on input line 382. LaTeX Info: Redefining \cdots on input line 467. \Mathstrutbox@=\box26 \strutbox@=\box27 \big@size=\dimen105 LaTeX Font Info: Redeclaring font encoding OML on input line 567. LaTeX Font Info: Redeclaring font encoding OMS on input line 568. \macc@depth=\count92 \c@MaxMatrixCols=\count93 \dotsspace@=\muskip10 \c@parentequation=\count94 \dspbrk@lvl=\count95 \tag@help=\toks16 \row@=\count96 \column@=\count97 \maxfields@=\count98 \andhelp@=\toks17 \eqnshift@=\dimen106 \alignsep@=\dimen107 \tagshift@=\dimen108 \tagwidth@=\dimen109 \totwidth@=\dimen110 \lineht@=\dimen111 \@envbody=\toks18 \multlinegap=\skip44 \multlinetaggap=\skip45 \mathdisplay@stack=\toks19 LaTeX Info: Redefining \[ on input line 2666. LaTeX Info: Redefining \] on input line 2667. ) (/usr/share/texmf/tex/latex/bbm/bbm.sty Package: bbm 1999/03/15 V 1.2 provides fonts for set symbols - TH LaTeX Font Info: Overwriting math alphabet `\mathbbm' in version `bold' (Font) U/bbm/m/n --> U/bbm/bx/n on input line 33. LaTeX Font Info: Overwriting math alphabet `\mathbbmss' in version `bold' (Font) U/bbmss/m/n --> U/bbmss/bx/n on input line 35. ) LaTeX Warning: Unused global option(s): [9pt]. No file 9907.aux. \openout1 = `9907.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. this is a marker LaTeX Font Info: Try loading font information for U+msa on input line 8. (/usr/share/texmf/tex/latex/amsfonts/umsa.fd File: umsa.fd 1995/01/05 v2.2e AMS font definitions ) LaTeX Font Info: Try loading font information for U+msb on input line 8. (/usr/share/texmf/tex/latex/amsfonts/umsb.fd File: umsb.fd 1995/01/05 v2.2e AMS font definitions ) [1 ] (9907.aux) ) Here is how much of TeX's memory you used: 1091 strings out of 20887 11352 string characters out of 196274 56348 words of memory out of 350001 4076 multiletter control sequences out of 10000+15000 5339 words of font info for 22 fonts, out of 400000 for 1000 14 hyphenation exceptions out of 10000 27i,5n,24p,216b,165s stack positions out of 3000i,100n,1500p,50000b,4000s Output written on 9907.dvi (1 page, 264 bytes).

=======================

Post Preview
as = 10

=======================

The result occured by typing [eqnarray]as = 10[/eqnarray] in the box. There is no images generated but texts instead.

Could anyone please give me some check-points?

Thanks in advance, I appreciate your helps,

William
August 27 2003, 04:44 PM
by michaeljackson
what exactly is latex?
August 27 2003, 04:30 PM
by -NicO-
Hi,

great job ...

but the \\ (newline) doesn't work with the displaymath enviroment. Why ?
July 12 2003, 10:50 PM
by SunTzu
This modification is absolutely fabulous!

To answer your question, frust: you will probably have to edit sources/lib/post_parser.php.
The backslash is an escape character in PHP, so every double backslash will become a single backslash, and every single backslash will vanish.
Highly annoying, I must admit. Or you could just type four backslashes if you intend to preview it first, and then click on send if everything's okay.
The same goes for all the HTML entities you write, for example &amp; (only if you have allowed HTML code in that particular forum).
May 15 2003, 12:49 PM
by frust
Hi,

first of all many thanks for this very useful mod!! It helps me great.

But I've got a small Problem:
when creating a new post with [eqnarray] following will happen:

INSERT:
[eqnarray]a&=&5x+7\\
b&=&3x-2\\
c&=&13x+6\\
[/eqnarray]

TYPE: PreviewPost

then I get a correct preview but in the edit pane I get

[eqnarray]a&=&5x+7\
b&=&3x-2\
c&=&13x+6\
[/eqnarray]

and another preview or the finally post will fail.
Can you tell me where I have to patch the code?

Thanks in advance,
Frank


Invision Skins · IPB Skins