I have been using texmacs for a year.
I am a mathematics teacher in a French high school.
For me, Texmacs is the ideal tool.
I’ve used Lyx for my lessons for years but switched to Texmacs for good.
I want to be able to add directly in the “graph” plugin (in fact in “pdflatex”) several lines of code to be able to use them often.
I can’t find the solution.
This is what I tried:
(kbd-map
(:mode in-text?)
(“p r e.” (insert
%pdflatex
\documentclass[11pt]{standalone}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz,pgf}
\usepackage{graphicx}
\usepackage{ifpdf}
\begin{document}
\resizebox{3cm}{!}{\input{/home/biz/Bureau-bis/tpx-ajuste-direct/arbre-proba.tpx}}
\end{document}
")))
It does not work.
Thank you for your help and especially thank you for this nice software that you improve regularly.