Lyx with Codex/Claude-Code?
Neal Becker
ndbecker2 at gmail.com
Sun May 24 21:06:09 UTC 2026
*Those who don't understand recursion are doomed to repeat it*
On Sun, May 24, 2026, 4:51 PM Bernt Lie via lyx-users <
lyx-users at lists.lyx.org> wrote:
> 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 <lyx-users-bounces at lists.lyx.org> on behalf of Eberhard
> W Lisse via lyx-users <lyx-users at lists.lyx.org>
> *Sent:* Sunday, May 24, 2026 10:06:33 PM
> *To:* lyx-users at lists.lyx.org <lyx-users at lists.lyx.org>
> *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
>
I've used codex usually to produce beamer slides. I haven't tried to
produce lyx directly. Codex produces latex which I can import to lyx.
Unfortunately that doesn't work perfectly, probably due to issues in
latex2lyx. The last time I tried it I decided it wasn't worth the effort
to fix after import and just worked with the latex. I suppose I should sit
down and try to debug it.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20260524/19685048/attachment.htm>
More information about the lyx-users
mailing list