You are not logged in.

#1 2024-10-06 06:35:48

MaMaths
Member
Registered: 2024-10-06
Posts: 3

LaTeX problem with TEXINPUTS that works only from console

Hello everybody !

First of all, sorry for my English, it's not my natural language.

I would like to compile a document like that :

\documentclass[a4paper,oneside,11pt]{article}
\input{PersonalCommands}%
\begin{document}
\trycmd{Hello world !}
\end{document}

The  input command refers to file : /mtg/Dev/LaTeX/Macros/PersonalCommands.tex

This tex file only contain this commands:

\newcommand{\trycmd}[1]{%
{\Huge #1}
}

I have written in my .bashrc the following line code:

export TEXINPUTS=".:./images//:/mtg/Dev/LaTeX//:"

I use the Enter Tex application to write my document.

When i start Enter Tex from a console with the command line

enter-tex

every thing works perfectly, my document is conform !

Although, when I start Enter Tex by is shortcut or by double clicking on a file icon in Thunar, the document dont compile.
I have the message that

File `PersonalCommands.tex` not found.

Is there something I miss to do ? Anybody has the same issue ?
Thank a lot for your help.

Have a nice day.

Last edited by MaMaths (2024-10-06 06:36:45)

Offline

Board footer

Powered by FluxBB