<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ai on Rachid Youven Zeghlache</title><link>https://youvenz.github.io/tags/ai/</link><description>Recent content in Ai on Rachid Youven Zeghlache</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 05 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://youvenz.github.io/tags/ai/index.xml" rel="self" type="application/rss+xml"/><item><title>Convert LaTeX to Word with Pandoc: Preserve Equations</title><link>https://youvenz.github.io/blog/2026-03-05-convert-latex-to-word-with-pandoc-preserve-equations/</link><pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/blog/2026-03-05-convert-latex-to-word-with-pandoc-preserve-equations/</guid><description>&lt;h2 id="convert-latex-to-word-without-breaking-equations-using-pandoc"&gt;Convert LaTeX to Word WITHOUT Breaking Equations Using Pandoc&lt;/h2&gt;
&lt;p&gt;You&amp;rsquo;ve spent weeks perfecting your LaTeX document—equations are crisp, references are linked, tables are formatted, and the bibliography flows perfectly. Then your advisor asks: &amp;ldquo;Can you send this as a Word file?&amp;rdquo; Your stomach drops. You&amp;rsquo;ve heard the horror stories: equations become unreadable images, references break, tables collapse, and you&amp;rsquo;re left manually reconstructing everything in Word.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s a better way, and it takes under 5 minutes to set up.&lt;/p&gt;</description></item><item><title>Matplotlib xkcd Sketch Plots: Hand-Drawn Python Guide</title><link>https://youvenz.github.io/blog/2026-03-05-matplotlib-xkcd-sketch-plots-hand-drawn-python-guide/</link><pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/blog/2026-03-05-matplotlib-xkcd-sketch-plots-hand-drawn-python-guide/</guid><description>&lt;h1 id="transform-your-matplotlib-plots-into-hand-drawn-sketches-using-xkcd"&gt;Transform Your Matplotlib Plots Into Hand-Drawn Sketches Using xkcd&lt;/h1&gt;
&lt;p&gt;Your research plots look crisp and professional—but they also look &lt;em&gt;generic&lt;/em&gt;. When presenting findings to a room full of people, a standard line chart disappears into the visual noise. You need something that stops the eye and builds rapport, but you can&amp;rsquo;t sacrifice clarity or credibility. &lt;strong&gt;Hand-drawn sketch-style plots solve this: they&amp;rsquo;re engaging, memorable, and still scientifically sound. And they take literally one line of code.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Tool Calling Explained: Turn Your LLM into an AI Agent</title><link>https://youvenz.github.io/blog/2026-03-04-tool-calling-explained-turn-your-llm-into-an-ai-agent/</link><pubDate>Wed, 04 Mar 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/blog/2026-03-04-tool-calling-explained-turn-your-llm-into-an-ai-agent/</guid><description>&lt;h2 id="tool-calling-explained--how-to-turn-your-llm-into-an-ai-agent-that-actually-does-things"&gt;Tool Calling Explained — How to Turn Your LLM into an AI Agent That Actually Does Things&lt;/h2&gt;
&lt;p&gt;Out-of-the-box LLMs can&amp;rsquo;t check your calendar, pull live weather data, or query your database. They&amp;rsquo;re brilliant conversationists trapped in a sensory deprivation chamber, completely isolated from the real world. The result? You get impressive prose about &lt;em&gt;what&lt;/em&gt; to do, but zero ability to actually &lt;em&gt;do&lt;/em&gt; it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tool calling&lt;/strong&gt; (also called function calling) changes everything. It&amp;rsquo;s the bridge that transforms a chatbot into an agent—an LLM that can invoke external functions and APIs. Yet most explanations overcomplicate it.&lt;/p&gt;</description></item><item><title>ImageGen Ink — AI Image Generator for Inkscape</title><link>https://youvenz.github.io/projects/inkscape-imagegen/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/projects/inkscape-imagegen/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;ImageGen Ink&lt;/strong&gt; adds AI image generation to Inkscape&amp;rsquo;s toolset. Describe an image in natural language, choose a backend (Stable Diffusion, DALL·E 3, Flux), and the result is embedded as an SVG &lt;code&gt;&amp;lt;image&amp;gt;&lt;/code&gt; element on your canvas — ready to be combined with vector elements.&lt;/p&gt;
&lt;h2 id="backends-supported"&gt;Backends supported&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Stable Diffusion&lt;/strong&gt; (local via Automatic1111 or ComfyUI API)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DALL·E 3&lt;/strong&gt; (OpenAI API)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flux&lt;/strong&gt; (via Replicate or local)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="typical-workflow"&gt;Typical workflow&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Open a new layer in Inkscape for raster assets&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;Extensions → ImageGen Ink → Generate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Type your prompt (e.g. &lt;em&gt;&amp;ldquo;microscopy image of retinal fundus, professional photo&amp;rdquo;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Choose resolution and backend&lt;/li&gt;
&lt;li&gt;Image is placed on canvas; scale and position as needed&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git clone https://github.com/YouvenZ/Imagegen_ink
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Inkscape Extensions Suite</title><link>https://youvenz.github.io/projects/inkscape-extensions/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/projects/inkscape-extensions/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;A suite of &lt;strong&gt;8 open-source Inkscape extensions&lt;/strong&gt; designed for researchers and technical creators who want to stay inside their SVG workflow without switching to external tools.&lt;/p&gt;
&lt;p&gt;Each extension is independently installable and integrates natively into Inkscape&amp;rsquo;s Extensions menu.&lt;/p&gt;
&lt;h2 id="extensions"&gt;Extensions&lt;/h2&gt;
&lt;h3 id="diagram-generation"&gt;Diagram Generation&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/svg_maker_ink"&gt;SVG Maker&lt;/a&gt;&lt;/strong&gt; — Generate SVG elements from natural language prompts using an LLM, directly inside Inkscape.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/mermaid_ink"&gt;Mermaid Ink&lt;/a&gt;&lt;/strong&gt; — Render Mermaid.js diagrams (flowcharts, sequence diagrams, Gantt charts) as native SVG inside Inkscape.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/D2_ink"&gt;D2 Ink&lt;/a&gt;&lt;/strong&gt; — Write and render D2 architecture diagrams and entity-relationship diagrams as editable SVG.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="ai-assisted-content"&gt;AI-Assisted Content&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/textgen_ink"&gt;TextGen Ink&lt;/a&gt;&lt;/strong&gt; — Generate, rewrite, or refine text elements using an LLM — captions, labels, descriptions — without leaving Inkscape.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/Imagegen_ink"&gt;ImageGen Ink&lt;/a&gt;&lt;/strong&gt; — Generate AI images (Stable Diffusion, DALL·E, Flux) from text prompts as embedded SVG elements.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="scientific--data-visualisation"&gt;Scientific &amp;amp; Data Visualisation&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/plt_ink"&gt;Plt Ink&lt;/a&gt;&lt;/strong&gt; — Write Python Matplotlib code and render publication-quality figures as native SVG directly inside Inkscape.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/poster_utils_ink"&gt;Poster Utils Ink&lt;/a&gt;&lt;/strong&gt; — Auto-generate formatted title blocks, author lists, and institution panels for academic conference posters.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="academic-reference"&gt;Academic Reference&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://github.com/YouvenZ/Loadrefs_Ink"&gt;LoadRefs Ink&lt;/a&gt;&lt;/strong&gt; — Import bibliography files (.bib, .ris, .json, .enw) and place formatted citations as editable SVG text inside Inkscape.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;p&gt;Each extension follows the standard Inkscape extension installation process:&lt;/p&gt;</description></item><item><title>SVG Maker — AI SVG Generator for Inkscape</title><link>https://youvenz.github.io/projects/inkscape-svg-maker/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/projects/inkscape-svg-maker/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;SVG Maker&lt;/strong&gt; is an Inkscape extension that lets you describe any diagram, icon, or figure in plain English and have an LLM generate the corresponding SVG code, which is then inserted directly into your Inkscape canvas.&lt;/p&gt;
&lt;h2 id="features"&gt;Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Natural language → SVG generation powered by GPT-4, Claude, or any OpenAI-compatible API&lt;/li&gt;
&lt;li&gt;Iterative refinement: describe changes to the selected SVG element to modify it&lt;/li&gt;
&lt;li&gt;Preview before insertion&lt;/li&gt;
&lt;li&gt;Works with any Inkscape 1.x installation&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git clone https://github.com/YouvenZ/svg_maker_ink
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Copy to your Inkscape extensions folder&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Linux: ~/.config/inkscape/extensions/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Windows: %APPDATA%\inkscape\extensions\&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Inkscape 1.x&lt;/li&gt;
&lt;li&gt;Python 3.8+&lt;/li&gt;
&lt;li&gt;OpenAI / Anthropic API key (set in extension preferences)&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>TextGen Ink — AI Text Generator for Inkscape</title><link>https://youvenz.github.io/projects/inkscape-textgen/</link><pubDate>Thu, 01 Jan 2026 00:00:00 +0000</pubDate><guid>https://youvenz.github.io/projects/inkscape-textgen/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;TextGen Ink&lt;/strong&gt; is an Inkscape extension that connects any text element on your canvas to a large language model. Select a text frame, choose an operation, and let the LLM generate, rewrite, summarise, or translate your content in-place.&lt;/p&gt;
&lt;h2 id="use-cases"&gt;Use cases&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Caption generation&lt;/strong&gt;: select a figure and generate a descriptive caption&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Label refinement&lt;/strong&gt;: improve the phrasing of axis labels or legend entries&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Abstract writing&lt;/strong&gt;: generate a draft abstract from a set of bullet points&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Translation&lt;/strong&gt;: translate all text elements in a scientific poster to another language&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="supported-operations"&gt;Supported operations&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Mode&lt;/th&gt;
 &lt;th&gt;Description&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Generate&lt;/td&gt;
 &lt;td&gt;Write new text from a prompt&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Rewrite&lt;/td&gt;
 &lt;td&gt;Paraphrase or improve selected text&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Summarise&lt;/td&gt;
 &lt;td&gt;Condense long text to a shorter form&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Translate&lt;/td&gt;
 &lt;td&gt;Translate to a target language&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git clone https://github.com/YouvenZ/textgen_ink
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>