[NTG-context] Section in golden ratio?

2013-07-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'm trying to setup section to be placed vertically in the golden ratio of the page, i.e. cca 2 
units above the section and 3 units bellow.

How to achieve this?

My code so far is:


\setuplayout[page]

\define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi}
\define\aft{\vfill\vfill\vfill\egroup}

\setuphead[section]
  [before=\bef,after=\aft,
   %commandbefore=\cbef,commandafter=\caft,
   alternative=middle,
  ]

\starttext
  \section{AAA}
\stoptext


The position is quite OK, but there is error Too many }'s ... during 
compilation...

What's the problem?

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t2.mkiv
Description: Binary data


t2.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] Section in golden ratio?

2013-07-03 Thread Peter Rolf
Am 03.07.2013 16:10, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
 Hello,
 
 I'm trying to setup section to be placed vertically in the golden ratio
 of the page, i.e. cca 2 units above the section and 3 units bellow.
 
 How to achieve this?
 
 My code so far is:
 
 
 \setuplayout[page]
 
 \define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi}

- use a \vbox (you need vertical mode here) instead of a \hbox
- remove the '\fi' (leftover from a test?)

Peter

 \define\aft{\vfill\vfill\vfill\egroup}
 
 \setuphead[section]
   [before=\bef,after=\aft,
%commandbefore=\cbef,commandafter=\caft,
alternative=middle,
   ]
 
 \starttext
   \section{AAA}
 \stoptext
 
 
 The position is quite OK, but there is error Too many }'s ... during
 compilation...
 
 What's the problem?
 
 Best regards,
 
 Lukas
 
 
 
 
 ___
 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
 ___
 

___
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
___

[NTG-context] nasty crash

2013-07-03 Thread Meer, H. van der
A nasty crash occurs with no helpful output in the log. It seems likely to 
arise from a complicated hbox, because the log ends abruptly in:
\hbox(80.33+74.07002)x426.78

The output on the console isn't helpful either, I merely get:
pagesflushing realpage 12, userpage 8
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted
This log message isn't closed with a newline.

Of course I tried to construct a minimal example, but did not succeed. When I 
isolate the page where the execution crashes then no error occurs.

It might be something in ConTeXt, but also something in luatex. Any idea how I 
can collect more information for trying to pinpoint the problem?

Hans van der Meer



___
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
___


Re: [NTG-context] nasty crash

2013-07-03 Thread Hans Hagen

On 7/3/2013 5:43 PM, Meer, H. van der wrote:

A nasty crash occurs with no helpful output in the log. It seems likely to 
arise from a complicated hbox, because the log ends abruptly in:
 \hbox(80.33+74.07002)x426.78

The output on the console isn't helpful either, I merely get:
 pagesflushing realpage 12, userpage 8
 mtx-context | fatal error: no return code, message: luatex: execution 
interrupted
This log message isn't closed with a newline.

Of course I tried to construct a minimal example, but did not succeed. When I 
isolate the page where the execution crashes then no error occurs.

It might be something in ConTeXt, but also something in luatex. Any idea how I 
can collect more information for trying to pinpoint the problem?


only a minimal example will help

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] mtxrun --script server help broken

2013-07-03 Thread Thomas A. Schmitz

Hi,

was trying to use the help server this morning while I was offline, and 
it doesn't work, AFAICS. Here's the error:


mtx-server  | running at port: 31415
mtx-server  | document root: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua

mtx-server  | main index file: unknown
mtx-server  | scripts subpath: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua
mtx-server  | context services: 
http://localhost:31415/mtx-server-ctx-startup.lua

mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-startup.lua
mtx-server  | requested action: /mtx-server-ctx-startup.lua
mtx-server  | performing action: /mtx-server-ctx-startup.lua
mtx-server  | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server  | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua

mtx-server  | return type: function
mtx-server  | saving script: function
mtx-server  | running script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua

mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /favicon.ico HTTP/1.1
mtx-server  | requested url: /favicon.ico
mtx-server  | requested action: /favicon.ico
mtx-server  | performing action: /favicon.ico
mtx-server  | requested file '/favicon.ico'
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-help.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-help.lua
mtx-server  | requested action: /mtx-server-ctx-help.lua
mtx-server  | performing action: /mtx-server-ctx-help.lua
mtx-server  | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
mtx-server  | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua

mtx-server  | return type: nil
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds
mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /favicon.ico HTTP/1.1
mtx-server  | requested url: /favicon.ico
mtx-server  | requested action: /favicon.ico
mtx-server  | performing action: /favicon.ico
mtx-server  | requested file '/favicon.ico'
mtx-server  | handling error 404: Not Found
mtx-server  | time spent with client: 0.000 seconds

From time to time, it's wonderful to have offline help (and I still 
miss Patrick's emacs etexshow...)


Thomas
___
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
___


[NTG-context] \showsetup not working?

2013-07-03 Thread Pablo Rodríguez
Dear list,

I think I have used once or twice in the past, but has \showsetup been
deprecated?

When I try to compile:

  \starttext
  \showsetup{language}
  \stoptext

I get:

  ! Undefined control sequence.

Is there a replacement for \showsetup.

Many thanks for your help,


Pablo
-- 
http://www.ousia.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
___


Re: [NTG-context] \showsetup not working?

2013-07-03 Thread Wolfgang Schuster

Am 03.07.2013 um 20:00 schrieb Pablo Rodríguez oi...@web.de:

 Dear list,
 
 I think I have used once or twice in the past, but has \showsetup been
 deprecated?
 
 When I try to compile:
 
  \starttext
  \showsetup{language}
  \stoptext
 
 I get:
 
  ! Undefined control sequence.
 
 Is there a replacement for \showsetup.
 
 Many thanks for your help,

1. You have to load the “int-load” module.

2. You have to load the definitions for the core commands.

3. Even though you can use \showsetup{…} it’s better to use \showsetup[…] 
because braces are for commands which expect text but you pass only a keyword 
to the command.

\usemodule[int-load]

\loadsetups[cont-en.xml]

\starttext
\showsetup[language]
\stoptext

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
___


Re: [NTG-context] \showsetup not working?

2013-07-03 Thread Pablo Rodríguez
On 03/07/13 22:28, Wolfgang Schuster wrote:
 Am 03.07.2013 um 20:00 schrieb Pablo Rodríguez oi...@web.de:
 [...]
 Is there a replacement for \showsetup?

 Many thanks for your help,
 
 1. You have to load the “int-load” module.
 
 2. You have to load the definitions for the core commands.

Many thanks for your help, Wolfgang.

Is there a way to load the definitions for all commands?

I mean, I'm interested in \setuplinenote, \setupmargindata and similar.

Many thanks for your help again,


Pablo
-- 
http://www.ousia.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
___


Re: [NTG-context] \showsetup not working?

2013-07-03 Thread Wolfgang Schuster

Am 03.07.2013 um 23:10 schrieb Pablo Rodríguez oi...@web.de:

 On 03/07/13 22:28, Wolfgang Schuster wrote:
 Am 03.07.2013 um 20:00 schrieb Pablo Rodríguez oi...@web.de:
 [...]
 Is there a replacement for \showsetup?
 
 Many thanks for your help,
 
 1. You have to load the “int-load” module.
 
 2. You have to load the definitions for the core commands.
 
 Many thanks for your help, Wolfgang.
 
 Is there a way to load the definitions for all commands?
 
 I mean, I'm interested in \setuplinenote, \setupmargindata and similar.

When you get no output for a certain commands there is no definition
for it in cont-en.xml. Adding new commands is no problem but it takes
always a lot of time for each new command because you have to look
for all available parameters, key and values plus references to other commands
and all of this is manual work.

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
___


Re: [NTG-context] Section in golden ratio?

2013-07-03 Thread Wolfgang Schuster

Am 03.07.2013 um 17:13 schrieb Peter Rolf indi...@gmx.net:

 Am 03.07.2013 16:10, schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
 Hello,
 
 I'm trying to setup section to be placed vertically in the golden ratio
 of the page, i.e. cca 2 units above the section and 3 units bellow.
 
 How to achieve this?
 
 My code so far is:
 
 
 \setuplayout[page]
 
 \define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi}
 
 - use a \vbox (you need vertical mode here) instead of a \hbox

