mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] import latex


Chronological Thread 
  • From: "El.Douwen" <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] import latex
  • Date: Thu, 20 Oct 2011 03:53:09 +0200

it seems that there is no picture in the .tex file
the graphics are generated by latex
i copy the code here
do you think that one one the programms that can be used with texmacs as
interface could understand this code ?

Sacha


---- code ----

\medskip

\psset{unit=5cm}
\begin{center}
\begin{pspicture*}(-0.4,-0.2)(1.7,1.3)
\psaxes[linewidth=1.5pt,Dx=0.2,Dy=0.2,comma=true]{->}(0,0)(-0.4,-0.2)(1.7,1.3)
\psgrid[gridlabels=0pt,gridcolor=orange,subgridcolor=orange,subgriddiv=5](-0.4,-0.2)(1.7,1.3)
\psplot[plotpoints=8000,linecolor=blue,linewidth=1.25pt]{-0.4}{1.7}{1 2.71828
0.25 x dup mul mul exp div}
\psline(-0.2,-0.2)(1.2,1.2)
\uput[dl](0,0){O}\uput[d](-0.35,0.95){$(\mathcal{C})$}
\end{pspicture*}
\end{center}
\end{enumerate}

\medskip

---------------

Le 19 oct. 2011 à 22:06, Adrian S. a écrit :

> The pictures in a tex file are generally in a separate directory or in
> the same directory as the tex file.
>
> You can see where they are relative to the location of the TeX file by
> looking at the command \inculdegraphics in your TeX file.
>
> More information is in the little book "The not too short introduction
> to LaTeX", which you can find by googling it.
>
> Good luck.
> -Adrian.
>
> On Wed, Oct 19, 2011 at 1:39 PM, El.Douwen <address@hidden> wrote:
>> ok
>> thanks for the explanations
>> just a question, that results from my low knowledge about latex
>> if i download a .tex file, where are the pictures ?
>> is it a html file, what would mean, if i download a .tex there are not the
>> pictures ?
>> or is there a means, since texmacs dont display them at the importation,
>> to get them by "opening" the tex file from an other means ?
>> Sacha
>>
>> Le 19 oct. 2011 à 19:59, Joris van der Hoeven a écrit :
>>
>>> On Wed, Oct 19, 2011 at 06:27:03PM +0200, El.Douwen wrote:
>>>> hi
>>>> i had never done this before
>>>> i had imported a .tex file
>>>> this one :
>>>> http://www.apmep.asso.fr/TS-2011-2012-1-sujet
>>>> (click on "latex")
>>>>
>>>> result : super, i am impressed, i can modify the equations..
>>>>
>>>> but :
>>>>
>>>> 1) images seem to be lost.
>>>> 2) some equations seem to use code that texmacs do not recognize
>>>>
>>>> is that normal ?
>>>
>>> Yes, it is. Unfortunately, TeX/LaTeX is a software with one of the worst
>>> possible designs... In particular, it does not conform to a precise
>>> grammar
>>> or format, which makes it hardly impossible to import .tex files in a 100%
>>> safe manner. We intend to improve our import filter via our latest job
>>> offer,
>>> but I doubt that a 100% correct result will ever be possible.
>>>
>>> Best, --Joris
>>
>>




Archive powered by MHonArc 2.6.19.

Top of page