Subject: mailing-list for TeXmacs Users
List archive
From : Aleksandr Dobkin <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] path of pictures
- Date: Sat, 7 Jan 2012 18:04:48 -0600
It seems what you are trying to do is concatenate two strings, one variable, and the other literal, and use that as the argument to the image tag. I initially though concat would do the trick, but instead merge is the one to use.
http://www.texmacs.org/tmweb/manual/webman-styling.en.html
For example:
<assign|path|/tmp/EXAMPLE/>
<image|<merge|<path>|emblem-OK.png>||||>
On Sat, Jan 7, 2012 at 4:53 PM, El.Douwen <address@hidden> wrote:
hi Adrian
thanks
i understand
i try to type this
<inactive|<assign|x|toto>>
<inactive|<image|<x/okok.png>||||>>
explanation:
in the same path than the texmacs file, there is a folder named "toto" which contains your image renamed "okok.png"
the result is :
bad image|error compound x/okok.png
what is strange : the assignation of x can be effective (return pressed) or not, i does not change the result
but :
these instructions work well
<inactive|<assign|x|toto/okok.png>>
<inactive|<image|<x>||||>>
so i do not understant where the problem is
other question :
the assignation of x has no visual form when return is pressed. That is to say, if i dont know that the assignation of x is at this place of the document, how do i do if i want to modify the assignation of x ?
Sacha
Le 7 janv. 2012 à 10:23, Adrian S. a écrit :
> those characters are obtained not via "<", but via "\"
> this is what I typed (here, <return> is a single key stroke)
>
> \ a s s i g n <return>
> and then x and then the value of x
>
> in the other one I type
>
> \ i m a g e <return key>
>
> and in the place where you are supposed to enter the address, you type
>
> \ x <return>
>
> I hope this helps.
> -Adrian.
>
> On Sat, Jan 7, 2012 at 1:34 AM, El.Douwen <address@hidden> wrote:
>> ok thanks Adrian
>> it works (except svg that my computer not seem to be able to read)
>> but i can not manage to edit the letter "x"
>> i wanted to do something like this
>>> <assign|x|/home/adrian/Desktop/MyFolder>
>> and for each image
>>> <image|<value|x>image1.png|3cm|||>
>> the problem for me is to edit the character < > i think
>> i obtain < and > but in texmacs it seems to be a more thin < and a more thin >
>> that is not, thought, a deep worry for me; this is not a really first-importance-question
>> (for example "how to modify/hide the headers ?" would be such a question...)
>> i would just have been more simple for me
>> thank you for having answered.
>> Sacha
>>
>>
>> Le 6 janv. 2012 à 18:14, Adrian S. a écrit :
>>
>>> Look at this file, I left the tags inactive in the .tm file. You can
>>> get into them and press return.
>>>
>>> If you get a black square with a ?, maybe closing and reloading would work.
>>>
>>> Note that you can give a relative path so that if you relocate your
>>> folder, the images will work as long as the relative positions of the
>>> files with respect to the document is the same.
>>>
>>> I hope this helps.
>>> -Adrian.
>>>
>>> On Fri, Jan 6, 2012 at 2:05 AM, El.Douwen <address@hidden> wrote:
>>>> ok thanks
>>>> shall i do this for each picture ?
>>>> or can i do something like
>>>>> <assign|x|/home/adrian/Desktop/MyFolder>
>>>>
>>>> and for each image
>>>>> <image|<value|x>image1.png|3cm|||> ?
>>>>
>>>>
>>>> i just tried now
>>>> i wrote
>>>> <\assign then [enter] then chemin|/Users/myName/Desktop/toto
>>>> and then
>>>> <\image then [enter] then x>to.pdf|3cm|||>
>>>> the result is a ? symbol in a square
>>>> i precize that there is a file to.pdf in a "toto" folder on the Desktop
>>>>
>>>> Sacha
>>>>
>>>>
>>>> Le 5 janv. 2012 à 16:59, Adrian S. a écrit :
>>>>
>>>>> I tried
>>>>> <assign|x|/home/adrian/Desktop/eraseme.png>
>>>>>
>>>>> <image|<value|x>|87px|98px||>
>>>>>
>>>>> and it worked.
>>>>>
>>>>> Peace.
>>>>> -Adrian.
>>>>> On Wed, Jan 4, 2012 at 10:33 PM, El.Douwen <address@hidden> wrote:
>>>>>> hi all
>>>>>>
>>>>>> when i "link" images instead of "instering" them, if the images are moved texmacs doesnt find them any more, tha is logical, so i wanted to know if it is posisble to specify the path of the pictures at the beginning of the docment, so that in case of need i could change the path of the images as i want.
>>>>>>
>>>>>> Sacha
>>>>
>>> <EXAMPLE.tar.gz>
>>
- [TeXmacs] path of pictures, El.Douwen, 01/05/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/05/2012
- Re: [TeXmacs] path of pictures, El . Douwen, 01/06/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/06/2012
- Re: [TeXmacs] path of pictures, El.Douwen, 01/07/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/07/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/07/2012
- Re: [TeXmacs] path of pictures, El.Douwen, 01/08/2012
- Re: [TeXmacs] path of pictures, Aleksandr Dobkin, 01/08/2012
- Re: [TeXmacs] path of pictures, El.Douwen, 01/08/2012
- Re: [TeXmacs] path of pictures, El.Douwen, 01/08/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/08/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/07/2012
- Re: [TeXmacs] path of pictures, El.Douwen, 01/07/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/06/2012
- Re: [TeXmacs] path of pictures, El . Douwen, 01/06/2012
- Re: [TeXmacs] path of pictures, Adrian S., 01/05/2012
Archive powered by MHonArc 2.6.19.