glutanimate / cloze-overlapper

Anki add-on for memorizing lists and enumerations
https://ankiweb.net/shared/info/969733775
Other
228 stars 38 forks source link

MathJax issue with snippets (...) #66

Open milan-tom opened 3 years ago

milan-tom commented 3 years ago

Problem description

I use the cloze overlapper card to memorize long proofs by revealing one line at a time (with all of the lines before as context). I implemented this by using the settings 99,1,0 | n,n,n,y (99 contexts before, 1 cloze prompt, 0 contexts after, and don't generate full cloze). Then, I clozed each line of the proof within the MathJax tags (\[\]). All of the MathJax renders normally, with the clozes working as intended. However, due to the presence of the ... snippets in each field, lots of ellipses are also rendered below the clozed line.

image image

Checklist

Information about your Anki set-up

Anki v⁨2.1.43 (0fbae6bc)⁩

If you are using Anki 2.1

    Anki 2.1.43 (0fbae6bc) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2021-04-17 11:19:51

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Add Hyperlink ['318752047', 2020-07-29T21:37, 'None', '']
    Add Table ['1237621971', 2020-07-25T13:19, 'None', mod]
    Anki Simulator ['817108664', 2021-02-21T15:44, 'None', '']
    Batch Editing ['291119185', 2019-06-02T19:47, 'None', '']
    CTRLF5 to Refresh the Browser ['1347728560', 2019-07-30T07:36, 'None', '']
    Cloze Overlapper for Anki 21 ['109531687', 2021-01-12T03:12, 'None', '']
    Copy notes ['1566928056', 2021-02-19T23:54, 'None', '']
    Enhance main window ['877182321', 2020-12-23T04:42, 'None', mod]
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T03:21, 'None', '']
    Image Style Editor ['1593969147', 2020-12-17T13:06, 'None', mod]
    Improved Quizlet to Anki 21 Importer ['538351043', 2020-11-15T02:16, 'None', '']
    Large and Colorful Buttons ['1829090218', 2018-10-02T18:41, 'None', '']
    Load Balanced Scheduler ['208879074', 2018-10-05T01:06, 'None', '']
    Mini Format Pack Supplementary ['476705431', 2020-01-03T05:13, 'None', '']
    Mini Format Pack ['295889520', 2018-07-24T18:45, 'None', '']
    Open Add-on Folder Shortcut ['830940686', 2020-06-10T01:01, 'None', '']
    Opening the same window multiple time ['354407385', 2020-05-16T01:59, 'None', '']
    Pop-up Wikipedia Beta ['395343016', 2020-01-09T03:58, 'None', '']
    Remaining time for Anki 21 ['1508357010', 2020-12-13T14:14, '20.12.13i151', '']
    Review Heatmap ['review_heatmap', 2020-04-30T14:23, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2021-04-02T07:55, 'None', mod]
    Syntax Highlighting FORK night mode fix gui config etc ['1972239816', 2021-03-15T19:54, 'None', mod]
    Web Browser - Search terms Import texts and images automatically ['864545277', 2020-08-29T19:23, 'None', mod]
    editor paste raw unfiltered full html ['1765712663', 2020-08-04T20:48, 'None', '']
    extended editor for field for tables searchreplace  ['805891399', 2020-11-24T00:08, 'None', mod]

    ===IDs of active AnkiWeb add-ons===
    109531687 1237621971 1347728560 1374772155 1508357010 1566928056 1593969147 1765712663 1781298089 1829090218 1972239816 208879074 291119185 295889520 318752047 354407385 395343016 476705431 538351043 805891399 817108664 830940686 864545277 877182321

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Frozen Fields ['516643804', 2020-03-01T04:12, 'None', '']
    GODMODE faster shortcuts and cloze switching ['1508677152', 2020-06-09T20:15, 'None', '']