Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-21 Thread Rodrigo Severo via Therion
2017-02-21 11:11 GMT-03:00 Stacho Mudrak via Therion :

> Hi,
>
> I have finished implementation today, but it was a long term problem. Now
> therion should compile without any additional therion.ini modifications. If
> it does not find required fonts, it will not use them.
>

Just tested. It worked perfectly.


Thanks again,

Rodrigo


>
> S.
>
> On 21 February 2017 at 15:04, Rodrigo Severo via Therion <
> therion@speleo.sk> wrote:
>
>> Hi Stacho,
>>
>> 2017-02-21 8:48 GMT-03:00 Stacho Mudrak via Therion :
>>
>>> Hello,
>>>
>>> we have implemented Olly's proposal of tex-fonts-optional. It should
>>> work now I believe, because all non standard TeX fonts used are now
>>> optional.
>>>
>>
>> I'm not sure I understood. Have you implemented Olly's proposal after
>> yesterday afternoon?
>>
>> I'm asking because I got Therion's code yesterday afternoon and that code
>> got me the 768 metapost error that I had to fix by manually inserting the
>> *text-fonts* line in /etc/therion.ini. And again, just copying the
>> therion.ini would not have solved the issue as it has no uncommented lines
>> in it.
>>
>> May be there should be a new text-fonts-optional line on source's
>> therion.ini file. Is that what's missing now?
>>
>>
>> Regards,
>>
>> Rodrigo
>>
>>
>>
>>>
>>> S.
>>>
>>> On 21 February 2017 at 01:31, Rodrigo Severo via Therion <
>>> therion@speleo.sk> wrote:
>>>
 2017-02-20 21:00 GMT-03:00 Olly Betts :

> On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion
> wrote:
> > To fix it I had to include the following line on */etc/therion.ini*
> >
> > tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
> >
> > despite Therion Book stating at page 80 that this is the default
> setting.
> >
> > Should this line be uncommented on the default *therion.ini* file?
>
> Do you have the Ubuntu package of therion installed too?
>

 Yes, I do.


> If so, my guess is that /etc/therion.ini is from that package.


 I bet it is.


> Currently
> the Debian (and hence Ubuntu) packages have a couple of patches in this
> area - see the discussion here for details:
>
> https://github.com/therion/therion/pull/31
>
> Assuming I'm right, the quickest fix for your situation is probably to
> copy
> therion.ini from the source tree to /etc.
>

 I just checked the diferences between *therion.ini* from the source
 tree and the one at */etc/therion.ini*. There are a few but all on
 lines that are commented, so they are irrelevant for this situation.

 The only diference on a non commented line is exactly the line I
 included in */etc/therion.ini* that is not present on the *therion.ini* 
 file
 available at the source and also wasn't at */etc/therion.ini* until I
 included it myself.

 So, no, coping the *therion.ini* available at the source to
 */etc/therion.ini* wouldn't fix my issue.

 My issue is exactly the one discussed at the link you sent.
 Unfortunatelly that issue isn't solved yet.

 AFAICT, right now new Therion installations from source on Linux won't
 work because of error 768.


 Regards,

 Rodrigo



>
> Cheers,
> Olly
>


 ___
 Therion mailing list
 Therion@speleo.sk
 https://mailman.speleo.sk/listinfo/therion


>>>
>>> ___
>>> Therion mailing list
>>> Therion@speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>>>
>>>
>>
>> ___
>> Therion mailing list
>> Therion@speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
>>
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-21 Thread Stacho Mudrak via Therion
Hi,

I have finished implementation today, but it was a long term problem. Now
therion should compile without any additional therion.ini modifications. If
it does not find required fonts, it will not use them.

S.

On 21 February 2017 at 15:04, Rodrigo Severo via Therion 
wrote:

