Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

LaTex doesn't compile in pdf #1

Open
mezun7 opened this issue Feb 4, 2016 · 7 comments
Open

LaTex doesn't compile in pdf #1

mezun7 opened this issue Feb 4, 2016 · 7 comments

Comments

@mezun7
Copy link

mezun7 commented Feb 4, 2016

Hi! Why LaTex is not compiling into pdf?
2016-02-04 12 02 15

@myungwoo
Copy link
Contributor

myungwoo commented Feb 8, 2016

Replacing
line 47, 48 of file views/tasks_preview.erb and
line 52, 53 of file views/tasks_edit.erb to

  <script type="text/x-mathjax-config">
    MathJax.Hub.Config({
        asciimath2jax: {
            delimiters: [['\\(','\\)']]
        },
        messageStyle: 'none',
        elements: ['content']//, 'mathSandbox']
    });
</script>
  <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full"></script>

works for me. 👍
I don't know how to use github stuff. So I'll just post solution for the issue here.

@myungwoo
Copy link
Contributor

myungwoo commented Feb 8, 2016

Or mathjax 2.5 upper upgrade will work.

@myungwoo
Copy link
Contributor

myungwoo commented Feb 8, 2016

#3 I send pull-request to fix this bug & other minor bugs.

@mezun7
Copy link
Author

mezun7 commented Feb 8, 2016

Or mathjax 2.5 upper upgrade will work.

Doesn't work correctly. Tried this solution several days ago. The table doesn't fit into the pdf page.In the 4th or 3rd problem. U can see the problem

@myungwoo
Copy link
Contributor

myungwoo commented Feb 8, 2016

Which task did you mean?
I tested with IOI2014 Day2 Tasks in English, and it works well.

+) By the way, how about the above solution?

@mezun7
Copy link
Author

mezun7 commented Feb 14, 2016

Also problems with right to left directed languages. Don't you know where the bug is?
ar

@mezun7
Copy link
Author

mezun7 commented Feb 14, 2016

The problem with table is here. Task 3.
2016-02-14 12 42 30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants