Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” 
for figures:


\definereferenceformat[ineq][left=(,right=)]
\definereferenceformat[infig][left=\labeltext{figure}]

\starttext

\starttext

\placeformula
\startformula \startalign
 \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
 \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
\stopalign \stopformula

As seen from \ineq[eq:1] and \ineq[eq:2], referring equations is 
straight forward.


\stoptext

\stoptext

On 10/08/18 10:00, Jeong Dal wrote:

Dear Wolfgang,

Although there is an answer in the manual, I didn’t read it carefully.

Sometimes, I used “\in{word}[reference]” like “\in{equation}[eq:1]".
But I have to change it to “equation (\in[eq:1])”.

Thank you so much.

Best regards,

Dalyoung


2018. 8. 10. 오전 12:21, Wolfgang Schuster  작성:

When you look at the first example in section 4.1 you can see that the 
parentheses are inserted by hand.

%%
\starttext

\placeformula
\startformula \startalign
  \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
  \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
\stopalign \stopformula

As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is straight 
forward.

\stoptext
%%

Wolfgang



Jeong Dal schrieb am 09.08.18 um 17:12:

Dear,

The examples in mathalign.pdf(p4 - ) tells us the method of referencing the 
equation.
The numbers for the equation is written as (1.1), and in the text, it is 
written as (1.1).
That is the numbers are  always surrounded by ( , ).

In the output of the following code, the equations are numbered surrounded by 
().
But there is no (), when we referece it.

What is the difference between MWE and mathalign.pdf.

Thank you for reading.

Best regards,

Dalyoung

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Dear Wolfgang,

Although there is an answer in the manual, I didn’t read it carefully.

Sometimes, I used “\in{word}[reference]” like “\in{equation}[eq:1]". 
But I have to change it to “equation (\in[eq:1])”. 

Thank you so much.

Best regards,

Dalyoung

> 2018. 8. 10. 오전 12:21, Wolfgang Schuster  
> 작성:
> 
> When you look at the first example in section 4.1 you can see that the 
> parentheses are inserted by hand.
> 
> %%
> \starttext
> 
> \placeformula
> \startformula \startalign
>  \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
>  \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
> \stopalign \stopformula
> 
> As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is straight 
> forward.
> 
> \stoptext
> %%
> 
> Wolfgang
> 
> 
> 
> Jeong Dal schrieb am 09.08.18 um 17:12:
>> Dear,
>> 
>> The examples in mathalign.pdf(p4 - ) tells us the method of referencing the 
>> equation.
>> The numbers for the equation is written as (1.1), and in the text, it is 
>> written as (1.1).
>> That is the numbers are  always surrounded by ( , ).
>> 
>> In the output of the following code, the equations are numbered surrounded 
>> by ().
>> But there is no (), when we referece it.
>> 
>> What is the difference between MWE and mathalign.pdf.
>> 
>> Thank you for reading.
>> 
>> Best regards,
>> 
>> Dalyoung
>> 
>> ___
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] referencing the equation

2018-08-09 Thread Wolfgang Schuster
When you look at the first example in section 4.1 you can see that the 
parentheses are inserted by hand.


%%
\starttext

\placeformula
\startformula \startalign
  \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
  \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
\stopalign \stopformula

As seen from (\in[eq:1]) and (\in[eq:2]), referring equations is 
straight forward.


\stoptext
%%

Wolfgang



Jeong Dal schrieb am 09.08.18 um 17:12:

Dear,

The examples in mathalign.pdf(p4 - ) tells us the method of referencing the 
equation.
The numbers for the equation is written as (1.1), and in the text, it is 
written as (1.1).
That is the numbers are  always surrounded by ( , ).

In the output of the following code, the equations are numbered surrounded by 
().
But there is no (), when we referece it.

What is the difference between MWE and mathalign.pdf.

Thank you for reading.

Best regards,

Dalyoung

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Dear,

The examples in mathalign.pdf(p4 - ) tells us the method of referencing the 
equation.
The numbers for the equation is written as (1.1), and in the text, it is 
written as (1.1). 
That is the numbers are  always surrounded by ( , ).

In the output of the following code, the equations are numbered surrounded by 
().
But there is no (), when we referece it.

What is the difference between MWE and mathalign.pdf.

Thank you for reading.

Best regards,

Dalyoung

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___