> Hi Stacho,
>
> 2017-02-21 8:48 GMT-03:00 Stacho Mudrak via Therion :
>
>> Hello,
>>
>> we have implemented Olly's proposal of tex-fonts-optional. It should work
>> now I believe, because all non standard TeX fonts used are now optional.
>>
>
> I'm not sure I understood. Have you implemented Olly's proposal after
> yesterday afternoon?
>
> I'm asking because I got Therion's code yesterday afternoon and that code
> got me the 768 metapost error that I had to fix by manually inserting the
> *text-fonts* line in /etc/therion.ini. And again, just copying the
> therion.ini would not have solved the issue as it has no uncommented lines
> in it.
>
> May be there should be a new text-fonts-optional line on source's
> therion.ini file. Is that what's missing now?
>
>
> Regards,
>
> Rodrigo
>
>
>
>>
>> S.
>>
>> On 21 February 2017 at 01:31, Rodrigo Severo via Therion <
>> therion@speleo.sk> wrote:
>>
>>> 2017-02-20 21:00 GMT-03:00 Olly Betts :
>>>
 On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion
 wrote:
 > To fix it I had to include the following line on */etc/therion.ini*
 >
 > tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
 >
 > despite Therion Book stating at page 80 that this is the default
 setting.
 >
 > Should this line be uncommented on the default *therion.ini* file?

 Do you have the Ubuntu package of therion installed too?

>>>
>>> Yes, I do.
>>>
>>>
 If so, my guess is that /etc/therion.ini is from that package.
>>>
>>>
>>> I bet it is.
>>>
>>>
 Currently
 the Debian (and hence Ubuntu) packages have a couple of patches in this
 area - see the discussion here for details:

 https://github.com/therion/therion/pull/31

 Assuming I'm right, the quickest fix for your situation is probably to
 copy
 therion.ini from the source tree to /etc.

>>>
>>> I just checked the diferences between *therion.ini* from the source
>>> tree and the one at */etc/therion.ini*. There are a few but all on
>>> lines that are commented, so they are irrelevant for this situation.
>>>
>>> The only diference on a non commented line is exactly the line I
>>> included in */etc/therion.ini* that is not present on the *therion.ini* file
>>> available at the source and also wasn't at */etc/therion.ini* until I
>>> included it myself.
>>>
>>> So, no, coping the *therion.ini* available at the source to
>>> */etc/therion.ini* wouldn't fix my issue.
>>>
>>> My issue is exactly the one discussed at the link you sent.
>>> Unfortunatelly that issue isn't solved yet.
>>>
>>> AFAICT, right now new Therion installations from source on Linux won't
>>> work because of error 768.
>>>
>>>
>>> Regards,
>>>
>>> Rodrigo
>>>
>>>
>>>

 Cheers,
 Olly

>>>
>>>
>>> ___
>>> Therion mailing list
>>> Therion@speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>>>
>>>
>>
>> ___
>> Therion mailing list
>> Therion@speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
>>
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-21 Thread Rodrigo Severo via Therion
Hi Stacho,

2017-02-21 8:48 GMT-03:00 Stacho Mudrak via Therion :

> Hello,
>
> we have implemented Olly's proposal of tex-fonts-optional. It should work
> now I believe, because all non standard TeX fonts used are now optional.
>

I'm not sure I understood. Have you implemented Olly's proposal after
yesterday afternoon?

I'm asking because I got Therion's code yesterday afternoon and that code
got me the 768 metapost error that I had to fix by manually inserting the
*text-fonts* line in /etc/therion.ini. And again, just copying the
therion.ini would not have solved the issue as it has no uncommented lines
in it.

May be there should be a new text-fonts-optional line on source's
therion.ini file. Is that what's missing now?


Regards,

Rodrigo



