Page MenuHomePhabricator

texvc should support commutative diagrams via XY-packet
Open, MediumPublicFeature

Description

Hello,

I have a feature-request and I hope this is the right place for it. At http://de.wikipedia.org/wiki/Hilfe_Diskussion:TeX#Kommutative-Diagramme_.2F_XY-Packet I have started a discussion and some people agreed with the suggestion.

I suggested, that in the preamble of LaTex of Wikipedia the packet XY should be loaded. Informations about this Latex-packet and how to load it could be found at http://www.guntherkrauss.de/computer/tex/diagramme.html . With this packet it is possible to write commutative diagrams directly in Wikipedia. So the author doesn't have to create a picture by its own. This would save some time for the editor and it is much easier to adjust the diagram by another people.

I hope you will understand my poor English and I hope you will include this feature.

Best regards
Christian


Version: unspecified
Severity: enhancement

Details

Reference
bz28258

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:34 PM
bzimport added projects: Future-Release, Math.
bzimport set Reference to bz28258.
bzimport added a subscriber: Unknown Object (MLST).

Does it have at least English documentation?

Don't change the categorisation of this bug, please. Before messing with extension setup on Wikimedia, code that supports it should be written first.

(In reply to comment #1)

Does it have at least English documentation?

Oh, I'm sorry, at the page http://www.tug.org/applications/Xy-pic/ and in this http://www.ctan.org/tex-archive/macros/generic/diagrams/xypic/xy/doc/xyguide.pdf pdf you can find information in English.

Christian

There is a XyJax extension for MathJax (but not integrated in the official distribution) and the next version of LaTeXML will probably have some support for graphic packages. So that might be future options to consider.

Physikerwelt raised the priority of this task from Medium to High.
Physikerwelt set Security to None.

Is AMScd an option?
Note, that this is still blocked by T74240. So please vote for this bug, to show that there is an actual community interest to move forward and not stick with the status quo.

One could implement that with a new <cd> tag similar to the new <ce> tag proposed in T98306.

Physikerwelt lowered the priority of this task from High to Medium.Jun 11 2017, 12:48 PM

Note that this is already supported by EOM. See

and

(needs client-side javascript enabled)

We can use this page to create test cases for this feature.

Just like when creating the feature request, I still consider this function important today.
I think the source code of the diagramms in EOM are very complicated, but I would love to be able to use such a feature in wikipedia.
Can I support in any way ?

Best Regards
Christian

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM

Hello,

as descibed in https://docs.mathjax.org/en/v2.7-latest/tex.html in section AMScd it sounds very easy to activate commutative diagramms in native MathMl. MAybe someone can have a look at it by time.

For a simple web page the source

<!DOCTYPE html>
<html>
<head>
<title>TeX and MathML in one file</title>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({ TeX: { extensions: ["AMScd.js"] }});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-MML-AM_CHTML"></script>
</head>
<body>
\(\begin{CD}
A @>a>> B\\
@VVbV @VVcV\\
C @>d>> D
\end{CD}\) <br />

</body>
</html>

is a working example.

Oh I see something similar was suggested before. I will have a look at it next days.