On how to reach the looked for functionality concerning use-external-katex #15

Open
opened 2024-06-18 16:52:11 +01:00 by encomer · 0 comments
encomer commented 2024-06-18 16:52:11 +01:00 (Migrated from github.com)

Thank you @SuzanneSoy for the previous coding regarding the proposed functionality associated with use-external-katex. I apollogize for the lack of continuity.

Recently I found the reason why it didn't work as expected: In the file dollar.rkt, all the instances of the identifiers in the following list, have to be defined as functions (and called as such), that is between parentheses, in order to be evaluated in a dynamical way.

  • load-katex-code+style (lines in file: 209, 295, 301)
  • math-inline-style-katex (lines 292, 318)
  • math-display-style-katex (lines 298, 361)

And similarly for the mathjax case:

  • load-mathjax-code (lines: 151, 281, 289)
  • math-inline-style-mathjax (lines 276, 315)
  • math-display-style-mathjax (lines 284, 358).

After doing the indicated changes (in my local installation), the proposed functionality worked as expected.

Thank you very much for all the previous support on this issue.

I hope these changes can be implemented in order to be able to use the scribble-math package with students and colleagues in multiple documents in a more practical way.
Best regards.

Thank you @SuzanneSoy for the previous coding regarding the proposed functionality associated with **use-external-katex**. I apollogize for the lack of continuity. _Recently I found the reason why it didn't work as expected_: In the file **dollar.rkt**, _all the instances of the identifiers in the following list, have to be defined as_ **functions** (_and called as such_), that is **between parentheses**, _in order to be evaluated in a dynamical way_. - **load-katex-code+style** (lines in file: 209, 295, 301) - **math-inline-style-katex** (lines 292, 318) - **math-display-style-katex** (lines 298, 361) And similarly for the **mathjax case**: - **load-mathjax-code** (lines: 151, 281, 289) - **math-inline-style-mathjax** (lines 276, 315) - **math-display-style-mathjax** (lines 284, 358). **After doing the indicated changes (in my local installation), the proposed functionality worked as expected**. _**Thank you very much for all the previous support on this issue**_. _I hope these changes can be implemented in order to be able to use the scribble-math package with students and colleagues in multiple documents in a more practical way_. _Best regards_.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/scribble-math#15
No description provided.