Hi again, I just ran into the footnote problem again, this time when referring to labels inside footnotes. As in the earlier thread the issue occurs with mkiv only. Example: ---8<-------------------------------------------------------------------------- \setupinteraction[state=start,focus=standard] \starttext \startfootnote A label \reference[label:1]{} we will refer to. \stopfootnote \page[yes] \goto{Here}[label:1] we refer somewhere. It all happens on Page \ref[p][label:1]. \stoptext ---8<-------------------------------------------------------------------------- To be precise, you don't actually have to refer to the label, having it inside a footnote causes the error. Thanks for any suggestions, Philipp
On 17-3-2010 18:53, Philipp Gesang wrote:
\setupinteraction[state=start,focus=standard]
\starttext \startfootnote A label \reference[label:1]{} we will refer to. \stopfootnote \page[yes] \goto{Here}[label:1] we refer somewhere. It all happens on Page \ref[p][label:1]. \stoptext
in strc-ref.mkiv patch \unexpanded\def\textreference {\dosingleargument\dotextreference} \unexpanded\def\pagereference {\dosingleargument\dopagereference} \unexpanded\def\reference {\dosingleargument\doreference } \unexpanded\def\setreference {\dodoubleargument\dosetreference } (make them unexpandable) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 2010-03-17 <22:58:11>, Hans Hagen wrote:
On 17-3-2010 18:53, Philipp Gesang wrote:
\setupinteraction[state=start,focus=standard]
\starttext \startfootnote A label \reference[label:1]{} we will refer to. \stopfootnote \page[yes] \goto{Here}[label:1] we refer somewhere. It all happens on Page \ref[p][label:1]. \stoptext
in strc-ref.mkiv patch
\unexpanded\def\textreference {\dosingleargument\dotextreference} \unexpanded\def\pagereference {\dosingleargument\dopagereference} \unexpanded\def\reference {\dosingleargument\doreference } \unexpanded\def\setreference {\dodoubleargument\dosetreference }
(make them unexpandable)
Great! This one raised my ConTeXt user status from ‘happy’ to ‘extraordinarily happy’. Philipp
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Hi, I want to know the complete list of math symbols in MKIV. Thanks
On Thu, Mar 18, 2010 at 08:01, Mehdi Omidali wrote:
Hi, I want to know the complete list of math symbols in MKIV.
See char-def.lua and search for mathname and mathspec. The list may not be complete, but any suggestions for adding new definitions are welcome. Mojca
On Thu, 18 Mar 2010, Mojca Miklavec wrote:
On Thu, Mar 18, 2010 at 08:01, Mehdi Omidali wrote:
Hi, I want to know the complete list of math symbols in MKIV.
See char-def.lua and search for mathname and mathspec.
Or let ConTeXt search it for you: \usemodule[fnt-10] \starttext \ShowCompleteFont{name:Cambria-Math}{10pt}{1} \stoptext The names beginning with m: in the last columns are defined in math mode.
The list may not be complete, but any suggestions for adding new definitions are welcome.
+1 Aditya
Hi! Aditya Mahajan a écrit :
On Thu, 18 Mar 2010, Mojca Miklavec wrote:
On Thu, Mar 18, 2010 at 08:01, Mehdi Omidali wrote:
Hi, I want to know the complete list of math symbols in MKIV.
See char-def.lua and search for mathname and mathspec.
Or let ConTeXt search it for you:
\usemodule[fnt-10]
\starttext \ShowCompleteFont{name:Cambria-Math}{10pt}{1} \stoptext This doesn't compile here (MKIV); I get
.../... system : maths.top loaded (maths.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active (C:/Programmes/ConTeXt/tex/texmf-context/tex/context/base/s-fnt-10.tex -----------Here it stops and wait for an input???!!, so I have to crash it Alain
The names beginning with m: in the last columns are defined in math mode.
The list may not be complete, but any suggestions for adding new definitions are welcome.
+1
Aditya ___________________________________________________________________________________
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 ___________________________________________________________________________________
On 3/18/2010 12:47 PM, Mojca Miklavec wrote:
See char-def.lua and search for mathname and mathspec. The list may not be complete, but any suggestions for adding new definitions are welcome.
Mojca
Thanks. I will test as many symbol as I can and report in this post. Just for now, I think \cong is not related to the correct symbol. Mehdi
participants (6)
-
Aditya Mahajan
-
Alain Delmotte
-
Hans Hagen
-
Mehdi Omidali
-
Mojca Miklavec
-
Philipp Gesang