* \definedescription[...][hang=fit] broken in latest beta?
@ 2012-02-10 18:28 Pablo Rodríguez
2012-02-11 5:48 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodríguez @ 2012-02-10 18:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi there,
I'm not able to compile this code using the latest beta:
\definedescription[optionlisting][hang=fit]
\starttext
\optionlisting{range} especifica espectro
\stoptext
Just in case it helps,
Pablo
--
http://www.oudeis.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-10 18:28 \definedescription[...][hang=fit] broken in latest beta? Pablo Rodríguez
@ 2012-02-11 5:48 ` Wolfgang Schuster
2012-02-11 12:27 ` Pablo Rodríguez
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-02-11 5:48 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez:
> Hi there,
>
> I'm not able to compile this code using the latest beta:
>
> \definedescription[optionlisting][hang=fit]
> \starttext
> \optionlisting{range} especifica espectro
> \stoptext
>
> Just in case it helps,
1. You need a empty line or \par at the end of the description (or use \startoptionlisting … \stopoptionlisting)
2. Change this in strc-con.mkvi
\def\strc_constructions_set_hang#1%
{\edef\p_hang{\constructionparameter\c!hang}%
\ifx\p_hang\empty
\else\ifx\p_hang\v!fit
\scratchdimen\htdp\constructionheadbox
\getnoflines\scratchdimen
\hangafter-\noflines
\else\ifx\p_hang\v!broad
\scratchdimen\dimexpr\htdp\constructionheadbox+.5\strutht\relax
\getnoflines\scratchdimen
\hangafter-\noflines
\else
\hangafter-\p_hang
- \fi
+ \fi\fi\fi
\relax
\hangindent\ifx#1\v!right-\fi\constructionsheadwidth}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-11 5:48 ` Wolfgang Schuster
@ 2012-02-11 12:27 ` Pablo Rodríguez
2012-02-11 12:46 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodríguez @ 2012-02-11 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/11/2012 06:48 AM, Wolfgang Schuster wrote:
>
> Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez:
>
>> Hi there,
>>
>> I'm not able to compile this code using the latest beta:
>>
>> \definedescription[optionlisting][hang=fit]
>> \starttext
>> \optionlisting{range} especifica espectro
>> \stoptext
>>
>> Just in case it helps,
>
> 1. You need a empty line or \par at the end of the description (or use \startoptionlisting … \stopoptionlisting)
>
> 2. Change this in strc-con.mkvi
Many thanks for your help, Wolfgang.
I'm afraid it doesn't work here (log below). Do I have to rebuild the
MKIV format?
! Incomplete \ifx; all text was ignored after line 3.
system > tex > error on line 0 in file : Incomplete \ifx; all
text was ignored after line 3 ...
<empty file>
<inserted text>
\fi
<*> ./a.tex
\stoptext
?
! Emergency stop.
system > tex > error on line 0 in file : Emergency stop ...
<empty file>
<inserted text>
\fi
<*> ./a.tex
\stoptext
! ==> Fatal error occurred, no output PDF file produced!
Compilation failed.
mtx-context | fatal error: return code: 1
Thanks again for your help,
Pablo
--
http://www.oudeis.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-11 12:27 ` Pablo Rodríguez
@ 2012-02-11 12:46 ` Wolfgang Schuster
2012-02-11 14:12 ` Pablo Rodríguez
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-02-11 12:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.02.2012 um 13:27 schrieb Pablo Rodríguez:
> On 02/11/2012 06:48 AM, Wolfgang Schuster wrote:
>>
>> Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez:
>>
>>> Hi there,
>>>
>>> I'm not able to compile this code using the latest beta:
>>>
>>> \definedescription[optionlisting][hang=fit]
>>> \starttext
>>> \optionlisting{range} especifica espectro
>>> \stoptext
>>>
>>> Just in case it helps,
>>
>> 1. You need a empty line or \par at the end of the description (or use \startoptionlisting … \stopoptionlisting)
>>
>> 2. Change this in strc-con.mkvi
>
> Many thanks for your help, Wolfgang.
>
> I'm afraid it doesn't work here (log below). Do I have to rebuild the
> MKIV format?
Yes because the when you run “context --make …” tex reads all source files
and save them as memory dump with the name cont-xx.fmt on the disk which
which is faster to read than then each file one by one. There are a few files
which aren’t included in the format like typescripts (type-xx.mkiv) where
you can make changes without regenerating the format.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-11 12:46 ` Wolfgang Schuster
@ 2012-02-11 14:12 ` Pablo Rodríguez
2012-02-11 14:20 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodríguez @ 2012-02-11 14:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/11/2012 01:46 PM, Wolfgang Schuster wrote:
>
> Am 11.02.2012 um 13:27 schrieb Pablo Rodríguez:
>
>> On 02/11/2012 06:48 AM, Wolfgang Schuster wrote:
>>>
>>> Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez:
>>>
>>>> Hi there,
>>>>
>>>> I'm not able to compile this code using the latest beta:
>>>>
>>>> \definedescription[optionlisting][hang=fit]
>>>> \starttext
>>>> \optionlisting{range} especifica espectro
>>>> \stoptext
>>>>
>>>> Just in case it helps,
>>>
>>> 1. You need a empty line or \par at the end of the description (or use \startoptionlisting … \stopoptionlisting)
>>>
>>> 2. Change this in strc-con.mkvi
>>
>> Many thanks for your help, Wolfgang.
>>
>> I'm afraid it doesn't work here (log below). Do I have to rebuild the
>> MKIV format?
>
> Yes because the when you run “context --make …” tex reads all source files
> and save them as memory dump with the name cont-xx.fmt on the disk which
> which is faster to read than then each file one by one. There are a few files
> which aren’t included in the format like typescripts (type-xx.mkiv) where
> you can make changes without regenerating the format.
Thanks for your help and the explanation, Wolfgang.
I'm afraid that it doesn't work even after regenerating the format
(mtxrun --selfupdate && mtxrun --generate && luatools --generate &&
context --make, as suggested by the wiki).
The error message is the following:
! Incomplete \ifx; all text was ignored after line 3.
system > tex > error on line 0 in file : Incomplete \ifx; all
text was ignored after line 3 ...
<empty file>
<inserted text>
\fi
<*> ./a.tex
\stoptext
?
! Emergency stop.
system > tex > error on line 0 in file : Emergency stop ...
<empty file>
<inserted text>
\fi
<*> ./a.tex
\stoptext
! ==> Fatal error occurred, no output PDF file produced!
mtx-context | fatal error: return code: 1
Compilation failed.
Thanks for your help,
Pablo
--
http://www.oudeis.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-11 14:12 ` Pablo Rodríguez
@ 2012-02-11 14:20 ` Wolfgang Schuster
2012-02-11 14:34 ` Pablo Rodríguez
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-02-11 14:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
Am 11.02.2012 um 15:12 schrieb Pablo Rodríguez:
> Thanks for your help and the explanation, Wolfgang.
>
> I'm afraid that it doesn't work even after regenerating the format
> (mtxrun --selfupdate && mtxrun --generate && luatools --generate &&
> context --make, as suggested by the wiki).
Here is what I did:
1. I changed in \strc_constructions_set_hang “\fi” to ”\fi\fi\fi“.
2. I typed “context --make en” in the shell.
3. I processed the example without errors.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1365 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \definedescription[...][hang=fit] broken in latest beta?
2012-02-11 14:20 ` Wolfgang Schuster
@ 2012-02-11 14:34 ` Pablo Rodríguez
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodríguez @ 2012-02-11 14:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/11/2012 03:20 PM, Wolfgang Schuster wrote:
> Here is what I did:
>
> 1. I changed in \strc_constructions_set_hang “\fi” to ”\fi\fi\fi“.
>
> 2. I typed “context --make en” in the shell.
After running "context --make en" the error was gone.
Thanks for your help,
Pablo
--
http://www.oudeis.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-11 14:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 18:28 \definedescription[...][hang=fit] broken in latest beta? Pablo Rodríguez
2012-02-11 5:48 ` Wolfgang Schuster
2012-02-11 12:27 ` Pablo Rodríguez
2012-02-11 12:46 ` Wolfgang Schuster
2012-02-11 14:12 ` Pablo Rodríguez
2012-02-11 14:20 ` Wolfgang Schuster
2012-02-11 14:34 ` Pablo Rodríguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).