Re: Lyx with Codex/Claude-Code?

Bernt Lie via lyx-users <[email protected]> Sun, 24 May 2026 20:50:56 +0000
Newsgroups gmane.editors.lyx.general
Message-ID <OL1P279MB0148B6D2514BDEB2EB8297639C0D2@OL1P279MB0148.NORP279.PROD.OUTLOOK.COM>
--===============4677496364431655436==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_OL1P279MB0148B6D2514BDEB2EB8297639C0D2OL1P279MB0148NORP_"

--_000_OL1P279MB0148B6D2514BDEB2EB8297639C0D2OL1P279MB0148NORP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

In Google AI Studio, it is trivial to ask for a response to be latex code i=
n a single code block. Then just copy the code block, paste it into an ASCI=
I 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 su=
ch 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 L=
isse 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

--_000_OL1P279MB0148B6D2514BDEB2EB8297639C0D2OL1P279MB0148NORP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
In Google AI Studio, it is trivial to ask for a response to be latex code i=
n a single code block. Then just copy the code block, paste it into an ASCI=
I editor, save it as a tex file, and import into LyX as plain latex&nbsp;</=
div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
<br>
</div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
It would surprise me if this is not possible in Claude.&nbsp;</div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
<br>
</div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
The integration could be simpler, and it would be great if LyX could use su=
ch tools to rewrite the LyX document from within LyX&nbsp;</div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
<br>
</div>
<div dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, -apple-=
system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(3=
3, 33, 33);">
<br>
</div>
<div id=3D"ms-outlook-mobile-body-separator-line" data-applydefaultfontstyl=
es=3D"true" dir=3D"auto" style=3D"font-family: Aptos, Aptos_MSFontService, =
-apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
<div style=3D"font-family: Aptos, Aptos_MSFontService, -apple-system, Robot=
o, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
</div>
<div id=3D"ms-outlook-mobile-signature" dir=3D"auto" style=3D"font-family: =
Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-s=
erif; font-size: 12pt; color: rgb(33, 33, 33);">
<span style=3D"font-family: Aptos, Aptos_MSFontService, -apple-system, Robo=
to, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);"=
>Sent from
</span><a href=3D"https://aka.ms/AAb9ysg" style=3D"font-family: Aptos, Apto=
s_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-=
size: 12pt;">Outlook for Android</a></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> lyx-users &lt;lyx-use=
[email protected]&gt; on behalf of Eberhard W Lisse via lyx-users &l=
t;[email protected]&gt;<br>
<b>Sent:</b> Sunday, May 24, 2026 10:06:33 PM<br>
<b>To:</b> [email protected] &lt;[email protected]&gt;<br>
<b>Subject:</b> Re: Lyx with Codex/Claude-Code?</font>
<div>&nbsp;</div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">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 plain<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>
&gt; I'm wondering if anyone has found a good workflow for using one of the=
<br>
&gt; agentic coding tools with LyX for mathematical writing?<br>
&gt; <br>
&gt; I found Codex and Claude Code very useful for coding in VS Code<br>
&gt; together with Git. I suspect they will be very useful for mathematical=
<br>
&gt; writing as well, but I'm not sureif they will work well with LyX. I<br=
>
&gt; have found ChatGPT can generate and modify Lyx files usefully, but I<b=
r>
&gt; haven't tried it with Codex or Git yet.<br>
&gt; <br>
&gt; If I want to make heavy use of these tools, is it recommended to<br>
&gt; switch to LaTeX or is there a good LyX solution? At some point, I<br>
&gt; might look into Typst as well.<br>
&gt; <br>
&gt; Thank you,<br>
&gt; Alex<br>
&gt; <br>
<br>
-- <br>
lyx-users mailing list<br>
[email protected]<br>
<a href=3D"https://lists.lyx.org/mailman/listinfo/lyx-users">https://lists.=
lyx.org/mailman/listinfo/lyx-users</a><br>
</div>
</span></font></div>
</body>
</html>

--_000_OL1P279MB0148B6D2514BDEB2EB8297639C0D2OL1P279MB0148NORP_--

--===============4677496364431655436==
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

--===============4677496364431655436==--