The makeup environment creates a big \vbox for its content.

\setuplayout[page]

\definemakeup[section][text]

\setupmakeup
  [section]
  [top=\vfill\vfill,bottom=\vfill\vfill\vfill]

\setuphead[section]
 [before=\startsectionmakeup,
  after=\stopsectionmakeup,
  alternative=middle]

\setuplabeltext[section=Section ]

\starttext
\section{AAA}
\stoptext

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
___


[NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.I recently changed from TeXLive 2011 to TeXLive 2013 (Windows Vista) and the editor TeXworks. For translations word for word, I have these two codes provided by Hans on this list, but none of them works now:\define[2]\dos{%
\bTABLE
  \setupTABLE[align=middle]
  \setupTABLE[r][1][style=\**small]
  \setupTABLE[r][2][style={\**small\small\em}]
 \bTR\bTD#1\eTD\eTR
  \bTR\bTD#2\eTD\eTR
\eTABLE
 }
And the othe code:\unexpanded\def\dos#1#2%
   {\dontleavehmode
\begingroup
\setbox0\struttedbox{#1}%
\setbox2\struttedbox{#2}%
\ifdim\wd0\wd2
  \setbox2\hbox to \wd0{\hss\box2\hss}%
\else
  \setbox0\hbox to \wd2{\hss\box0\hss}%
\fi
\box0
\kern-\wd2
\raise\lineheight\box2
\endgroup}Thank you for your attention.-- Manuel González Suárez
___
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
___

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Wolfgang Schuster

Am 03.07.2013 um 23:52 schrieb MANUEL GONZALEZ SUAREZ 
gonzalezsman...@uniovi.es:

 
 Hello everyone.
 I recently changed from TeXLive 2011 to TeXLive 2013 (Windows Vista) and the 
 editor TeXworks. For translations word for word, I have these two codes 
 provided by Hans on this list, but none of them works now:
 \define[2]\dos{%
 \bTABLE
   \setupTABLE[align=middle]
   \setupTABLE[r][1][style=\**small]
   \setupTABLE[r][2][style={\**small\small\em}]
  \bTR\bTD#1\eTD\eTR
   \bTR\bTD#2\eTD\eTR
 \eTABLE
  }
 And the othe code:
 \unexpanded\def\dos#1#2%
{\dontleavehmode
 \begingroup
 \setbox0\struttedbox{#1}%
 \setbox2\struttedbox{#2}%
 \ifdim\wd0\wd2
   \setbox2\hbox to \wd0{\hss\box2\hss}%
 \else
   \setbox0\hbox to \wd2{\hss\box0\hss}%
 \fi
 \box0
 \kern-\wd2
 \raise\lineheight\box2
 \endgroup}
 Thank you for your attention.

1. Provide a working minimal example.

2. What doesn’t work or which error message do you get?

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
___

[NTG-context] luatex core dump

2013-07-03 Thread FA - ML
Good evening,

I recently reported a ^context bug in debian stable^ [1].

The error is:

 mtx-context | fatal error: no return code, message: luatex: execution 
 interrupted

Since this is quite generic, the maintainer asked me wheter there were any
core files.

Is there any option/way to see what steps luatex made before failing? I checked
the manual (command line arguments), but didn't find what I was searching for.

Regards

-Francesco

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713993

___
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
___


Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
There is the example:

\enableregime[utf]

\usemodule[ancientgreek][font=GFSPorson,scale=1.1]

\mainlanguage[es]

\setuppapersize[A4]

\setupbodyfont[12pt]

%\setupbodyfont[ber,pos]

\setupindenting[medium]\indenting[always]

\usemodule[lettrine]

%\usetypescript [palatino] [ec]

%\switchtotypeface [palatino] [14pt]



\setuplist

[chapter]

[before=\blank,after=\blank,style=bold]

\setuplist

[section]

[alternative=d,left=(,right=),pagestyle=slanted,prefix=no]


\setupheader[style=\sc,color=gris]

\setupfooter[style=\sc]

\setupheadertexts[Ilíada][pagenumber]

\setupfootertexts[chapter][]

\setupinteraction[state=start]

\setupcolors[state=start]

\setuppagenumbering [location=,alternative=doublesided]

\setupinmargin[style=\bfx]

\definecolor [gris] [s=0.50]

\definecolor[grisoscuro][s=0.40]


\setuphead

[chapter]

[color=darkblue,numberstyle=bold,alternative=inmargin,

textstyle={\bf\sc},

before=\hairline\blank,

after=\nowhitespace\hairline]

\setuphead

[section]

[color=grisoscuro,numberstyle=bold,

textstyle={\sc\bf}]

\setuphead

[subsection]

[color=grisoscuro,textstyle=\sc]


%\define[2]\dos{%

% \bTABLE

% \setupTABLE[align=middle]

% \setupTABLE[r][1][style=\**small]

% \setupTABLE[r][2][style={\**small\small\em}]

% \bTR\bTD#1\eTD\eTR

% \bTR\bTD#2\eTD\eTR

% \eTABLE

% }



\unexpanded\def\dos#1#2%

{\dontleavehmode

\begingroup

\setbox0\struttedbox{\ix\em#1}%

\setbox2\struttedbox{\localgreek{#2}}%

\ifdim\wd0\wd2

\setbox2\hbox to \wd0{\hss\box2\hss}%

\else

\setbox0\hbox to \wd2{\hss\box0\hss}%

\fi

\box0

\kern-\wd2

\raise\lineheight\box2

\endgroup}

\indenting[never]

\setuplinenumbering[step=5]



\starttext

\chapter{Canto 1}


\startlinenumbering[]

\dos{La cólera}{M~hnin} \dos{canta}{'aeide} \dos{diosa}{je`a} \dos{del
hijo de Peleo}{Phlhi'adew} \dos{Aquiles}{Aqil~hoc}\crlf

\dos{funesta,}{oulom'enhn,} \dos{la que}{`h} \dos{muchos}{mur'i''} \dos{a
los aqueos}{Aqaio~ic} \dos{dolores}{'alge''} \dos{impuso,}{'ejhke,}\crlf

\dos{y muchas}{poll`ac d''} \dos{generosas}{ifj'imouc} \dos{almas}{yuq`ac}
\dos{al Hades}{'Aidi} \dos{arrojó}{pro'iayen} \crlf

\dos{de héroes,}{hr'wwn,} \dos{y a ellos}{auto`uc d`e}
\dos{despojos}{el'wria} \dos{hizo}{te~uqe} \dos{para los
perros}{k'unessin} \crlf

\dos{y las aves rapaces}{oiwno~is'i te} \dos{todas,}{p~asi,} \dos{de
Zeus}{Di`oc} \dos{-}{d''} \dos{se cumplía}{etele'ieto} \dos{el
plan,}{boul'h,} \crlf

\dos{desde}{ex} \dos{que}{o~u} \dos{ya}{d`h} \dos{a lo}{t`a}
\dos{primero}{pr~wta} \dos{se distanciaron}{diast'hthn}
\dos{disputando}{er'isante} \crlf

\dos{el hijo de Atreo}{Atre'idhc} \dos{-}{te} \dos{soberano}{'anax}
\dos{de hombres}{andr~wn} \dos{y}{ka`i} \dos{el divino}{d~ioc}
\dos{Aquiles.}{Aqille'uc.} \crlf

\dos{¿Quién}{T'ic} \dos{entonces}{t'ar} \dos{a ellos}{sfwe} \dos{de los
dioses}{je~wn} \dos{a la riña}{'eridi} \dos{lanzó}{xun'ehke} \dos{a
combatir?}{m'aqesjai?}\crlf

\dos{De Leto}{Lhto~uc} \dos{y}{ka`i} \dos{de Zeus}{Di`oc} \dos{el
hijo;}{ui'oc;} \dos{éste}{`o} \dos{pues}{g`ar} \dos{con el
rey}{basil~hi} \dos{encolerizado}{qolwje`ic} \crlf

\dos{una peste}{no~uson} \dos{por}{an`a} \dos{el campamento}{strat`on}
\dos{provocó}{'orse} \dos{mala,}{kak'hn,} \dos{y morían}{ol'ekonto d`e}
\dos{las huestes,}{lao'i,} \crlf

\dos{porque}{o'uneka} \dos{a aquel}{t`on} \dos{Crises}{Qr'ushn}
\dos{deshonró}{ht'imasen} \dos{al sacerdote}{arht~hra} \crlf

\dos{el hijo de Atreo;}{Atre'idhc;} \dos{éste}{`o} \dos{pues}{g`ar}
\dos{llegó}{~hlje} \dos{rápidas}{jo`ac} \dos{a}{ep`i} \dos{las
naves}{n~hac} \dos{de los aqueos}{Aqai~wn} \crlf

\stoplinenumbering

\stoptext


And there is the error:


\dos ...de \begingroup \setbox 0\struttedbox {\ix

\em #1}\setbox 2\struttedb...

l.78 \dos{La cólera}{M~hnin}

\dos{canta}{'aeide} \dos{diosa}{je`a} \dos{del ...

?


2013/7/3 Wolfgang Schuster schuster.wolfg...@gmail.com


 Am 03.07.2013 um 23:52 schrieb MANUEL GONZALEZ SUAREZ 
 gonzalezsman...@uniovi.es:

 *
 *
 *Hello everyone.*
 *I recently changed from TeXLive 2011 to TeXLive 2013 (Windows Vista) and
 the editor TeXworks. For translations word for word, I have these two codes
 provided by Hans on this list, but none of them works now:*

 *\define[2]\dos{%
 \bTABLE
   \setupTABLE[align=middle]
   \setupTABLE[r][1][style=\**small]
   \setupTABLE[r][2][style={\**small\small\em}]
  \bTR\bTD#1\eTD\eTR
   \bTR\bTD#2\eTD\eTR
 \eTABLE
  }
 And the othe code:*

 *\unexpanded\def\dos#1#2%
{\dontleavehmode
 \begingroup
 \setbox0\struttedbox{#1}%
 \setbox2\struttedbox{#2}%
 \ifdim\wd0\wd2
   \setbox2\hbox to \wd0{\hss\box2\hss}%
 \else
   \setbox0\hbox to \wd2{\hss\box0\hss}%
 \fi
 \box0
 \kern-\wd2
 \raise\lineheight\box2
 \endgroup}*

 *Thank you for your attention.*


 1. Provide a working minimal example.

 2. What doesn’t work or which error message do you get?

 Wolfgang



 ___
 If your question is of 

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Wolfgang Schuster

Am 04.07.2013 um 00:05 schrieb Manuel González Suárez manuelte...@gmail.com:

 There is the example:
 […]

That’s not a *minimal* example.

 And there is the error:
 
 \dos ...de \begingroup \setbox 0\struttedbox {\ix
 \em #1}\setbox 2\struttedb...
 l.78 \dos{La cólera}{M~hnin}
 \dos{canta}{'aeide} \dos{diosa}{je`a} \dos{del ...
 ? 

Replace \ix with \switchtobodyfont[9pt] or better use a relative size like \tx 
or \txx.

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
___


Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
Thank you very much Wolfgang.
Now it compiles really perfect.
I apologize for the minimal example that is rather maximum example.
Manuel Gonzalez.


2013/7/4 Wolfgang Schuster schuster.wolfg...@gmail.com


 Am 04.07.2013 um 00:05 schrieb Manuel González Suárez 
 manuelte...@gmail.com:

  There is the example:
  […]

 That’s not a *minimal* example.

  And there is the error:
 
  \dos ...de \begingroup \setbox 0\struttedbox {\ix
  \em #1}\setbox 2\struttedb...
  l.78 \dos{La cólera}{M~hnin}
  \dos{canta}{'aeide} \dos{diosa}{je`a} \dos{del ...
  ?

 Replace \ix with \switchtobodyfont[9pt] or better use a relative size like
 \tx or \txx.

 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

 ___

___
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
___