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

Conversion from LaTeX to Markdown #3

Closed
ansh103 opened this issue Feb 13, 2018 · 8 comments
Closed

Conversion from LaTeX to Markdown #3

ansh103 opened this issue Feb 13, 2018 · 8 comments

Comments

@ansh103
Copy link
Contributor

ansh103 commented Feb 13, 2018

First of all, I want to introduce the relevant details:

  1. It can be done using Pandoc

  2. There are some problems associated with Pandoc. It's ignoring few of the important things:-
    a) Bold or Italics
    1

    b) What to do about the headings? The questions numbers can either be replaced by "a new line" indicating question changed or we can have question numbers. Considering this all will go online, there is no need of putting 11.3 or 11.4. Or is there?

  3. Also, there is this extra info about each question coming up? Should the code be modified to ignore [conformant-flip-exercise] in above image altogether or is it required to be there in Markdown?

  4. Then the part regarding images. Should the images be imported from images folder while conversion from LaTeX to Markdown or it should be linked to be used in the aima-exercises page. (to be made later on)

  5. Finally, whether to use Pandoc or not? Is there a need for different code all together for aima-exercises or should we continue tweaking Pandoc settings?

@say4n
Copy link
Contributor

say4n commented Feb 14, 2018

Hey @ansh103, just out curiosity, have you tried running pdflatex on the latex files? I seemingly can't get them to compile all right. It is probably due to improper incorporation of the aima3e.sty file.

Here's a screengrab showing the output of the pdflatex command on robotics-exercises.tex:
screen shot 2018-02-14 at 4 46 14 pm

@ansh103
Copy link
Contributor Author

ansh103 commented Feb 14, 2018

There are issues regarding \begin{exercise} and \end{exercise}. @norvig had mentioned about them in the Readme file. But what concerns me more is that styling as a whole is not working as expected. So you are right on that. Because I tried the same after taking care of \begin{exercise}.

@say4n
Copy link
Contributor

say4n commented Feb 14, 2018

You're correct. The macros are defined in aima3e.sty. Adding that to the path (for TeX) should've solved the problem. It didn't.

Because I tried the same after taking care of \begin{exercise}.

Could you elaborate on this?

@ansh103
Copy link
Contributor Author

ansh103 commented Feb 14, 2018

@Sayan98 I did try it. No luck in getting it through. Did you make any progress?

@say4n
Copy link
Contributor

say4n commented Feb 14, 2018

Negative.

@sambitdash
Copy link

I just used a script to convert all the files to Markdown. You can see the files at:
https://github.com/sambitdash/aima-exercises/tree/master/md
If you think it will help to use these as a starting point I can submit a pull request.

@heisenbuug
Copy link
Contributor

heisenbuug commented Feb 21, 2018

I am trying to run those latex files on atom but I am getting errors, was anyone able to run those files?

@norvig
Copy link
Contributor

norvig commented Mar 11, 2018

Let's continue this in Issue #5

@norvig norvig closed this as completed Mar 11, 2018
sachin10101998 pushed a commit to sachin10101998/aima-exercises that referenced this issue Jul 14, 2019
…60-a37c-11e9-9e5a-db49bdb8d58e

New Answer by Sachin Chopra for chapter 1 Exercise 1
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

5 participants