Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Can't render latex code in Choices
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: Can't render latex code in Choices
#69075
Can't render latex code in Choices 2 Years, 5 Months ago Karma: 0
Nice to meet you.

I have purchased "ARI Stream Quiz - Personal v. 1.7.4".
The quiz I want to make is about mathematics.
When I actually try to make the quiz, the latex codes don't seem to work correctly.

It worked fine in the free version.
Is it possible to use latex codes in Personal v. 1.7.4?

FYI, I am running the latest version of WordPress and using MathJax-latex to render Latex codes. Best regards.
File Attachment:
File Name: _____________2022_07_20_134459.zip
File Size: 12271
Last Edit: 2022/07/20 04:53 By takuya.
The administrator has disabled public write access.
 
#69081
Re:Can't render latex code in Choices 2 Years, 5 Months ago Karma: 760
Hello,

Do you use a plugin to show LaTeX expressions?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#69082
Re:Can't render latex code in Choices 2 Years, 5 Months ago Karma: 0
Thanks for the reply.

I am using MathJax-LaTeX ver 1.3.11.
The administrator has disabled public write access.
 
#69090
Re:Can't render latex code in Choices 2 Years, 5 Months ago Karma: 0
Hello.

Please find attached additional images.
As you can see in the image, in the basic version, the latex is available, but not in the pro version.
Please let me know how to deal with this.

Best regards
File Attachment:
File Name: 20220723.zip
File Size: 68198
The administrator has disabled public write access.
 
#69091
Re:Can't render latex code in Choices 2 Years, 5 Months ago Karma: 760
Hello,

Open "ARI Stream Quiz -> Settings -> Advanced" page and populate "Custom JS code" parameter with the following code:

Code:


jQuery(function($) {
  setTimeout(function() {
    var quizzes = jQuery('.ari-stream-quiz').ariStreamQuiz();
    if (!quizzes) return;
    if (!(quizzes instanceof Array)) quizzes = [quizzes];
    $.each(quizzes, function(idx, quiz) {
        var buildQuiz = quiz.buildQuiz;
        quiz.buildQuiz = function(data) {
           buildQuiz.call(quiz, data);

           if (typeof(MathJax) != 'undefined') {
            MathJax.Hub.Queue(["Typeset",MathJax.Hub,quiz.el.get(0)]);
          }
        }
    });
  }, 10);
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#69093
Re:Can't render latex code in Choices 2 Years, 5 Months ago Karma: 0
The above settings were successfully handled. Thank you very much.
The administrator has disabled public write access.
 
Go to topPage: 1