>
> S.
>
> On 21 February 2017 at 01:31, Rodrigo Severo via Therion <
> therion@speleo.sk> wrote:
>
>> 2017-02-20 21:00 GMT-03:00 Olly Betts :
>>
>>> On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion
>>> wrote:
>>> > To fix it I had to include the following line on */etc/therion.ini*
>>> >
>>> > tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
>>> >
>>> > despite Therion Book stating at page 80 that this is the default
>>> setting.
>>> >
>>> > Should this line be uncommented on the default *therion.ini* file?
>>>
>>> Do you have the Ubuntu package of therion installed too?
>>>
>>
>> Yes, I do.
>>
>>
>>> If so, my guess is that /etc/therion.ini is from that package.
>>
>>
>> I bet it is.
>>
>>
>>> Currently
>>> the Debian (and hence Ubuntu) packages have a couple of patches in this
>>> area - see the discussion here for details:
>>>
>>> https://github.com/therion/therion/pull/31
>>>
>>> Assuming I'm right, the quickest fix for your situation is probably to
>>> copy
>>> therion.ini from the source tree to /etc.
>>>
>>
>> I just checked the diferences between *therion.ini* from the source tree
>> and the one at */etc/therion.ini*. There are a few but all on lines that
>> are commented, so they are irrelevant for this situation.
>>
>> The only diference on a non commented line is exactly the line I included
>> in */etc/therion.ini* that is not present on the *therion.ini* file
>> available at the source and also wasn't at */etc/therion.ini* until I
>> included it myself.
>>
>> So, no, coping the *therion.ini* available at the source to
>> */etc/therion.ini* wouldn't fix my issue.
>>
>> My issue is exactly the one discussed at the link you sent.
>> Unfortunatelly that issue isn't solved yet.
>>
>> AFAICT, right now new Therion installations from source on Linux won't
>> work because of error 768.
>>
>>
>> Regards,
>>
>> Rodrigo
>>
>>
>>
>>>
>>> Cheers,
>>> Olly
>>>
>>
>>
>> ___
>> Therion mailing list
>> Therion@speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
>>
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-21 Thread Stacho Mudrak via Therion
Hello,

we have implemented Olly's proposal of tex-fonts-optional. It should work
now I believe, because all non standard TeX fonts used are now optional.

S.

On 21 February 2017 at 01:31, Rodrigo Severo via Therion 
wrote:

> 2017-02-20 21:00 GMT-03:00 Olly Betts :
>
>> On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion
>> wrote:
>> > To fix it I had to include the following line on */etc/therion.ini*
>> >
>> > tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
>> >
>> > despite Therion Book stating at page 80 that this is the default
>> setting.
>> >
>> > Should this line be uncommented on the default *therion.ini* file?
>>
>> Do you have the Ubuntu package of therion installed too?
>>
>
> Yes, I do.
>
>
>> If so, my guess is that /etc/therion.ini is from that package.
>
>
> I bet it is.
>
>
>> Currently
>> the Debian (and hence Ubuntu) packages have a couple of patches in this
>> area - see the discussion here for details:
>>
>> https://github.com/therion/therion/pull/31
>>
>> Assuming I'm right, the quickest fix for your situation is probably to
>> copy
>> therion.ini from the source tree to /etc.
>>
>
> I just checked the diferences between *therion.ini* from the source tree
> and the one at */etc/therion.ini*. There are a few but all on lines that
> are commented, so they are irrelevant for this situation.
>
> The only diference on a non commented line is exactly the line I included
> in */etc/therion.ini* that is not present on the *therion.ini* file
> available at the source and also wasn't at */etc/therion.ini* until I
> included it myself.
>
> So, no, coping the *therion.ini* available at the source to
> */etc/therion.ini* wouldn't fix my issue.
>
> My issue is exactly the one discussed at the link you sent. Unfortunatelly
> that issue isn't solved yet.
>
> AFAICT, right now new Therion installations from source on Linux won't
> work because of error 768.
>
>
> Regards,
>
> Rodrigo
>
>
>
>>
>> Cheers,
>> Olly
>>
>
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-20 Thread Rodrigo Severo via Therion
2017-02-20 21:00 GMT-03:00 Olly Betts :

