Re: lyx-users Digest, Vol 340, Issue 1
Alex Boche via lyx-users <[email protected]> Mon, 25 May 2026 12:04:33 -0500
| Newsgroups | gmane.editors.lyx.general |
|---|---|
| Message-ID | <CAEziq1UWLo_m+WuuEEPoSk12P6Mx5ZVrV7Va8HYSNSmwndj8-A@mail.gmail.com> |
--===============6374092713175532743== Content-Type: multipart/alternative; boundary="000000000000f0786a0652a7608e" --000000000000f0786a0652a7608e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 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=E2=80=AFAM <[email protected]> w= rote: > 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=3D > [email protected]> > Content-Type: text/plain; charset=3D"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 co= de > > 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 us= e > > 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 th= e > > > 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 mathematica= l > > > 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 s= it > down and try to debug it. > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20260524/19685048/at= tachment-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=3DUTF-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 > ***************************************** > --000000000000f0786a0652a7608e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>> Copy and Paste isn't really something you wa= nt to have in your workflow</div>in the first place. You want this to be ru= n by Claude or via a<br>script/Makefile. Then here is no guarantee whatsoev= er that the LaTeX<br>file compiles. And even if it doesn't it'll ha= ve lots of ERT.<br>> So either use LaTeX or Typst.<div><div><br></div><d= iv>I found GPT Pro=C2=A0<span class=3D"gmail-Asgive gmail-ng" style=3D"outl= ine:none;border-bottom:2px rgb(146,84,234);background:none;border-top-style= :none;border-right-style:none;border-left-style:none">was able to</span>=C2= =A0produce somewhat complex LyX files without ERT.=C2=A0<span class=3D"gmai= l-Asgive gmail-ng" style=3D"outline:none;border-bottom:2px rgb(146,84,234);= background:none;border-top-style:none;border-right-style:none;border-left-s= tyle:none">But</span>=C2=A0I=C2=A0<span class=3D"gmail-Asgive gmail-ng" sty= le=3D"outline:none;border-bottom:2px rgb(146,84,234);border-top-style:none;= border-right-style:none;border-left-style:none;background:none">heard the</= span>=C2=A0agentic tools are more powerful=C2=A0<span class=3D"gmail-ng" st= yle=3D"background:none;border-style:none">when</span>=C2=A0they can see a v= ersion control history, hence the need for Git.</div><div><br></div></div><= div><span class=3D"ng" style=3D"border-style:none;background:none">Perhaps<= /span>=C2=A0it would be useful to create some <b>skill files</b> for workin= g with LyX, though I haven't learned how yet.</div><div><br></div><div>= Here are some skill-related stuff I found for Latex and Typst, but haven= 9;t tried them yet:</div><div><br></div><div><a href=3D"https://github.com/= ndpvt-web/latex-document-skill">https://github.com/ndpvt-web/latex-document= -skill</a></div><div><a href=3D"https://github.com/ChanMeng666/typst-claude= -skill">https://github.com/ChanMeng666/typst-claude-skill</a></div><div><a = href=3D"https://forum.typst.app/t/llm-skill-file-for-claude-code-codex-etc/= 8397">https://forum.typst.app/t/llm-skill-file-for-claude-code-codex-etc/83= 97</a></div><div><a href=3D"https://mcpmarket.com/tools/skills/typst-writer= ">https://mcpmarket.com/tools/skills/typst-writer</a></div><div><br></div><= div><br><div><br></div><div><br></div><div><br></div></div></div><br><div c= lass=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_= attr">On Mon, May 25, 2026 at 7:00=E2=80=AFAM <<a href=3D"mailto:lyx-use= [email protected]">[email protected]</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex">Send lyx-users mai= ling list submissions to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a><br> <br> To subscribe or unsubscribe via the World Wide Web, visit<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.lyx.org/mailman/listin= fo/lyx-users" rel=3D"noreferrer" target=3D"_blank">https://lists.lyx.org/ma= ilman/listinfo/lyx-users</a><br> or, via email, send a message with subject or body 'help' to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]= rg" target=3D"_blank">[email protected]</a><br> <br> You can reach the person managing the list at<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a><br> <br> When replying, please edit your Subject line so it is more specific<br> than "Re: Contents of lyx-users digest..."<br> <br> <br> Today's Topics:<br> <br> =C2=A0 =C2=A01. Re: Lyx with Codex/Claude-Code? (Neal Becker)<br> =C2=A0 =C2=A02. Re: Lyx with Codex/Claude-Code? (Eberhard W Lisse)<br> <br> <br> ----------------------------------------------------------------------<br> <br> Message: 1<br> Date: Sun, 24 May 2026 17:06:09 -0400<br> From: Neal Becker <<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>><br> To: Bernt Lie <<a href=3D"mailto:[email protected]" target=3D"_blank">ber= [email protected]</a>><br> Cc: Eberhard W Lisse <<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>>, LyX Users List<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>><br> Subject: Re: Lyx with Codex/Claude-Code?<br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAG3t+pHCvXJ2-swCMedF+oQBCYTD1Zc6iFiLxukYzC= =3D<a href=3D"mailto:[email protected]" target=3D"_blank">T4Txtmg@mail= .gmail.com</a>><br> Content-Type: text/plain; charset=3D"utf-8"<br> <br> *Those who don't understand recursion are doomed to repeat it*<br> <br> On Sun, May 24, 2026, 4:51?PM Bernt Lie via lyx-users <<br> <a href=3D"mailto:[email protected]" target=3D"_blank">lyx-users@list= s.lyx.org</a>> wrote:<br> <br> > In Google AI Studio, it is trivial to ask for a response to be latex c= ode<br> > in a single code block. Then just copy the code block, paste it into a= n<br> > ASCII editor, save it as a tex file, and import into LyX as plain late= x<br> ><br> > It would surprise me if this is not possible in Claude.<br> ><br> > The integration could be simpler, and it would be great if LyX could u= se<br> > such tools to rewrite the LyX document from within LyX<br> ><br> ><br> ><br> > Sent from Outlook for Android <<a href=3D"https://aka.ms/AAb9ysg" r= el=3D"noreferrer" target=3D"_blank">https://aka.ms/AAb9ysg</a>><br> > ------------------------------<br> > *From:* lyx-users <<a href=3D"mailto:[email protected]= g" target=3D"_blank">[email protected]</a>> on behalf of E= berhard<br> > W Lisse via lyx-users <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><br> > *Sent:* Sunday, May 24, 2026 10:06:33 PM<br> > *To:* <a href=3D"mailto:[email protected]" target=3D"_blank">lyx= [email protected]</a> <<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a>><br> > *Subject:* Re: Lyx with Codex/Claude-Code?<br> ><br> > Alex,<br> ><br> > I am doing a bit of vibe coding with CLaude at the moment.<br> ><br> > It's rather trivial to pandoc from Markdown to Typst.<br> ><br> > Pandoc obviusly also works for LaTeX but the importing into LyX is not= <br> > easy. You could however rewrite Pandoc's LaTeX Template to be as p= lain<br> > or rather LyX-aware as possible, so you can import into LyX.<br> ><br> > I most however confess that VS Codium (set up to use the Code<br> > Marketplace) and Typst (using the Tinymist LSP) are making me use LyX<= br> > less and less.<br> ><br> > el<br> ><br> > On 2026-05-24 19:00, Alex Boche via lyx-users wrote:<br> > > I'm wondering if anyone has found a good workflow for using o= ne of the<br> > > agentic coding tools with LyX for mathematical writing?<br> > ><br> > > I found Codex and Claude Code very useful for coding in VS Code<b= r> > > together with Git. I suspect they will be very useful for mathema= tical<br> > > writing as well, but I'm not sureif they will work well with = LyX. I<br> > > have found ChatGPT can generate and modify Lyx files usefully, bu= t I<br> > > haven't tried it with Codex or Git yet.<br> > ><br> > > If I want to make heavy use of these tools, is it recommended to<= br> > > switch to LaTeX or is there a good LyX solution? At some point, I= <br> > > might look into Typst as well.<br> > ><br> > > Thank you,<br> > > Alex<br> ><br> <br> I've used codex usually to produce beamer slides.=C2=A0 I haven't t= ried to<br> produce lyx directly.=C2=A0 Codex produces latex which I can import to lyx.= <br> Unfortunately that doesn't work perfectly, probably due to issues in<br= > latex2lyx.=C2=A0 The last time I tried it I decided it wasn't worth the= effort<br> to fix after import and just worked with the latex.=C2=A0 I suppose I shoul= d sit<br> down and try to debug it.<br> <br> ><br> ><br> -------------- next part --------------<br> An HTML attachment was scrubbed...<br> URL: <<a href=3D"http://lists.lyx.org/pipermail/lyx-users/attachments/20= 260524/19685048/attachment-0001.htm" rel=3D"noreferrer" target=3D"_blank">h= ttp://lists.lyx.org/pipermail/lyx-users/attachments/20260524/19685048/attac= hment-0001.htm</a>><br> <br> ------------------------------<br> <br> Message: 2<br> Date: Sun, 24 May 2026 23:23:21 +0200<br> From: Eberhard W Lisse <[email protected]><br> To: <a href=3D"mailto:[email protected]" target=3D"_blank">lyx-users@= lists.lyx.org</a><br> Subject: Re: Lyx with Codex/Claude-Code?<br> Message-ID: <10uvq8c$p7j$<a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a>><br> Content-Type: text/plain; charset=3DUTF-8<br> <br> Copy and Paste isn't really something you want to have in your workflow= <br> in the first place. You want this to be run by Claude or via a<br> script/Makefile. Then here is no guarantee whatsoever that the LaTeX<br> file compiles. And even if it doesn't it'll have lots of ERT.<br> <br> So either use LaTeX or Typst.<br> <br> For the fun of it I had Claude generate a LyX file from a Markdown it<br> generated. Took 10 minutes and it had 90 or so ERTs.<br> <br> pandoc && typst compile was instantaneous.<br> <br> You can of course vibe code something which sits in the workflow<br> pipeline, but it complicates matters.<br> <br> I have a Typst template(Beamer/Metropolis lookalike) which I use for<br> setting an Agenda for a regular workshop I organize. I plan to have<br> Claude read the Google Sheet with which we set the agenda to use the<br> template to generate an agenda with the template.<br> <br> el<br> <br> <br> On 2026-05-24 23:06, Neal Becker via lyx-users wrote:<br> [...]<br> > I've used codex usually to produce beamer slides. I haven't tr= ied to<br> > produce lyx directly. Codex produces latex which I can import to lyx.<= br> > Unfortunately that doesn't work perfectly, probably due to issues = in<br> > latex2lyx. The last time I tried it I decided it wasn't worth the<= br> > effort to fix after import and just worked with the latex. I suppose I= <br> > should sit down and try to debug it.<br> <br> <br> <br> ------------------------------<br> <br> Subject: Digest Footer<br> <br> lyx-users mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">lyx-users@list= s.lyx.org</a><br> <a href=3D"https://lists.lyx.org/mailman/listinfo/lyx-users" rel=3D"norefer= rer" target=3D"_blank">https://lists.lyx.org/mailman/listinfo/lyx-users</a>= <br> <br> <br> ------------------------------<br> <br> End of lyx-users Digest, Vol 340, Issue 1<br> *****************************************<br> </blockquote></div> --000000000000f0786a0652a7608e-- --===============6374092713175532743== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- lyx-users mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-users --===============6374092713175532743==--