Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with inline equation #15

Open
ViktorRoy94 opened this issue Dec 20, 2017 · 3 comments
Open

Problems with inline equation #15

ViktorRoy94 opened this issue Dec 20, 2017 · 3 comments

Comments

@ViktorRoy94
Copy link

Hi!
Have some problems with inline equation like this
$\text z_s=w_0_s+\sum_{i}^{N_i}w_i_s x_i$
or
$\text y_j=w_0_j+\sum_{s}^{N_s}w_s_j f(z_s)$
Maybe I'm not using correctly your lib.
https://github.com/ViktorRoy94/deep_learning/tree/dev_vroy/lab1

@leegao
Copy link
Owner

leegao commented Dec 30, 2017

Hey Viktor, thanks for the report, I'll take a look at this

@leegao
Copy link
Owner

leegao commented Dec 30, 2017

So I tried it out from a local build and everything seems to be fine: https://github.com/leegao/readme2tex-tests

However, there could be differences in the tex compiler, when you try to build these equations, do you see a log line that states:

WARNING:root:'$\text y_j=w_0_j+\sum_{s}^{N_s}w_s_j f(z_s)$' has warnings during compilation. See /var/folders/dp/p13ddqm55pb88lwryzhn4jlc00dx3v/T/readme2tex-sL9RcS/c1bc737f1671da53dbd9b061d8ed69a8

if so, what does the log say?

@ViktorRoy94
Copy link
Author

Yes, I have warnings.
In a log file:
! Double subscript.
l.9 a$\text y_j=w_0_
j+\sum_{s}^{N_s}w_s_j f(z_s)$
I treat x_1_2' essentially like x_1{}_2'.

! Double subscript.
l.9 a$\text y_j=w_0_j+\sum_{s}^{N_s}w_s_
j f(z_s)$
I treat x_1_2' essentially like x_1{}_2'.

Thank you for reply.

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

No branches or pull requests

2 participants