Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add txs magic comments #1062

Merged
merged 2 commits into from
Oct 21, 2024
Merged

chore: add txs magic comments #1062

merged 2 commits into from
Oct 21, 2024

Conversation

AlexaraWu
Copy link
Collaborator

添加 TeXstudio 魔术注释12,无需修改 TeXstudio 设置,可开箱即用。

TeXstudio 默认的执行逻辑:如果需要生成参考文献,则先执行 txs:///recompile-bibliography,再执行 txs:///compile
txs:///recompile-bibliography 的默认值为 txs:///compile | txs:///bibliography | txs:///compile

由于 latexmk 可以自动处理参考文献,所以将 txs:///compile 设置为 txs:///latexmk 时,txs:///recompile-bibliography 的步骤不再必要,因此将其修改为 latexmk -v,不执行实际操作。

暂时移除了 README 中关于 TeXstudio 设置的介绍。

Footnotes

  1. https://texstudio-org.github.io/advanced.html#advanced-header-usage

  2. https://texstudio-org.github.io/configuration.html#advanced-configuration-of-the-build-system

@AlexaraWu AlexaraWu requested a review from LogCreative October 21, 2024 05:51
README.md Show resolved Hide resolved
@AlexaraWu AlexaraWu merged commit 50bdacc into master Oct 21, 2024
@AlexaraWu AlexaraWu deleted the txs branch October 21, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants