writefreely / writefreely/writefreely
LaTeX not correctly rendered
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.3k
- Forks
- 398
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Some LaTeX rendering is not correctly displayed.
Matrices and column vectors are not displayed and, when they are, they look as row vectors.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
- create a new entry and type this code
\ket{0} =\begin{pmatrix} 1 \\ 0\end{pmatrix}
- Publish the page and look at the LaTeX code rendering.
Expected behavior
It should be displayed as a column vector but I see it as a row vector.
This is the rendering:
And this is what should look like:
Application configuration
- Single mode or Multi-user mode?
Multi User
- Database? [mysql/sqlite]
I don’t know I’m not the admin
- Open registration? [yes/no]
No. Users have to be added by admins
- Federation enabled? [yes/no]
I don’t know
Version or last commit: v0.15.0
I would say that adding the command
\usepackage{amsmath}
to the LaTeX default runtime would solve it. I tried by doing it in my own pages but these commands are not accepted, they must be part of the runtime.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a new entry using the provided LaTeX matrix and column-vector example, then inspect the LaTeX default runtime referenced in the report. Compare the published rendering with the expected column-vector image and verify that the finished change renders matrices and column vectors correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100