* itemize headstyle SC?
@ 2002-11-08 22:23 Bruce D'Arcus
2002-11-09 16:47 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Bruce D'Arcus @ 2002-11-08 22:23 UTC (permalink / raw)
I want an itemized list set in smallcaps. Shouldn't this work?
\startitemize[n][headstyle=cap]
with a \setupcapitals[sc=yes,title=yes] in the module I'm using?
I've run into this problem before with section headings, and not
figured it out...
Also, what command do I use to invoke a character encoding regime?
\usemodule doesn't seem to work...
Bruce
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: itemize headstyle SC?
2002-11-08 22:23 itemize headstyle SC? Bruce D'Arcus
@ 2002-11-09 16:47 ` Hans Hagen
2002-11-11 1:16 ` Bruce D'Arcus
2002-11-17 5:11 ` \enableregime Bruce D'Arcus
0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2002-11-09 16:47 UTC (permalink / raw)
At 05:23 PM 11/8/2002 -0500, you wrote:
>I want an itemized list set in smallcaps. Shouldn't this work?
>
>\startitemize[n][headstyle=cap]
>
>with a \setupcapitals[sc=yes,title=yes] in the module I'm using?
>
>I've run into this problem before with section headings, and not figured
>it out...
headstyle=\sc
is better, given that \sc is defined as small cap font
>Also, what command do I use to invoke a character encoding regime?
>\usemodule doesn't seem to work...
\enableregime[..]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: itemize headstyle SC?
2002-11-09 16:47 ` Hans Hagen
@ 2002-11-11 1:16 ` Bruce D'Arcus
2002-11-17 5:11 ` \enableregime Bruce D'Arcus
1 sibling, 0 replies; 5+ messages in thread
From: Bruce D'Arcus @ 2002-11-11 1:16 UTC (permalink / raw)
On Saturday, November 9, 2002, at 11:47 AM, Hans Hagen wrote:
> At 05:23 PM 11/8/2002 -0500, you wrote:
>
>> I want an itemized list set in smallcaps. Shouldn't this work?
>>
>> \startitemize[n][headstyle=cap]
>>
>> with a \setupcapitals[sc=yes,title=yes] in the module I'm using?
>>
>> I've run into this problem before with section headings, and not
>> figured it out...
>
> headstyle=\sc
>
> is better, given that \sc is defined as small cap font
Whether I use cap or \sc, I get no change. Any suggestions for
figuring out what's going on?
And just for future reference, exactly what does the following command
do?
\setupcapitals[sc=yes,title=yes]
Bruce
^ permalink raw reply [flat|nested] 5+ messages in thread
* \enableregime
2002-11-09 16:47 ` Hans Hagen
2002-11-11 1:16 ` Bruce D'Arcus
@ 2002-11-17 5:11 ` Bruce D'Arcus
1 sibling, 0 replies; 5+ messages in thread
From: Bruce D'Arcus @ 2002-11-17 5:11 UTC (permalink / raw)
On Saturday, November 9, 2002, at 11:47 AM, Hans Hagen wrote:
>
>> Also, what command do I use to invoke a character encoding regime?
>> \usemodule doesn't seem to work...
>
> \enableregime[..]
Can't get this to work. Let's start from the beginning then. I have
an encoding file I want to use that is not in the standard ConTeXt
package. Where do I put this file, and how do I insure that texexec
finds it?
Bruce
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problem with \nolist
@ 2010-11-28 17:29 Procházka Lukáš
2010-11-28 18:00 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš @ 2010-11-28 17:29 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
Hello,
I'm receiving errors when compiling the following code (although a .pdf is created):
---
\starttext
\placecontent
\section{AAA \nolist{aaa}}
\stoptext
---
Error message:
---
structure : section @ level 3 : 0.0.1 -> AAA \nolist {aaa}
! Undefined control sequence.
l.1 AAA \nolist
{aaa}
\structuretitle ...a {structures.sections.title()}
\getstructureheadtitle ... \relax \structuretitle
\else \normalexpanded {\no...
\doplaceheadtextcomponent ...setstrut \begstrut #1
\endstrut }\xdef \localhea...
\@@ns::normal ...eadtextwidth \fi \noindent \fi #2
}
\placestructureheadnumbertext ...uctureheadtitle }
}\fi \endheadplacement {\g...
...
l.4 \section{AAA \nolist{aaa}}
---
I'm trying to get something similar as described in contextref.pdf on the page 213. What's the problem?
Latest ctx minimals.
Best regards,
Lukas
[-- Attachment #2: t-NoList.log --]
[-- Type: application/octet-stream, Size: 5683 bytes --]
(D:/Lukas/ConTeXt/Samples/t-NoList.mkiv
jobcontrol > resuming randomizer with 0.73406170842616
ConTeXt ver: 2010.11.27 14:27 MKIV fmt: 2010.11.28 int: english/english
system : cont-new loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.mkiv
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(c:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (c:/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-lua.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv))
system : cont-err loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system : t-NoList.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % feedback and basic job control
% \nonstopmode
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% ["halt-on-error"]=true,
% ["nonstopmode"]=true,
% }
% document.files={
% "D:/Lukas/ConTeXt/Samples/t-NoList.mkiv",
% }
% \stopluacode
% % process info
% \setupsystem[inputfile=D:/Lukas/ConTeXt/Samples/t-NoList.mkiv]
% \setupsystem[\c!n=1,\c!m=1]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(t-NoList.top
){c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont : 12pt rm is loaded
fonts : preloading latin modern fonts (first stage)
language : language en is active
publications : loading formatting style from bxml-apa
(c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems : begin file D:/Lukas/ConTeXt/Samples/t-NoList.mkiv at line 1
structure : section @ level 3 : 0.0.1 -> AAA \nolist {aaa}
! Undefined control sequence.
l.1 AAA \nolist
{aaa}
\structuretitle ...a {structures.sections.title()}
\getstructureheadtitle ... \relax \structuretitle
\else \normalexpanded {\no...
\doplaceheadtextcomponent ...setstrut \begstrut #1
\endstrut }\xdef \localhea...
\@@ns::normal ...eadtextwidth \fi \noindent \fi #2
}
\placestructureheadnumbertext ...uctureheadtitle }
}\fi \endheadplacement {\g...
...
l.4 \section{AAA \nolist{aaa}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
backends > using xmp file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
systems : end file D:/Lukas/ConTeXt/Samples/t-NoList.mkiv at line 5
)<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config file - c:/ConTeXt/tex/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path - c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c
mkiv lua stats : input load time - 0.109 seconds
mkiv lua stats : stored bytecode data - 257 modules, 56 tables, 313 chunks
mkiv lua stats : cleaned up reserved nodes - 33 nodes, 9 lists of 411
mkiv lua stats : node memory usage - 18 glue_spec
mkiv lua stats : node list callback tasks - 6 unique task lists, 5 instances (re)created, 353 calls
mkiv lua stats : used backend - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns - en::2
mkiv lua stats : language load time - 0.156 seconds , nofpatterns: 1
mkiv lua stats : callbacks - direct: 515, indirect: 4501, total: 5016
mkiv lua stats : lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats : result saved in file - t-NoList.pdf
mkiv lua stats : loaded fonts - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time - 1.516 seconds
mkiv lua stats : luatex banner - this is luatex, version beta-0.64.0-2010111223 (web2c 2010) (rev 3956)
mkiv lua stats : control sequences - 29998 of 165536
mkiv lua stats : current memory usage - 32 MB (ctx: 33 MB)
mkiv lua stats : runtime - 4.844 seconds, 1 processed pages, 1 shipped pages, 0.206 pages/second
[-- Attachment #3: t-NoList.mkiv --]
[-- Type: application/octet-stream, Size: 72 bytes --]
\starttext
\placecontent
\section{AAA \nolist{aaa}}
\stoptext
[-- Attachment #4: t-NoList.pdf --]
[-- Type: application/pdf, Size: 4859 bytes --]
[-- Attachment #5: Type: text/plain, Size: 486 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] 5+ messages in thread
* Re: Problem with \nolist
2010-11-28 17:29 Problem with \nolist Procházka Lukáš
@ 2010-11-28 18:00 ` Wolfgang Schuster
2010-11-30 16:51 ` Problem with context.startsection (was: Problem with \nolist) Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-11-28 18:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]
Am 28.11.2010 um 18:29 schrieb Procházka Lukáš:
> Hello,
>
> I'm receiving errors when compiling the following code (although a .pdf is created):
>
> [...]
> ! Undefined control sequence.
> l.1 AAA \nolist
> {aaa}
> [...]
>
> I'm trying to get something similar as described in contextref.pdf on the page 213. What's the problem?
Exactly what the error message tells you, the command \nolist is not defined in MkIV.
You can find a solution to a similar problem here:
http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect
A alternative is to use the start/stop-commands where you can set a different
test for the table of contents with
\startsection[title={AAA aaa},list={AAA}]
...
\stopsection
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1405 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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] 5+ messages in thread
* Re: Problem with context.startsection (was: Problem with \nolist)
2010-11-28 18:00 ` Wolfgang Schuster
@ 2010-11-30 16:51 ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-30 21:38 ` Problem with context.startsection Peter Münster
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-11-30 16:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 921 bytes --]
On Sun, 28 Nov 2010 19:00:37 +0100, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> \startsection[title={AAA aaa},list={AAA}]
>
> ...
>
> \stopsection
>
... OK, the example above works well when called from ConTeXt. But from Lua? - This Lua code seems to be wrong:
---
\enableregime[cp1250]
\starttext
\placecontent % = TOC
\startsection[title=TI,list=LI] % That's OK -
sss
\stopsection
\startluacode
context.startsection{title = "ti", list = "li"} % - but this is wrong
ttt
context.stopsection()
\stopluacode
\stoptext
---
Normally, I don't have problem to call Lua, but in this case... Where's my mistake?
Kind regards,
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
[-- Attachment #2: t.mkiv --]
[-- Type: application/octet-stream, Size: 259 bytes --]
\enableregime[cp1250]
\starttext
\placecontent % = TOC
\startsection[title=TI,list=LI]
sss
\stopsection
\startluacode
context.startsection{title = "ti", list = "li"}
ttt
context.stopsection()
\stopluacode
\stoptext
[-- Attachment #3: Type: text/plain, Size: 486 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] 5+ messages in thread
* Re: Problem with context.startsection
2010-11-30 16:51 ` Problem with context.startsection (was: Problem with \nolist) Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-11-30 21:38 ` Peter Münster
2010-12-01 9:22 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2010-11-30 21:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Nov 30 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> \enableregime[cp1250]
Remove this line, see also page 6 of
http://meeting.contextgarden.net/2010/talks/2010-09-15-documentworkflow/workflows.pdf
(ok, there seems to be a bug with \enableregime[], but if Hans could drop
support for 8-bit encodings, then he would have more time for other things ;)
> context.startsection{title = "ti", list = "li"} % - but this is wrong
Use "--" instead of "%" in lua mode.
> ttt
Should be: tex.print"ttt"
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2010-12-01 14:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-08 22:23 itemize headstyle SC? Bruce D'Arcus
2002-11-09 16:47 ` Hans Hagen
2002-11-11 1:16 ` Bruce D'Arcus
2002-11-17 5:11 ` \enableregime Bruce D'Arcus
2010-11-28 17:29 Problem with \nolist Procházka Lukáš
2010-11-28 18:00 ` Wolfgang Schuster
2010-11-30 16:51 ` Problem with context.startsection (was: Problem with \nolist) Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-30 21:38 ` Problem with context.startsection Peter Münster
2010-12-01 9:22 ` Hans Hagen
2010-12-01 11:59 ` \enableregime (was: Re: Problem with context.startsection) Peter Münster
2010-12-01 14:31 ` \enableregime Hans Hagen
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).