Menu

#1252 Rendering of % operator not correct in LaTeX export

Graeber
closed
Wynand
None
3urgent
2020-12-30
2020-09-06
Steve Keen
No

I have been cutting and pasting from the text file into Word for some time, and thought I'd try instead putting the TeX file into a proper LaTeX editor and copying from that. Unfortunately the document failed to load properly in Overleaf or Lyx.

I think we might need two flavours of LaTeX output: one where the equations only are outputted, which would help with the "copy and paste" approach; and one with a document output that does load into standard distributions.

3 Attachments

Related

Bugs: #1252

Discussion

  • High Performance Coder

    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:

    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    [tickets:#1252] LaTeX doesn't load properly into several TeX editors

    Status: open
    Milestone: Say
    Created: Sun Sep 06, 2020 02:58 AM UTC by Steve Keen
    Last Updated: Sun Sep 06, 2020 02:58 AM UTC
    Owner: nobody
    Attachments:

    • LaTeX_Source.mky (129.1 kB; application/octet-stream)
    • MinskyInLyx.PNG (560.6 kB; image/png)
    • MinskyInOverleaf.PNG (374.1 kB; image/png)

    I have been cutting and pasting from the text file into Word for some time, and
    thought I'd try instead putting the TeX file into a proper LaTeX editor and
    copying from that. Unfortunately the document failed to load properly in
    Overleaf or Lyx.

    I think we might need two flavours of LaTeX output: one where the equations
    only are outputted, which would help with the "copy and paste" approach; and
    one with a document output that does load into standard distributions.

    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    Sent from sourceforge.net because you indicated interest in https://
    sourceforge.net/p/minsky/tickets/1252/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth
    /subscriptions/

    --


    Dr Russell Standish Phone 0425 253119 (mobile)
    Principal, High Performance Coders hpcoder@hpcoders.com.au
    http://www.hpcoders.com.au


     

    Related

    Bugs: #1252

  • Steve Keen

    Steve Keen - 2020-09-06

    Here'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.

     
  • Steve Keen

    Steve Keen - 2020-09-06

    I've shared the project with you on Overleaf as well.

     
  • High Performance Coder

    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...

     
  • Steve Keen

    Steve Keen - 2020-09-06

    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.

     
    • Hedley Finger

      Hedley Finger - 2020-09-07

      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:

      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.


      Status: open
      Milestone: Say
      Created: Sun Sep 06, 2020 02:58 AM UTC by Steve Keen
      Last Updated: Sun Sep 06, 2020 06:34 AM UTC
      Owner: nobody
      Attachments:

      I have been cutting and pasting from the text file into Word for some
      time, and thought I'd try instead putting the TeX file into a proper LaTeX
      editor and copying from that. Unfortunately the document failed to load
      properly in Overleaf or Lyx.

      I think we might need two flavours of LaTeX output: one where the
      equations only are outputted, which would help with the "copy and paste"
      approach; and one with a document output that does load into standard
      distributions.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/minsky/tickets/1252/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1252

  • High Performance Coder

    • summary: LaTeX doesn't load properly into several TeX editors --> Rendering of % operator not correct in LaTeX export
     
  • High Performance Coder

    • Milestone: Say --> Graeber
     
  • Wynand

    Wynand - 2020-10-22
    • status: open --> awaiting-user
    • assigned_to: Wynand
     
  • Wynand

    Wynand - 2020-10-22

    I think I've fixed this one. See attached silent demo.

     
  • Wynand

    Wynand - 2020-11-06
    • status: awaiting-user --> fixed
     
  • High Performance Coder

    • status: fixed --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB