amake / orgro

An Org Mode app for iOS and Android
https://orgro.org
GNU General Public License v3.0
478 stars 22 forks source link

Section title not parsed correctly #75

Closed gety9 closed 1 year ago

gety9 commented 1 year ago

Usually orgro works good for my notes, however there is one note which is not displayed correctly. Several headings are merged.

Here is how note should look like Screenshot_20230605-193818 Here is how it looks in orgro Screenshot_20230605-193728

Something breaks starting from line number 267 (line "***** Aaa 2022 Aaaaaaa $10a") How it should look like Screenshot_2023-06-05_19-38-02 How it looks Screenshot_20230605-193712

Here is "code" of the note: https://codefile.io/f/T4HAARcWkE

(to protect privacy i changed all letters to Aa so i could share screenshots & "code")

amake commented 1 year ago

Thank you for the report. This is a bug in the parser. A minimal sample that reproduces the issue is this document:

* A $1
* B
1$

The parser thinks the region between the $s is an inline LaTeX block. I will see about fixing this.

amake commented 1 year ago

The fix will be available shortly for testing. Look for v1.28.3

gety9 commented 1 year ago

@amake Aaron, will it be available on Fdroid? (last time you needed to create some kind of request...)

amake commented 1 year ago

I hadn't released 1.28.3 because I was waiting for feedback. F-Droid doesn't support prereleases or test releases so I usually do it last.

I haven't heard of any problems so far with 1.28.3. If you're unable to test without the F-Droid release then I will release 1.28.3 on all platforms.

(last time you needed to create some kind of request...)

With the last version I changed it so that I no longer need to open merge requests for new versions. However F-Droid seems quite slow about putting out new builds, so it may be several days.

gety9 commented 1 year ago

@amake Aaron, thank you, all is good now (on 1.28.3) closing the issue.