In Google AI Studio, it is trivial to ask for a response to be latex code in a 
single code block. Then just copy the code block, paste it into an ASCII 
editor, save it as a tex file, and import into LyX as plain latex

It would surprise me if this is not possible in Claude.

The integration could be simpler, and it would be great if LyX could use such 
tools to rewrite the LyX document from within LyX



Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: lyx-users <[email protected]> on behalf of Eberhard W Lisse 
via lyx-users <[email protected]>
Sent: Sunday, May 24, 2026 10:06:33 PM
To: [email protected] <[email protected]>
Subject: Re: Lyx with Codex/Claude-Code?

Alex,

I am doing a bit of vibe coding with CLaude at the moment.

It's rather trivial to pandoc from Markdown to Typst.

Pandoc obviusly also works for LaTeX but the importing into LyX is not
easy. You could however rewrite Pandoc's LaTeX Template to be as plain
or rather LyX-aware as possible, so you can import into LyX.

I most however confess that VS Codium (set up to use the Code
Marketplace) and Typst (using the Tinymist LSP) are making me use LyX
less and less.

el

On 2026-05-24 19:00, Alex Boche via lyx-users wrote:
> I'm wondering if anyone has found a good workflow for using one of the
> agentic coding tools with LyX for mathematical writing?
>
> I found Codex and Claude Code very useful for coding in VS Code
> together with Git. I suspect they will be very useful for mathematical
> writing as well, but I'm not sureif they will work well with LyX. I
> have found ChatGPT can generate and modify Lyx files usefully, but I
> haven't tried it with Codex or Git yet.
>
> If I want to make heavy use of these tools, is it recommended to
> switch to LaTeX or is there a good LyX solution? At some point, I
> might look into Typst as well.
>
> Thank you,
> Alex
>

--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to