Bug 483482 - Latex export file is empty.
Summary: Latex export file is empty.
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-13 20:14 UTC by simon@i2cchip.com
Modified: 2024-05-13 20:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 24.05
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon@i2cchip.com 2024-03-13 20:14:23 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start from command line to see messages.
2.  Any content e.g Octave, scilab
3. File->Export to Latex

OBSERVED RESULT
Latex file is empty.

exporting to Latex:  "/home/simon/play.tex"
Error XTSE0010 in file:///usr/share/cantor/xslt/latex.xsl, at line 1, column 82: In a simplified stylesheet module, attribute version must be present.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Alexander Semke 2024-05-13 20:52:10 UTC
Git commit 6706ec0fc7da24cde86aad7a5110daa44fa0a82e by Alexander Semke.
Committed on 13/05/2024 at 20:52.
Pushed by asemke into branch 'master'.

Fixed the export to LaTex.

XSLTTokenizer is expecting the http protocol, not https, for the definition of the namespace:
https://codebrowser.dev/qt5/qtxmlpatterns/src/xmlpatterns/utils/qcommonnamespaces_p.h.html#QPatternist::CommonNamespaces::XSLT
FIXED-IN: 24.05

M  +1    -0    CHANGELOG.md
M  +1    -1    src/xslt/latex.xsl

https://invent.kde.org/education/cantor/-/commit/6706ec0fc7da24cde86aad7a5110daa44fa0a82e
Comment 2 Alexander Semke 2024-05-13 20:53:46 UTC
Git commit 73793e1f1ece4c598d3e5ac19ac059cd8ffe6820 by Alexander Semke.
Committed on 13/05/2024 at 20:53.
Pushed by asemke into branch 'release/24.05'.

Fixed the export to LaTex.

XSLTTokenizer is expecting the http protocol, not https, for the definition of the namespace:
https://codebrowser.dev/qt5/qtxmlpatterns/src/xmlpatterns/utils/qcommonnamespaces_p.h.html#QPatternist::CommonNamespaces::XSLT
FIXED-IN: 24.05

M  +1    -0    CHANGELOG.md
M  +1    -1    src/xslt/latex.xsl

https://invent.kde.org/education/cantor/-/commit/73793e1f1ece4c598d3e5ac19ac059cd8ffe6820