dualer

Results 13 issues of dualer

When I add this extension into sublime, auto-completion of latextools doesn't work. Is this a bug of this extension?

### Summary I have a very basic question: how can we auto-number and quote math formulas through this extension? I find katex is supported to auto-number math formulas, but mdmath...

Edit by DG: A variety of problems caused by two missing packages. [log](https://ar5iv.labs.arxiv.org/log/2201.09640) ``` Conversion complete: 16 warnings; 29 errors; 2 undefined macros[\roundcap, \arc]; 2 missing files[tensor.sty, pict2e.sty] ```

bug
medium
needs-latex-package

## Problem 在user snippet中定义的补全似乎在行间公式无效 ## How to reproduce 例如在`markdown.json`中定义如下命令 ``` "braket":{ "prefix": "\\bra", "body": [ "\\braket{$1}" ], "description": "braket" }, ``` 在markdown文件的行间公式中通过键入`\bra`并不能触发补全. ## Configuration ```jsonc ``` ## Environment ## Diagnostic...

Upstream
Area: Math
Res: External

## Proposal Can you add some basic support for theorem environment? E.g. ``` ::: {.theorem #label name="name"} math: $\pi$ ``` or ``` \label{label} math: $\pi$ ``` Then, I can use...

Markdown dialect
Res: Out of scope
Area: Styles and Presentation

## Proposal 1. 如`$\pi$`、`$$\pi$$`, 将其中一个`$`、`$$`删除, 另外一个能跟着删除(进一步引申: 括号是否也能类似进行优化?) 2. 如`\pi`, 将符号选择后, 按下`ctrl+m`, 能添加数学环境, 变为 `$\pi$` 3. 第2的逆过程: 如`$\pi$`, 将符号选择后, 按下`ctrl+m`, 取消数学环境, 变为`\pi` 4. 如需要输入`$(\pi)$`, 首先`$$`, 然后`$()$`, 但这里的括号不能自动补全, 希望能优化下 其中1,2,4比较实用, 如果不考虑3, 那么2还可以增加:...

Issue: Feature
Needs Discussion
Area: Math

## Proposal 由于 KaTeX 现在不支持 LaTeX `physics` 宏包, 我想在 `markdown.extension.katex.macros` 中自己定义一些命令, 例如 `\pdv` 函数, 使得下面的代码: ```latex \pdv{}{t} \pdv[2]{}{t} ``` 分别生成: ```latex \frac{\partial}{\partial t} \frac{\partial^2}{\partial t^2} ``` 请问能实现这个功能吗? 不过, KaTeX 现在似乎还不支持该功能....

Upstream
Area: Math
Res: External

## Proposal latex package `physics` contains many useful commands, such as `\bra,\pdv,\fdv,\dd`, is it possible to add this package into markdown document? I have some try, e.g. ``` header-includes: |...

Area: Math
Res: External

Can you add some native supports for theorem enviroment? E.g., ``` \begin{theorem}[Name] \end{theorem} \begin{solution} \end{solution} ```

This addon will make markdown preview speed become very very slow. Some optimization is needed.