Rendering of % operator not correct in LaTeX export
System dynamics program with additional features for economics
Brought to you by:
hpcoder,
profstevekeen
Can't you open an empty document in Lyx or whatever, then insert the
contents of the minsky generated file? That seems to me to be a little
easier than asking someone to top'n'tail the generated output.
On Sun, Sep 06, 2020 at 02:58:04AM -0000, Steve Keen wrote:
--
Dr Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders hpcoder@hpcoders.com.au
http://www.hpcoders.com.au
Related
Bugs:
#1252Here's the result of trying that on Overleaf. I expect the files work on the TeX processor you use; the fact that something works on one but not another is one reason I've been loathe to migrate to LaTeX over the years.
Movie's too big, so I've truncated it for just the overleaf part.
I've shared the project with you on Overleaf as well.
I ran latex on the output generated by this .mky file, and the problem is a variable called Debt/GDP_Private^% and others of that ilk. The problem is that '%' is LaTeX's comment character, and so needs to be escaped if used as a literal, \%. I tried replacing all instances of % with \%, but ran into another problem that the latex export of the % operator is also incorrect. It should be \left(... \right)\%, but instead it is \left ... \right%, which is nonsense in LaTeX speak.
So at least 2 bugs caused by the % operator...
Excellent! I didn't expect that this could be solved by anything less than a large scale recode. If this is "all" there is, maybe it can be knocked off for Malthus.
In any case, the program is far more usable and stable now than a year back, pre-Friends. I'll be posting a new refereed paper making extensive use of Minsky next week I hope. Plus there's a probable seminar with MMT students in a few weeks. So we're definitely achieving the larger aims even with some bugs still floating around.
Steve:
The developers of LyX decided to 'improve' Latex, so it is not compatible.
The Atom editor has a LaTeX plugin. It also has neurosurgery. You can also
get a plugin for HTML and other programming languages.
Regards,
Hedley
1 / 17 Glyndon Road, Camberwell VIC 3124, Australia
hedley.finger@gmail.com
Tel. +61 3 9836 4635
Cell +61 412 461 558
Typed laboriously on Samsung Galaxy Note 3
On Sun, 6 Sep 2020 16:56 Steve Keen profstevekeen@users.sourceforge.net
wrote:
Related
Bugs:
#1252I think I've fixed this one. See attached silent demo.