> On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion wrote:
> > To fix it I had to include the following line on */etc/therion.ini*
> >
> > tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
> >
> > despite Therion Book stating at page 80 that this is the default setting.
> >
> > Should this line be uncommented on the default *therion.ini* file?
>
> Do you have the Ubuntu package of therion installed too?
>

Yes, I do.


> If so, my guess is that /etc/therion.ini is from that package.


I bet it is.


> Currently
> the Debian (and hence Ubuntu) packages have a couple of patches in this
> area - see the discussion here for details:
>
> https://github.com/therion/therion/pull/31
>
> Assuming I'm right, the quickest fix for your situation is probably to copy
> therion.ini from the source tree to /etc.
>

I just checked the diferences between *therion.ini* from the source tree
and the one at */etc/therion.ini*. There are a few but all on lines that
are commented, so they are irrelevant for this situation.

The only diference on a non commented line is exactly the line I included
in */etc/therion.ini* that is not present on the *therion.ini* file
available at the source and also wasn't at */etc/therion.ini* until I
included it myself.

So, no, coping the *therion.ini* available at the source to
*/etc/therion.ini* wouldn't fix my issue.

My issue is exactly the one discussed at the link you sent. Unfortunatelly
that issue isn't solved yet.

AFAICT, right now new Therion installations from source on Linux won't work
because of error 768.


Regards,

Rodrigo



>
> Cheers,
> Olly
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] First use of locally compiled Therion: metapost error

2017-02-20 Thread Olly Betts via Therion
On Mon, Feb 20, 2017 at 08:40:36PM -0300, Rodrigo Severo via Therion wrote:
> To fix it I had to include the following line on */etc/therion.ini*
> 
> tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10
> 
> despite Therion Book stating at page 80 that this is the default setting.
> 
> Should this line be uncommented on the default *therion.ini* file?

Do you have the Ubuntu package of therion installed too?

If so, my guess is that /etc/therion.ini is from that package.  Currently
the Debian (and hence Ubuntu) packages have a couple of patches in this
area - see the discussion here for details:

https://github.com/therion/therion/pull/31

Assuming I'm right, the quickest fix for your situation is probably to copy
therion.ini from the source tree to /etc.

Cheers,
Olly
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] First use of locally compiled Therion: metapost error

2017-02-20 Thread Rodrigo Severo via Therion
Hi,


After managing to compile Therion I went to actually use it.

Just trying to compile the project I'm working on. It gave me the following
error:

### metapost log file 
This is MetaPost, version 1.999 (TeX Live 2015/Debian) (kpathsea version
6.2.1)  20 FEB 2017 19:03
**data.mp
(/usr/share/texlive/texmf-dist/metapost/base/mpost.mp
(/usr/share/texlive/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./data.mp [4001] [4002]
[4003]
[4004] [4005] [4006] [4007] [4008] [4009] [4010] [4011] [4012] [4013]
[1] [2]
>> data.mp
>> data.mpx
! ! Unable to read mpx file.
l.5438 p_station((69.19,180.36),1,btex
   \thcomment \thfb\char66 \char97
\char...
The two files given above are one of your source files
and an auxiliary file I need to read to find out what your
btex..etex blocks mean. If you don't know why I had trouble,
try running it manually through MPtoTeX, TeX, and DVItoMP



Here is how much of MetaPost's memory you used:
 1898 strings using 45493 characters
 2779320 bytes of node memory
 1422 symbolic tokens
 8i,81n,11p,158b,2f stack positions out of 16i,96n,12p,200b,4f15 output
files written: data.1 .. data.4013


 end of metapost log file 
therion: error -- metapost exit code -- 768
writing xtherion file ... done


To fix it I had to include the following line on */etc/therion.ini*

tex-fonts raw cmr10 cmti10 cmbx10 cmss10 cmssi10

despite Therion Book stating at page 80 that this is the default setting.

Should this line be uncommented on the default *therion.ini* file?

I can send a patch if this is the right way to solve this issue. Please ley
me know.


Regards,

Rodrigo Severo
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion