Releases: Thomilist/math-converter
math-converter-1.5.5
Mathcad2LaTeX v1.4
A binary release of the precursor to math-converter
: Mathcad2LaTeX
. It is built from the source file old/Mathcad2LaTeX.ahk with Ahk2Exe for AutoHotkey v1.1.30.03
. The following is the original (and included) readme in Danish, including release notes:
Mathcad2LaTeX v1.4
af Thomas Emil Jensen med AutoHotkey 1.1.24.00
INSTRUKTION
Genveje:
CTRL + SHIFT + V
: Konvertér og indsæt fra Mathcad til LaTeX.Højre CTRL + Højre SHIFT + R
: Genindlæs programmet.Højre CTRL + Højre SHIFT + E
: Afslut programmet.
Normal anvendelse:
0. Programmet kan skrive LaTeX-kode, som kræver pakken Mathtools. Brug \usepackage{mathtools} i starten af dokumentet.
- Kopiér elementer i matematikfelter i Mathcad (grå markering indeni feltet, ikke blå markering af hele feltet).
- Tryk
CTRL + SHIFT + V
i din LaTeX-editor, og udtrykket indsættes som LaTeX-kode.
Demonstration:
https://gfycat.com/EachDisgustingKookaburra
Indstillinger:
- Indstillinger tilgås ved at "konvertere"
(@SETUP INDSTILLING VÆRDI)
. INDSTILLING
er indstillingstypen, mensVÆRDI
er indstillingens værdi (0 eller 1).- Mulige indstillinger:
- comma (komma eller punktum som decimaltalsseparator).
- debug (print mellemtrin fra konverteringen)
Bemærkninger og kendte problemer:
- Programmet laver flere akkolader (også kaldet "tuborgklammer") end nødvendigt, men disse har ingen praktisk betydning.
- Programmet melder "Fejl 1", hvis det ikke kan genkende syntaksen (fx, hvis det kopierede emne ikke er fra Mathcad). Programmet gemmer en fejlrapport og genindlæses automatisk.
- Programmet melder "Fejl 2", hvis det støder på en ukendt operator. Programmet gemmer en fejlrapport og genindlæses automatisk.
- Hvis der går flere sekunder, uden der sker noget, er der sandsynligvis sket en fejl. Tryk
Højre CTRL + Højre SHIFT + R
for at genindlæse programmet. - I nogle tilfælde kan konverteringen tilsyneladende foregå uden problemer, men ved kompilering i LaTeX returneres fejlen "! You can't use `\eqno' in math mode". Ofte kan dette løses ved at konvertere fra Mathcad til LaTeX igen. Årsagen er ukendt.
- Brøker i matricer har ikke altid helt nok plads. Mathcad2LaTeX tilføjer automatisk et linjeafstandsparater
[0.0em]
, hvor0.0
angiver ekstra linjeafstand. Denne værdi kan manuelt øges til en passende størrelse. - Enheder og konstanter forsøges skrevet med normal tekst. Hvis disse alligevel skrives med kursiv, kan det være nødvendig manuelt at tildele "unit" eller "constant" labels i Mathcad og konvertere igen.
- Danske bogstaver, især å, kan forårsage fejl. Typisk er fejlen relateret til "accents in math mode" eller "\spacefactor in math mode"
- Imaginære tal formatteres ukorrekt med kursiv
Understøttede funktioner:
- Lighedstegn (definition, sammenligning og numerisk evaluering)
- Ulighedstegn (mindre end, større end, mindre end/lig med, større end/lig med, ikke lig med)
- Addition
- Subtraktion
- Multiplikation
- Division
- Potens
- Rod
- Parenteser
- Trigonometriske funktioner (cos, sin, tan osv.)
- Absolut værdi
- Symbolsk evaluering
- Funktioner
- Enheder
- Sænket skrift
- Græske bogstaver
- Uendelighedssymbol
- Matricer
- Differentiation
- Integraler
- Procent
- Gradtegn
- Faktorialer
- Logisk NOT, AND og OR
- Summation og produkt
- Krydsprodukt
- Polær notation
- Definition
- Element af
- Interval og stepinterval
ÆNDRINGER
v1.4:
- Tilføjet en genvejstast til afslutning af programmet.
- Indstillingen "debug" tilføjet.
- Gradtegn, faktorialer, logisk NOT/AND/OR, summation, produkt, krydsprodukt, polær notation, definition, element af, interval og stepinterval understøttes
- Logaritme, havelåge (
#
) og i nogle tilfælde gradtegn indsættes bedre - De danske bogstaver æ, ø og å understøttes bedre, men ikke helt
v1.3:
- Indstillinger tilføjet.
- Konvertering af decimaltalsseparator fra punktum til komma understøttes.
- En fejl, hvor
\;\mathrm{}
ikke blev tilføjet til enheder, er rettet.
v1.2:
- Differentiation, integration og procent understøttes.
- Indsættelsen af tekst bør være hurtigere og mere robust - inputs, mens indsættelsen foregår, bør ikke have nogen indflydelse.
v1.1:
- Keywords inkluderes nu over pilen ved symbolsk evaluering.
- Matricer understøttes.
v1.0:
- Første udgivelse.
math-converter-1.5.4
New: Setting to control version checking behavior
A new setting has been added to allow the user to control whether or not math-converter should check for new releases upon launch.
math-converter-1.5.3
New: Automatic version checking
Upon program launch, math-converter will now automatically check if a newer version has been released. Version checking and the commands to open the download and user guide pages in browser are the only features of the program requiring an internet connection, and the rest of the program will work just fine in an offline environment.
math-converter-1.5.2
New: Command to open the user guide
When the help text isn't enough, the full user guide may come in handy. In addition to the included PDF version of the user guide, a web version can now be opened from the console with g
, guide
or userguide
while running math-converter.
Changes
- The help text has been made more concise by eliminating the command overview, since it was redundant with the now condensed command table below.
Fixes
- On Linux, the commands to show help text and the user guide now use
xdg-open
to open their respective URLs, meaning the commands should now work on most distributions.
math-converter-1.5.1
New: Linux support
Math-converter is now available for Linux! The Linux version has been developed and tested on Ubuntu 22.04 LTS. It uses the X Window System or X11 for hotkey, "clipboard" and keystroke functionality, and therefore only works with X11-based applications.
Other changes
- The help text in the console has been rewritten to improve readability. After all, it's not much help if you can't read it.
- The icon is provided separately under
/resources/decoration/
, where you'll also find an image intended for use as a console background.
math-converter-1.5.0
UnicodeMath has been added as an output language in this release. This language is commonly used in equations in Microsoft Word. Beyond this, a variety of fixes have been made, both regarding character and escape sequence handling in general, and MathML output in particular. For instance, the Greek letter capital Eta no longer causes a program crash. Additionally, the distribution now also contains the DLL files libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll, which are required to run math-converter.
math-converter-1.4.0
This version adds support for Presentation MathML as an output language. Additionally, a bug related to text has been fixed: Text consisting of multiple elements (such as text alternating between regular typesetting and subscript) no longer has all elements after the first two discarded. Finally, a custom icon has been added to give math-converter a little more personality :)
math-converter-1.3.0
Settings are now saved to and loaded from a file, meaning they are saved between sessions.
math-converter-1.2.0
A Mathcad generator has been added with a feature set matching the Mathcad parser. This means Mathcad is now available as an output language. The settings interface has also been improved, and more settings have been added. Settings for input and output languages are now supported, as well as an output mode setting. The output mode determines whether the converted math expressions are sent to the focused window with keystrokes or if they simply replace the contents of the clipboard.