Re: [NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-16 Thread Joaquín Ataz-López via ntg-context

Thank you very much, it is a perfect solution.


El 16/3/23 a las 12:19, Bruce Horrocks escribió:

I don't have the answer to your explicit question, but a work-around might be 
to put the footnotes into buffers instead of \footnotetext and then use 
/footnote[...]{\getbuffer[name]} in the body. That way ConTeXt sees them in 
order of appearance in the body and so the numbering should be as you want.


On 15 Mar 2023, at 09:19, Joaquín Ataz López via ntg-context 
 wrote:

Good Morning to all list members.

I am writing a document with very long footnotes, and in order not to break (in 
the source file) the flow of the main text, instead of using the \footnote 
macro, I introduce the footnotes using \note[label] at the point where the call 
to the footnote should be placed, and in a separate place in the source file I 
write the text associated to the footnote using \footnotetext[label].

This works quite well and allows to create a more readable source file. There 
is, nevertheless, a small inconvenience, and it is that when processing the 
document ConTeXt goes numbering automatically the notes, attending to the order 
in which they are, in the source file, the \footnotetext commands. Would there 
be a simple way so that the automatic numbering follows the order of the \note 
commands, and not that of \footnotetext? Maybe something with \startbuffer 
combined with a counter?

--

Joaquín Ataz López
Departamento de Derecho civil
Universidad de Murcia

—
Bruce Horrocks
Hampshire, UK


--
Joaquín Ataz López
Departamento de Derecho civil
Universidad de Murcia

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-15 Thread Joaquín Ataz López via ntg-context

Good Morning to all list members.

I am writing a document with very long footnotes, and in order not to 
break (in the source file) the flow of the main text, instead of using 
the \footnote macro, I introduce the footnotes using \note[label] at the 
point where the call to the footnote should be placed, and in a separate 
place in the source file I write the text associated to the footnote 
using \footnotetext[label].


This works quite well and allows to create a more readable source file. 
There is, nevertheless, a small inconvenience, and it is that when 
processing the document ConTeXt goes numbering automatically the notes, 
attending to the order in which they are, in the source file, the 
\footnotetext commands. Would there be a simple way so that the 
automatic numbering follows the order of the \note commands, and not 
that of \footnotetext? Maybe something with \startbuffer combined with a 
counter?


--

Joaquín Ataz López
Departamento de Derecho civil
Universidad de Murcia

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Color property of \setupurl

2022-08-19 Thread Joaquín Ataz López via ntg-context

Good morning everyone.

I have been doing some tests on the "color" property of 
\setupinteraction and the "color" property of \setupurl and my feeling 
is that the color of the hyperlinks is always controlled by 
\setupinteraction.


Could someone clarify me in what kind of context the color of a 
hyperlink is controlled by the "color" property of \setupurl?



--
Joaquín Ataz López
Derecho civil
Universidad de Murcia | j...@um.es

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Prolongation of the sidebar to the footnotes.

2022-07-11 Thread Joaquín Ataz López via ntg-context

Sorry, got my thread mixed up with a previous thread. It was a mistake.

For the time being, until someone suggests something better, I am 
solving my problem by converting footnotes within the sidebar 
environment to endnotes, which I can place wherever I want.


El 11/7/22 a las 11:36, Joaquín Ataz López via ntg-context escribió:


Good morning everybody,

I am composing a text in which there is a sidebar environment in whose 
text some footnotes are included. If the environment ends before the 
page, the sidebar stops at the point where the environment ends, and 
does not reach the area where the footnotes are. On the other hand, if 
the environment extends to the next page, the sidebar goes all the way 
to the bottom of the page, crossing the footnotes, which causes an 
unaesthetic effect.


Does anyone know how I could avoid this effect?



--
-
Joaquín Ataz López
Derecho civil
Universidad de Murcia
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Prolongation of the sidebar to the footnotes.

2022-07-11 Thread Joaquín Ataz López via ntg-context


Good morning everybody,

I am composing a text in which there is a sidebar environment in whose 
text some footnotes are included. If the environment ends before the 
page, the sidebar stops at the point where the environment ends, and 
does not reach the area where the footnotes are. On the other hand, if 
the environment extends to the next page, the sidebar goes all the way 
to the bottom of the page, crossing the footnotes, which causes an 
unaesthetic effect.


Does anyone know how I could avoid this effect?


--
-
Joaquín Ataz López
Derecho civil
Universidad de Murcia
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Fwd: Malfunctioning of syllabic partitioning of words in Spanish

2022-07-06 Thread Joaquín Ataz López via ntg-context




 Mensaje reenviado 
Asunto: 	Re: [NTG-context] Malfunctioning of syllabic partitioning of 
words in Spanish

Fecha:  Thu, 7 Jul 2022 08:26:49 +0200
De: Joaquín Ataz López 
Organización:   Universidad de Murcia
Para:   Max Chernoff 



Thank you very much for the quick response.

Indeed with the \language[es] command the syllable partitioning is 
correct. I had not included it because in the preamble of the document 
appears the instruction \mainlanguage[es].


After verifying that indeed the syllabic partitioning works well, I have 
been doing several tests to see why the \mainlanguage[es] command in the 
environment file was ignored. In the end I have come to the conclusion 
that this was because I had written in it


\startenvironment

instead of

\startenvironment environment_name

What I do not understand is why, when not putting the name of the 
environment some commands of this one are ignored, but others are executed.



El 7/7/22 a las 7:38, Max Chernoff escribió:

\language[es] % Needed for Spanish hyphenation

    \starttext
    \hsize=0pt % Hack to force hyphenation

    limitarse

    colores

    abstenerse
    \stoptext


--
-
Joaquín Ataz López
Derecho civil
Universidad de Murcia
-
___
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] Malfunctioning of syllabic partitioning of words in Spanish

2022-07-06 Thread Joaquín Ataz López via ntg-context


I am writing a document in Spanish and I notice that the syllable 
partitioning of words does not conform to the rules of the language. And 
so, for example, the word "limitarse" is partitioned as "lim-itarse" 
(the correct one is "li-mi-tar-se"), "colores" as "col-ores" (instead of 
"co-lo-res"), "abstenerse" as "absten-erse" (and it should be 
"abs-te-ner-se"), etc.


These are too many errors; moreover, given that the syllabic 
partitioning rules in Spanish are relatively simple. Is it possible that 
something has been changed in the Spanish language module?
I do not know Lua and therefore I am not in a position to correct the 
corresponding module on my own, but I could synthesize the syllable 
partitioning rules for those who can, if they do not speak Spanish and 
need help in that field.




--
Joaquín Ataz López
Universidad de Murcia | j...@um.es

___
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] Counter names

2022-01-20 Thread Joaquín Ataz López via ntg-context
Good morning to all. I would like to ask where I can find information 
about the name of the different counters that are handled in ConTeXt, in 
order to manipulate them manually.


I guess the number of internal ConTeXt counters will be tremendous. But 
I would like to know what the "most common" counters are called, for 
example the ones that control the different structural units (chapter, 
section...) or the elements of a structured list, etc.


I have tried to apply \incrementcounter or \decrementcounter to some 
counters that also exist in TeX as, for example, chapter, section... but 
I don't get any result.



Thanks in advance for your answers

Joaquín

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