vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - vLaTeX - Math parsing with LaTeX (https://vborg.vbsupport.ru/showthread.php?t=230589)

Pod 12-13-2012 04:07 PM

Quote:

Originally Posted by emath (Post 2390498)
in mimetex it worked with no problem, and we wrote for years like this .
is there anyway to enable this command ?

Well, mimetex has some small deviations from standard latex (see here: http://www.forkosh.com/mimetexmanual.html).

I think I can adapt the mod so you can chose a different formula wrapper (instead of the current $$) so the // command works for you. But I won't be able to do so before the weekend.

emath 12-13-2012 04:31 PM

ok, i think it would be great, it is necessary for everyone i guess.

emath 12-16-2012 05:31 AM

any progress within this weekend?
btw i found some more commands that doesnt work : \right , \Large{} and many others from this page : http://en.wikibooks.org/wiki/LaTeX/T...atting#Spacing which i used in mimetex with no problem, why does this happenning? the code should be the same isnt ?

Pod 12-16-2012 10:34 PM

Quote:

Originally Posted by emath (Post 2391022)
any progress within this weekend?

I just updated the mod with a functionality that will allow you to enable the \\. Update the mod (upload the files and upgrade the xml at the admincp). In vlatex options, you'll find the new setting "Equation Wrapping". Select the third option (the gather environment).

If you want the new setting to apply retroactively to old formulas, delete the pics folder and rebuild the postcache.

Quote:

Originally Posted by emath (Post 2391022)
any progress within this weekend?
btw i found some more commands that doesnt work : \right , \Large{} and many others from this page : http://en.wikibooks.org/wiki/LaTeX/T...atting#Spacing which i used in mimetex with no problem, why does this happenning? the code should be the same isnt ?

As I said in a previous post, mimetex defines a few non-standard commands that do not exist in stock latex, so those commands will not work out of the box. There's nothing I can do about that, since I'm neither mimetex nor latex developer. This mod just offers a interface to latex.

However, you can define the most useful commands to mimic mimetex behaviour as much as possible. You can do so in the "Preamble" option in vlatex settings page (the last one). I recommend not replacing the default content in there, just append your definitions. For instance, you can get something very similar to \Large by using

\let\Large=\large

The effect won't be the same, but at least old formulas won't be broken. Again, empty the pics folder and rebuild postcache to recreate old formulas after making changes.

emath 12-18-2012 06:14 AM

Quote:

Originally Posted by Pod (Post 2391189)
I just updated the mod with a functionality that will allow you to enable the \\. Update the mod (upload the files and upgrade the xml at the admincp). In vlatex options, you'll find the new setting "Equation Wrapping". Select the third option (the gather environment).

If you want the new setting to apply retroactively to old formulas, delete the pics folder and rebuild the postcache.



As I said in a previous post, mimetex defines a few non-standard commands that do not exist in stock latex, so those commands will not work out of the box. There's nothing I can do about that, since I'm neither mimetex nor latex developer. This mod just offers a interface to latex.

However, you can define the most useful commands to mimic mimetex behaviour as much as possible. You can do so in the "Preamble" option in vlatex settings page (the last one). I recommend not replacing the default content in there, just append your definitions. For instance, you can get something very similar to \Large by using

\let\Large=\large

The effect won't be the same, but at least old formulas won't be broken. Again, empty the pics folder and rebuild postcache to recreate old formulas after making changes.

great, thanks alot !

jackvb2013 06-23-2013 10:15 AM

Great Job!!

oxide11 09-21-2013 01:34 PM

Hi, I have installed the TEX live ... i have problem

the editor can't post the formulea in proper form the tag [TEX] formulea [TEX] is missing from the editor. When I'am adding tags all works fine what can be wrong?

Pod 09-21-2013 02:40 PM

Quote:

Originally Posted by oxide11 (Post 2447094)
Hi, I have installed the TEX live ... i have problem

the editor can't post the formulea in proper form the tag [TEX] formulea [TEX] is missing from the editor. When I'am adding tags all works fine what can be wrong?

If I'm undestanding you, you have the mod working but you have to manually type the [tex] tags? So just you're missing the "tex" button?

oxide11 09-21-2013 02:59 PM

yes that the one I'am trying to install Ghostscript i don't know if this helps

Vbulletin 4.2.1 Web www.4-40.co.uk


I haven't got root access by ssh so finally I manage to install the TEX live on different location than usr/bin/

Is the Ghostscript realy needed for this script?

Pod 09-21-2013 03:24 PM

Quote:

Originally Posted by oxide11 (Post 2447101)
yes that the one I'am trying to install Ghostscript i don't know if this helps

Vbulletin 4.2.1 Web www.4-40.co.uk


I haven't got root access by ssh so finally I manage to install the TEX live on different location than usr/bin/

Is the Ghostscript realy needed for this script?

You already have everything you need installed, including ghostscript. In fact, the mod is working all right (I just checked by registering at your site; nice design btw).

The button in the editor is not installed by the mod itself, but you can install one using vb's built-in system. In the admincp, there's a section for vb codes, were you can create a tex vb code.


All times are GMT. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01150 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete