* # sign in footnotes impossible ?
@ 2013-02-15 16:03 thomas
2013-02-16 10:50 ` Philipp Gesang
2013-02-16 11:49 ` Marco Patzer
0 siblings, 2 replies; 3+ messages in thread
From: thomas @ 2013-02-15 16:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
Dear list,
how can i put a normal # sign (as part of a \type{} environment) in a
footnote ? Until now i got "####" or "\#" or nothing.
Please look at the attached example and log-output.
Thanks
Thomas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: check_notes.tex --]
[-- Type: text/x-tex; name="check_notes.tex", Size: 829 bytes --]
\starttext
Repo initialisieren
\starttyping
$ git init
\stoptyping
Status ansehen
\starttyping
$ git status
\stoptyping
Dateien hinzufügen
Änderungen durchführen ... anzeigen mit
\starttyping
$ git diff file1
\stoptyping
Commit nach Änderungen
Zitat: Für jedes neue Commit müssen die Änderungen angemeldet werden
\starttyping
$ git add geänderte_Datei
$ git rm gelöschte_datei
\stoptyping
\type{$ Git status} zeigt was ins nächste commit aufgenommen wird.
Historie ansehen : \footnote{Configure a smaller log-output:
% # within footnote ??? gives #### or \#
\type{ # git config --global alias.log log --oneline} }
\starttyping
$ git log % ruft more/most ??? auf
$ git log --pretty=short/oneline % Allgemein: mit >datei umlenken in Datei
\stoptyping
\stoptext
[-- Attachment #3: check_notes.log --]
[-- Type: text/plain, Size: 11567 bytes --]
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.02.05 22:32 MKIV fmt: 2013.2.13 int: english/english
system > cont-new.mkiv loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > files > jobname: check_notes, input: check_notes, result: check_notes
fonts > latin modern fonts are not preloaded
languages > language en is active
(check_notes.tex{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts > preloading latin modern fonts (second stage)
fonts > typescripts > unknown: library 'loc'
{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman12-regular.tmc
system > logs > fatal error in "unknown"
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/latinmodern-math.tmc
system > logs > fatal error in "unknown"
fonts > fallback modern rm 12pt is loaded
% begin of command line arguments
%
% currentrun = 1
% fulljobname = ./check_notes.tex
% input = ./check_notes.tex
% no-parse-first-line = true
% kindofrun = 1
%
% end of command line arguments
% begin of command line files
%
% 1 ./check_notes.tex
%
% end of command line files
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmmono12-regular.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmmono12-regular.tmc
system > logs > fatal error in "unknown"
! Illegal parameter number in definition of \495>footnote:title.
system > tex > error on line 33 in file check_notes.tex: Illegal parameter number in definition of ...
23
24 \starttyping
25 $ git add geänderte_Datei
26 $ git rm gelöschte_datei
27 \stoptyping
28
29 \type{$ Git status} zeigt was ins nächste commit aufgenommen wird.
30
31 Historie ansehen : \footnote{Configure a smaller log-output:
32 % # within footnote ??? gives #### or \#
33 >> \type{ # git config --global alias.log log --oneline} }
34 \starttyping
35 $ git log % ruft more/most ??? auf
36 $ git log --pretty=short/oneline % Allgemein: mit >datei umlenken in Datei
37 \stoptyping
38
39
40 \stoptext
41
<to be read again>
<argument> ...re a smaller log-output: \type { ##
git config --global alias....
\mult_interfaces_get_parameters_assign ... {#1}{#2
}
\mult_interfaces_get_parameters_item ... \_e_o_p_
\doubleexpandafter \mult_i...
<argument> ...as.log log --oneline} },\c!bookmark
=,\c!list =
\mult_interfaces_get_parameters_indeed ..._item #1
,],\_e_o_p_
...
l.33 ...config --global alias.log log --oneline} }
? quit
OK, entering \batchmode...
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman10-regular.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman10-regular.tmc
system > logs > fatal error in "unknown"
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman8-regular.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmroman8-regular.tmc
system > logs > fatal error in "unknown"
system > logs > lua: compiling /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmmono10-regular.tma into /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/lmmono10-regular.tmc
system > logs > fatal error in "unknown"
Overfull \hbox (36.71202pt too wide) in paragraph at lines 20--43
[][]\3>modern-designsize-12pt-tt-tf-0--0 $ git log --pretty=short/oneline % Allgemein: mit >datei umlenken in Datei
\hbox(10.42677+4.05482)x426.78743, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(10.42677+4.05482)x0.0, direction TLT
.\3>modern-designsize-12pt-tt-tf-0--0 $
.\glue 6.18
.\3>modern-designsize-12pt-tt-tf-0--0 g
.etc.
backend > xmp > using file '/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
) )</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman8-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
system > files > start used files
used files > 1: filename=cont-yes.mkiv | filetype=tex | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv | usedmethod=database
used files > 2: filename=cont-new.mkiv | filetype=tex | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files > 3: filename=lang-us.lua | filetype=lua | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files > 4: filename=check_notes.tex | foundname=check_notes.tex | usedmethod=direct
used files > 5: filename=mkiv-base.map | filetype=map | format=map | foundname=/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files > 6: filename=lm.lfg | filetype=tex | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/fonts/lm.lfg | usedmethod=database
used files > 7: filename=lm-math.lfg | filetype=tex | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=database
used files > 8: filename=lm-math.map | filetype=map | format=map | foundname=/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files > 9: filename=lm-rm.map | filetype=map | format=map | foundname=/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files > 10: filename=lmroman12-regular | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files > 11: filename=latinmodern-math.otf | filetype=opentypefonts | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf | usedmethod=database
used files > 12: filename=latinmodern-math.otf | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf | usedmethod=database
used files > 13: filename=lmmono12-regular | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files > 14: filename=lmroman10-regular | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf | usedmethod=database
used files > 15: filename=lmroman8-regular | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman8-regular.otf | usedmethod=database
used files > 16: filename=lmmono10-regular | filetype=otf | format=otf | foundname=/Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf | usedmethod=database
used files > 17: filename=lpdf-pdx.xml | filetype=tex | foundname=/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=database
system > files > stop used files
system > structure > start used structure
used structure > text: check_notes
system > structure > stop used structure
mkiv lua stats > used config file - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path - readable: '/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e' (order 1)
mkiv lua stats > used cache path - readable: '/home/tom/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e' (order 2)
mkiv lua stats > used cache path - writable: '/home/tom/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e'
mkiv lua stats > resource resolver - loadtime 0.009 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 17 found files, scanned paths:
mkiv lua stats > stored bytecode data - 319 modules (0.200 sec), 68 tables (0.010 sec), 387 chunks (0.210 sec)
mkiv lua stats > cleaned up reserved nodes - 41 nodes, 9 lists of 441
mkiv lua stats > node memory usage - 2 glue, 2 penalty, 9 attribute, 29 glue_spec, 3 attribute_list
mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 146 calls
mkiv lua stats > used backend - pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns - en::2
mkiv lua stats > jobdata time - 0.000 seconds saving, 0.001 seconds loading
mkiv lua stats > callbacks - 358 direct, 215 indirect, 573 total
mkiv lua stats > randomizer - resumed with value 0.83375301716558
mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats > interactive elements - 0 references, 1 destinations
mkiv lua stats > result saved in file - check_notes.pdf, compresslevel 3, objectcompreslevel 3
mkiv lua stats > loaded fonts - 6 files: latinmodern-math.otf lmmono10-regular.otf lmmono12-regular.otf lmroman10-regular.otf lmroman12-regular.otf lmroman8-regular.otf
mkiv lua stats > fonts load time - 0.518 seconds
mkiv lua stats > luatex banner - this is luatex, version beta-0.74.0-2012122510 (tex live 2013/dev)(rev 4541)
mkiv lua stats > control sequences - 36512 of 65536 + 100000
mkiv lua stats > current memory usage - 47 MB (ctx: 47 MB)
mkiv lua stats > runtime - 5.190 seconds, 1 processed pages, 1 shipped pages, 0.193 pages/second
[-- Attachment #4: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: # sign in footnotes impossible ?
2013-02-15 16:03 # sign in footnotes impossible ? thomas
@ 2013-02-16 10:50 ` Philipp Gesang
2013-02-16 11:49 ` Marco Patzer
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2013-02-16 10:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 538 bytes --]
Hi Thomas!
···<date: 2013-02-15, Friday>···<from: thomas>···
> Dear list,
>
> how can i put a normal # sign (as part of a \type{} environment) in
> a footnote ? Until now i got "####" or "\#" or nothing.
Have you tried encapsulation in a buffer?
\starttext
\startbuffer[containshash]\type{#bar}\stopbuffer
foo\footnote{\getbuffer[containshash]} baz
\stoptext
Works here.
Philipp
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: # sign in footnotes impossible ?
2013-02-15 16:03 # sign in footnotes impossible ? thomas
2013-02-16 10:50 ` Philipp Gesang
@ 2013-02-16 11:49 ` Marco Patzer
1 sibling, 0 replies; 3+ messages in thread
From: Marco Patzer @ 2013-02-16 11:49 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 590 bytes --]
On 2013–02–15 thomas wrote:
> how can i put a normal # sign (as part of a \type{} environment) in
> a footnote ? Until now i got "####" or "\#" or nothing.
>
> Please look at the attached example and log-output.
It works for \type if you use \asciimode but \starttyping fails even
with \asciimode. Philipps buffer solution seems to work with either
version.
\asciimode
\starttext
%% works
\startfootnote
foo \type{#bar}
\stopfootnote
%% fails
%% \startfootnote
%% foo
%% \starttyping
%% #bar
%% \stoptyping
%% \stopfootnote
\stoptext
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-16 11:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 16:03 # sign in footnotes impossible ? thomas
2013-02-16 10:50 ` Philipp Gesang
2013-02-16 11:49 ` Marco Patzer
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).