> Copy and Paste isn't really something you want to have in your workflow
in the first place. You want this to be run by Claude or via a
script/Makefile. Then here is no guarantee whatsoever that the LaTeX
file compiles. And even if it doesn't it'll have lots of ERT.
> So either use LaTeX or Typst.

I found GPT Pro was able to produce somewhat complex LyX files without ERT.
But I heard the agentic tools are more powerful when they can see a version
control history, hence the need for Git.

Perhaps it would be useful to create some *skill files* for working with
LyX, though I haven't learned how yet.

Here are some skill-related stuff I found for Latex and Typst, but haven't
tried them yet:

https://github.com/ndpvt-web/latex-document-skill
https://github.com/ChanMeng666/typst-claude-skill
https://forum.typst.app/t/llm-skill-file-for-claude-code-codex-etc/8397
https://mcpmarket.com/tools/skills/typst-writer






On Mon, May 25, 2026 at 7:00 AM <[email protected]> wrote:

> Send lyx-users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.lyx.org/mailman/listinfo/lyx-users
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyx-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Lyx with Codex/Claude-Code? (Neal Becker)
>    2. Re: Lyx with Codex/Claude-Code? (Eberhard W Lisse)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 24 May 2026 17:06:09 -0400
> From: Neal Becker <[email protected]>
> To: Bernt Lie <[email protected]>
> Cc: Eberhard W Lisse <[email protected]>, LyX Users List
>         <[email protected]>
> Subject: Re: Lyx with Codex/Claude-Code?
> Message-ID:
>         <CAG3t+pHCvXJ2-swCMedF+oQBCYTD1Zc6iFiLxukYzC=
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> *Those who don't understand recursion are doomed to repeat it*
>
> On Sun, May 24, 2026, 4:51?PM Bernt Lie via lyx-users <
> [email protected]> 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 <[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
> >
>
> 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-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 24 May 2026 23:23:21 +0200
> From: Eberhard W Lisse <[email protected]>
> To: [email protected]
> Subject: Re: Lyx with Codex/Claude-Code?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> Copy and Paste isn't really something you want to have in your workflow
> in the first place. You want this to be run by Claude or via a
> script/Makefile. Then here is no guarantee whatsoever that the LaTeX
> file compiles. And even if it doesn't it'll have lots of ERT.
>
> So either use LaTeX or Typst.
>
> For the fun of it I had Claude generate a LyX file from a Markdown it
> generated. Took 10 minutes and it had 90 or so ERTs.
>
> pandoc && typst compile was instantaneous.
>
> You can of course vibe code something which sits in the workflow
> pipeline, but it complicates matters.
>
> I have a Typst template(Beamer/Metropolis lookalike) which I use for
> setting an Agenda for a regular workshop I organize. I plan to have
> Claude read the Google Sheet with which we set the agenda to use the
> template to generate an agenda with the template.
>
> el
>
>
> On 2026-05-24 23:06, Neal Becker via lyx-users wrote:
> [...]
> > 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.
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> lyx-users mailing list
> [email protected]
> https://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> ------------------------------
>
> End of lyx-users Digest, Vol 340, Issue 1
> *****************************************
>
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to