ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* local notes, "serried" (paragraph) or column style.
@ 2021-12-29 11:29 Youssef Cherem via ntg-context
  2021-12-29 13:39 ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Youssef Cherem via ntg-context @ 2021-12-29 11:29 UTC (permalink / raw)
  To: ntg-context; +Cc: Youssef Cherem


[-- Attachment #1.1: Type: text/plain, Size: 909 bytes --]

I've tried to implement some sort of affiliation description with local
notes. I'd like them to be either in a single paragraph or in columns
(e.g., 3), but the options `serried` or  `n=3` don't seem to work for text
notes (they do work for notes at the bottom). Any help would be much
appreciated.

====

\definenote[afiliação]%[numberconversion=set 2]

\setupnote[afiliação][

%paragraph=yes,

rule=off,

location=text,

]

\setupnotation[afiliação][numberconversion=a, way=bypage,

%location=text,

%alternative=serried, % no effect

alternative=hanging,

width=fit, % broad

%distance=.5em,

%display=no

] % or set 1

% n=3 doesn’t work



\starttext

\startlocalnotes

Author 1\afiliação{asdf} Author 2\afiliação{asdf}
\dorecurse{5}{\afiliação{Nota explicativa.}}


\placelocalnotes[afiliação]

\stoplocalnotes


\stoptext


====

[-- Attachment #1.2: Type: text/html, Size: 2617 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: local notes, "serried" (paragraph) or column style.
  2021-12-29 11:29 local notes, "serried" (paragraph) or column style Youssef Cherem via ntg-context
@ 2021-12-29 13:39 ` Marco Patzer via ntg-context
  2021-12-29 16:32   ` Youssef Cherem via ntg-context
  2022-01-03 12:20   ` Youssef Cherem via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-29 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Wed, 29 Dec 2021 08:29:34 -0300
Youssef Cherem via ntg-context <ntg-context@ntg.nl> wrote:

> I've tried to implement some sort of affiliation description with
> local notes. I'd like them to be either in a single paragraph or in
> columns (e.g., 3), but the options `serried` or  `n=3` don't seem to
> work for text notes (they do work for notes at the bottom).
>
> […]
>
> \placelocalnotes[afiliação]

Maybe this helps:

\startcolumns [n=3]
  \placelocalnotes[afiliação]
\stopcolumns

Marco
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: local notes, "serried" (paragraph) or column style.
  2021-12-29 13:39 ` Marco Patzer via ntg-context
@ 2021-12-29 16:32   ` Youssef Cherem via ntg-context
  2022-01-03 12:20   ` Youssef Cherem via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Youssef Cherem via ntg-context @ 2021-12-29 16:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Youssef Cherem


[-- Attachment #1.1: Type: text/plain, Size: 1337 bytes --]

Marco

Thanks a lot.  It works. Such a solution had briefly crossed my mind but I
had left it aside, hoping there was some feature I had missed.

Em qua., 29 de dez. de 2021 10:40, Marco Patzer via ntg-context <
ntg-context@ntg.nl> escreveu:

> On Wed, 29 Dec 2021 08:29:34 -0300
> Youssef Cherem via ntg-context <ntg-context@ntg.nl> wrote:
>
> > I've tried to implement some sort of affiliation description with
> > local notes. I'd like them to be either in a single paragraph or in
> > columns (e.g., 3), but the options `serried` or  `n=3` don't seem to
> > work for text notes (they do work for notes at the bottom).
> >
> > […]
> >
> > \placelocalnotes[afiliação]
>
> Maybe this helps:
>
> \startcolumns [n=3]
>   \placelocalnotes[afiliação]
> \stopcolumns
>
> Marco
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2339 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: local notes, "serried" (paragraph) or column style.
  2021-12-29 13:39 ` Marco Patzer via ntg-context
  2021-12-29 16:32   ` Youssef Cherem via ntg-context
@ 2022-01-03 12:20   ` Youssef Cherem via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Youssef Cherem via ntg-context @ 2022-01-03 12:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Youssef Cherem


[-- Attachment #1.1: Type: text/plain, Size: 2483 bytes --]

Hi again,

As a follow-up, I just found some weird behavior when typesetting
local/text notes using columns. The code below describes the issue. (As the
notes are counted by page I really didn't need to use localnotes, so the
problem of footnotes disappearing is solved.)

\definenote[afiliação]%[numberconversion=set 2]

\setupnote[afiliação][

%paragraph=yes,

rule=off,

location=text,

]

\setupnotation[afiliação][numberconversion=a, way=bypage,

%location=text,

%alternative=serried, % no effect

alternative=hanging,

width=fit, % broad

%distance=.5em,

%display=no

] % or set 1

% n=3 doesn’t work


\setupnotation[footnote][location={bottom,left},alternative=hanging,distance=.5em]



\starttext


Note\footnote{This should be at the bottom, but if I use columns it goes
just below the columns.}


%{% local notes have to be enclosed, otherwise footenotes below don’t appear

Author 1\afiliação{asdf} Author 2\afiliação{asdf}
\dorecurse{5}{\afiliação{Nota explicativa.}}


\startcolumns[n=3]

\placenotes[afiliação]

\stopcolumns

%}

% end local notes



\blank[big]


This footnote will disapear completely if I use localnotes and don’t
enclose them.\footnote{Where does it go?}




\stoptext

ons. 29. des. 2021 kl. 10:40 skrev Marco Patzer via ntg-context <
ntg-context@ntg.nl>:

> On Wed, 29 Dec 2021 08:29:34 -0300
> Youssef Cherem via ntg-context <ntg-context@ntg.nl> wrote:
>
> > I've tried to implement some sort of affiliation description with
> > local notes. I'd like them to be either in a single paragraph or in
> > columns (e.g., 3), but the options `serried` or  `n=3` don't seem to
> > work for text notes (they do work for notes at the bottom).
> >
> > […]
> >
> > \placelocalnotes[afiliação]
>
> Maybe this helps:
>
> \startcolumns [n=3]
>   \placelocalnotes[afiliação]
> \stopcolumns
>
> Marco
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 5656 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-03 12:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 11:29 local notes, "serried" (paragraph) or column style Youssef Cherem via ntg-context
2021-12-29 13:39 ` Marco Patzer via ntg-context
2021-12-29 16:32   ` Youssef Cherem via ntg-context
2022-01-03 12:20   ` Youssef Cherem via ntg-context

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).