Re: [NTG-context] list not following "focus=standard"?

2023-01-31 Thread Pablo Rodriguez via ntg-context
On 1/30/23 12:18, Pablo Rodriguez via ntg-context wrote:
> […]
> I‘m afraid this might be a regression from a recently fixed issue.

Hans,

I see there is a new strc-lst.lmt. So comparing it with strc-lst.lmt, I
saw what is missing:

-if cheat and references then
+local v  = usedviews[i]
+if cheat and cheats[v] and references then
 -- this permits runs=2 with interactivity
 local internal = references.internal
 usedinternals[internal] = true

Proper diff attached.

Many thanks for your help,

Pablo--- strc-lst.lmt	2023-01-31 12:23:12.240689092 +0100
+++ mkxl/strc-lst.lmt	2023-01-31 12:23:32.170871203 +0100
@@ -962,7 +962,8 @@
 local numberdata = listentry.numberdata
 local references = listentry.references
 local special= specials and numberdata and specials[zerostrippedconcat(numberdata.numbers,".")] or ""
-if cheat and references then
+local v  = usedviews[i]
+if cheat and cheats[v] and references then
 -- this permits runs=2 with interactivity
 local internal = references.internal
 usedinternals[internal] = true
___
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
___


Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/16/22 13:28, Pablo Rodriguez via ntg-context wrote:
> [...]
> So, line 40 of that file ("local cheat = true") needs a conditional that
> I’m not able to provide (I have no idea how it would read).
>
> Basically, if \setupinteraction[focus=standard], please don’t cheat .

Or even more accurate, cheat only if focus in \setupinteraction is fit
or tight (other options include positions inside pages).

Pab

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


Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote:
> Hi Hans,
>
> I have the following sample:
>
>   \setupinteraction[state=start,
> focus=standard]
>   \starttext
>   \completecontent
>   \section{section}
>   a\footnote{\contextversion}
>   \stoptext

Hans,

I have found the cause of the misbehavior in strc-lst.lua, lines 898-903:

if cheat and references then
-- this permits runs=2 with interactivity
local internal = references.internal
usedinternals[internal] = true
usedviews[internal] = references.view
end

So, line 40 of that file ("local cheat = true") needs a conditional that
I’m not able to provide (I have no idea how it would read).

Basically, if \setupinteraction[focus=standard], please don’t cheat .

Sorry, but I don’t even know which file (strc-lst.lua or lpdf-ano) has
to be modified.

I hope the issue is clearer now.

Many thanks for your help,

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


Re: [NTG-context] List of publications…

2022-05-18 Thread Damien Thiriet via ntg-context
Hi śrīrāma,

> I hope you made the format (context --make) after
> applying the changes.

That's exactly what I missed. Should have read the whole 
thread and not the last part…

Reading your diff, I also didn't comment out the lines with
string.tolower and local lowered, but I guess this is not an issue
since I commented out all the entries with lowered[tag|field]

Many thanks,

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


Re: [NTG-context] List of publications…

2022-05-17 Thread śrīrāma via ntg-context
On 5/18/22 12:02 AM Damien Thiriet via ntg-context wrote:
> Unfortunately, commenting out all occurrences of those two lines
> didn't make the job for me.
> And using lowercase characters is unfortunately a no-op as far as
> I'm concerned: my bib files have been filled with CamelCase for years,
> and are loaded by dozens of other files…
> 
> is there something I missed?
> current version: 2022.05.02 16:19

That's strange: I have LMTX 2022.05.11 11:36 and have no issues with this 
'patch'. I too have thousands of references across documents, so could not 
convert the tags to lowercase, and this patch works for me. 
I am attaching a diff here. I hope you made the format (context --make) after 
applying the changes.

  Sreeram--- publ-ini-1.lua	2022-05-04 08:07:01.410444702 +0530
+++ publ-ini.lua	2022-04-24 09:28:56.499009761 +0530
@@ -22,7 +22,7 @@
 -- gain is not that large anyway because not much publication stuff is flushed.
 
 local next, rawget, type, tostring, tonumber = next, rawget, type, tostring, tonumber
-local match, find, gsub, lower = string.match, string.find, string.gsub, string.lower
+local match, find, gsub = string.match, string.find, string.gsub
 local concat, sort, tohash = table.concat, table.sort, table.tohash
 local mod = math.mod
 local formatters = string.formatters
@@ -1316,12 +1316,6 @@
 local typesetters= { }
 publications.typesetters = typesetters
 
-local lowered = setmetatableindex(function(t,k)
-k = lower(k)
-t[k] = k
-return k
-end)
-
 local function defaulttypesetter(field,value,manipulator)
 if value and value ~= "" then
 value = tostring(value)
@@ -1428,8 +1422,6 @@
 local function get(dataset,tag,field,what,check,catspec) -- somewhat more extensive
 local current = rawget(datasets,dataset)
 if current then
-tag   = lowered[tag]
-field = lowered[field]
 local data = current.luadata[tag]
 if data then
 local category = data.category
@@ -1479,8 +1471,6 @@
 local function btxflush(name,tag,field)
 local dataset = rawget(datasets,name)
 if dataset then
-tag   = lowered[tag]
-field = lowered[field]
 local fields = dataset.luadata[tag]
 if fields then
 local manipulator, field = splitmanipulation(field)
@@ -1507,8 +1497,6 @@
 local function btxfield(name,tag,field)
 local dataset = rawget(datasets,name)
 if dataset then
-tag   = lowered[tag]
-field = lowered[field]
 local fields = dataset.luadata[tag]
 if fields then
 local category = fields.category
@@ -1534,8 +1522,6 @@
 local function btxdetail(name,tag,field)
 local dataset = rawget(datasets,name)
 if dataset then
-tag   = lowered[tag]
-field = lowered[field]
 local fields = dataset.luadata[tag]
 if fields then
 local details = dataset.details[tag]
@@ -1566,11 +1552,8 @@
 local function btxdirect(name,tag,field)
 local dataset = rawget(datasets,name)
 if dataset then
-tag   = lowered[tag]
-field = lowered[field]
 local fields = dataset.luadata[tag]
 if fields then
-field = lowered[field]
 local manipulator, field = splitmanipulation(field)
 local value = fields[field]
 if value then
@@ -1589,8 +1572,6 @@
 local function okay(name,tag,field)
 local dataset = rawget(datasets,name)
 if dataset then
-tag   = lowered[tag]
-field = lowered[field]
 local fields = dataset.luadata[tag]
 if fields then
 local category = fields.category
___
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
___


Re: [NTG-context] List of publications…

2022-05-17 Thread Damien Thiriet via ntg-context
> Till there is a fix, I am able to workaround it by:
>   • using only lowercase characters (a-z) in the item tags 
>   • comment out all occurrences of 
>   tag   = lowered[tag]
>   field = lowered[field]
>in publ-ini.lua
> 
> Sreeram

Unfortunately, commenting out all occurrences of those two lines
didn't make the job for me.
And using lowercase characters is unfortunately a no-op as far as
I'm concerned: my bib files have been filled with CamelCase for years,
and are loaded by dozens of other files…

is there something I missed?
current version: 2022.05.02 16:19

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


Re: [NTG-context] List of publications...

2022-05-17 Thread Willi Egger via ntg-context
Hello everybody, 

sorry for not being responsive in recent days. — I have not been working on the 
computer in recent days…

Thank you so much for all your testing and help for finding a fix for the time 
being! — I will look into the lua file and apply your suggestion.

Many thanks 

Best

Willi



> On 11 May 2022, at 11:53, śrīrāma via ntg-context  wrote:
> 
> On 5/11/22 2:24 PM Willi Egger via ntg-context wrote:
>> I ws trying to finish my list of publications. How ever I now get a very
>> strange list.
>> 
>> Could someone compile the attached tex-sample-file and see?
>> 
>> I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22
> 
> Yes: this issue has been there for some time now. Please see:
> https://mailman.ntg.nl/pipermail/ntg-context/2022/105649.html, and,
> https://mailman.ntg.nl/pipermail/ntg-context/2022/105585.html
> 
> Till there is a fix, I am able to workaround it by:
> • using only lowercase characters (a-z) in the item tags 
> • comment out all occurrences of 
>   tag   = lowered[tag]
>   field = lowered[field]
> in publ-ini.lua
> 
> Sreeram
> 
> 
> ___
> 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
> ___

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


Re: [NTG-context] List of publications...

2022-05-11 Thread śrīrāma via ntg-context
On 5/11/22 3:23 PM śrīrāma wrote:
> Till there is a fix, I am able to workaround it by:
>   • using only lowercase characters (a-z) in the item tags
>   • comment out all occurrences of
> tag   = lowered[tag]
> field = lowered[field]
>   in publ-ini.lua

To be clear only one of these needs to be applied to get a proper output.

  Sreeram


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


Re: [NTG-context] List of publications...

2022-05-11 Thread śrīrāma via ntg-context
On 5/11/22 2:24 PM Willi Egger via ntg-context wrote:
> I ws trying to finish my list of publications. How ever I now get a very
> strange list.
> 
> Could someone compile the attached tex-sample-file and see?
> 
> I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22

Yes: this issue has been there for some time now. Please see:
  https://mailman.ntg.nl/pipermail/ntg-context/2022/105649.html, and,
  https://mailman.ntg.nl/pipermail/ntg-context/2022/105585.html

Till there is a fix, I am able to workaround it by:
  • using only lowercase characters (a-z) in the item tags 
  • comment out all occurrences of 
tag   = lowered[tag]
field = lowered[field]
  in publ-ini.lua

  Sreeram


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


Re: [NTG-context] List of publications...

2022-05-11 Thread Günter Kolousek via ntg-context


I'm able to confirm that

❯ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file:
mtx-context | current version: 2022.05.10 18:44
mtx-context | main context file:
mtx-context | current version: 2022.05.10 18:44

results in exactly the same output.
Günter


Willi Egger via ntg-context @ 2022-05-11 10:54 +02:


Good morning!

I ws trying to finish my list of publications. How ever I now 
get a very strange list.


Could someone compile the attached tex-sample-file and see?

I have ConTeXt  ver: 2022.04.20 19:18 LMTX  fmt: 2022.4.22

Thanks

Willi

[3. application/octet-stream; publist-test.bbl]...

[5. application/pdf; publist-test.pdf]...

[7. application/x-tex; publist-test.tex]...

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

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


Re: [NTG-context] List of language-specific hyphenation commands

2020-05-23 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 22.05.2020 um 23:42:
Hi everybody! I've read about some commands which allow hyphenation 
according to an specific language in ConTeXt, e.g. \french{word} for 
French hyphenation in a text the main language of which is Spanish, 
English, etc. Unlike \language[code], I couldn't find any extensive list 
of those commands, so where should I find them? Thank you in advance!


It's a switch and you have to put the left brace before the command, 
e.g. {\french ...}


There is no list but you can print the stored entries.

\starttext

\startluacode

function userdata.languagesyonym(language)
context.doShowLanguage(language)
for synonym, _ in next, languages.registered[language].synonyms do
context.doShowLanguage(synonym)
end
end

function userdata.checklanguage(language,meaning)
if string.find(meaning,"\\lang_basics_set_current") then
context.tex(language)
end
end

\stopluacode

\def\doShowLanguage#1%
  {\doifnotinstring{-}{#1}

{\ctxlua{userdata.checklanguage("#1","\luaescapestring{\expandafter\meaning\csname#1\endcsname}")}}%
   \par}

\def\ShowLanguage#1%
  {\testpage[3]
   \blank[medium]
   \ctxlua{userdata.languagesyonym("#1")}}

\processcommacommand[\installedlanguages]\ShowLanguage

\stoptext

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


Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
Since there has not been a response (and since I am still unhappy with the 
limitations of \definesynonyms) I came up with my own solution which is 
included in this mail. The code provides a fully automated handling of symbols. 
I think this might be useful for a lot of people in engineering, physics, etc.. 
It should be more generalized and packed into a module though.

Kind regards,

Thomas

% Document Layout
\setupcolors[state=start]
\setuppapersize[A4][A4]

% Typography
\setupwhitespace[medium]
\setupindenting[no]
\setupbodyfont[sans, 11pt]

% PDF Output Adjustments
\setupinteraction[state=start, focus=standard, style=, click=yes, color=, 
contrastcolor=,]

% Units
\defineunit[sunit][separator=small]
\setupunit[space=medium]

\setuphead[section][style={\bfc}, before={\bigskip}, after={}]

% Lua code to set up a database of symbols
\definedescription[SymItem][]
\startluacode
userdata = userdata or {}
userdata.listofsymbols = {} -- hash table with all symbols of the form 
keyword:{symbol, {unit=... , description=...}}

function userdata.addsym(keyword, symbol, option) -- parses the input and adds 
an entry to the hash table
keywords = utilities.parsers.settings_to_array(keyword)
symbols = utilities.parsers.settings_to_array(symbol)
options = utilities.parsers.settings_to_hash(option)
userdata.listofsymbols[keywords[1]] = {symbols[1], options}
end

function userdata.getsym(keyword) -- prints the symbol to a given keyword
context.math(userdata.listofsymbols[keyword][1])
end

function userdata.symattr(keyword, attribute) -- prints whatever attribute of 
the symbol (its unit, description, ...)
context(userdata.listofsymbols[keyword][2][attribute])
end

function userdata.sorttable(t,o) -- sorting algorithm: hash table gets inserted 
to an indexed array which then can be indexed by the iterator
local a = {}
for n in pairs(t) do
table.insert(a, n)
end
if o then
table.sort(a, function(a,b) return o(t, a, b) end)
else
table.sort(a)
end
local i = 0
local iterator = function ()
i = i + 1
return a[i], t[a[i]]
end
return iterator
end

function userdata.placelistofsymbols() -- prints the List of Symbols
greekgroup = {}
latingroup = {}
for keyword, values in next, userdata.listofsymbols do -- devides the symbol 
list into greek and latin letters
if values[2]["group"] == "greek" then
greekgroup[keyword] = values
elseif values[2]["group"] == "latin" then
latingroup[keyword] = values
end
end
context.setuptabulate{distance="1ex"}
context.starttabulate{"|lw(0.18\\textwidth)|lw(0.18\\textwidth)|p(0.6\\textwidth)|"}
context.NC()
context.bf() context("Symbol")
context.NC()
context.bf() context("Unit")
context.NC()
context.bf() context("Description")
context.NC()
context.FR()
context.HL()
function printlistitem(keyword, values)
context.NC()
context.startSymItem({reference="sym:"..keyword, title=values[1]})
context.math(values[1])
context.stopSymItem()
context.NC()
context(values[2]["unit"])
context.NC()
context(values[2]["description"])
context.NC()
context.MR()
end
for keyword, values in userdata.sorttable(greekgroup, function(t,a,b) return 
string.lower(a) < string.lower(b) end) do -- sorting algorithm uses the 
"<"-comparator to compare the keys a and b
printlistitem(keyword, values)
end
context.TB{"2ex"}
for keyword, values in userdata.sorttable(latingroup, function(t,a,b) return 
string.lower(a) < string.lower(b) end) do
printlistitem(keyword, values)
end
context.stoptabulate()
end
\stopluacode

% Create the hook to the lua functions
\def\addsym[#1][#2][#3]{\ctxlua{userdata.addsym([==[#1]==], [==[#2]==], 
[==[#3]==])}}
\def\getsym[#1]{\ctxlua{userdata.getsym([==[#1]==])}}
\def\symattr[#1][#2]{\ctxlua{userdata.symattr([==[#1]==], [==[#2]==])}}

% Print a symbol with \sym[keyword]. Printed as an internal link to the entry 
in the List of Symbols via \goto{symbol}[sym:keyword]
\def\sym[#1]{\goto{\getsym[#1]}[sym:#1]}

% Create a database containing all symbols with 
\addsym[keyword][symbol][options]
\def\loadsymbols{
\addsym[beta][\beta][unit={\sunit{meter per second}}, description={Mass 
transfer coefficient}, group={greek}]
\addsym[alpha][\alpha][unit={\sunit{watt per square meter per kelvin}}, 
description={Heat transfer coefficient}, group={greek}]
\addsym[c][c][unit={\sunit{kilogram per cubic meter}}, 
description={Concentration}, group={latin}]
\addsym[m][m][unit={\sunit{kilogram}}, description={Mass}, group={latin}]
\addsym[A][A][unit={\sunit{square meter}}, description={Phase boundary 
interface}, group={latin}]
\addsym[Q][Q][unit={\sunit{joule}}, description={Heat}, group={latin}]
\addsym[T][T][unit={\sunit{kelvin}}, description={Temperature}, group={latin}]
\addsym[t][t][unit={\sunit{second}}, description={Time}, group={latin}]
}

% Print the List of Symbols with \placelistofsymbols
\def\placelistofsymbols{\loadsymbols\ctxlua{userdata.placelistofsymbols()}}

\starttext

\startfrontmatter

\startsubject[title=Content]
\placecontent
\stopsubject

\startsection[title=List of Tables]
\placelistoftables
\stopsection


Re: [NTG-context] list of figures

2018-09-14 Thread Andrea Valle
Thanks to all, yes, \placelistoffigures works fine

Concerning structure: yeah, thanks Alan, I used it. I think I had some issues I 
was not able to solve so switched to raw input.

Best

-a-


--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> http://andreavalle.bandcamp.com
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

> On 14 Sep 2018, at 14:40, Alan Braslau  wrote:
> 
> On Fri, 14 Sep 2018 11:20:27 +0200
> Andrea Valle  wrote:
> 
>> Thanks Henri
>> 
>> actually this works in my chapter but I have a book made up of various 
>> chapters coordinate by a main.tex file 
>> containing general setting and  e.g.
>> 
>> \input c_1_semiotics.tex % chapter
>> 
>> \input c_2_conceptions.tex
>> 
>> etc
> 
> The ConTeXt way of doing this is:
> 
> \component c_1_semiotics
> 
> \component c_2_conceptions
> 
> also putting
> 
> \startcomponent c_1_semiotics
> ...
> \stopcomponent
> 
> at the beginning and end in each component file.
> 
> This project/product scheme is handled more coherently than a raw \input. 
> Note, however, that this has nothing to do directly with the question about 
> generating a list of figures; as already answered 
> \placelistoffigures[criterium=chapter], for example, gives a list of figures 
> limited to the present chapter. One can also use criterium=part, section, 
> etc. as well as criterium=all.
> 
> Alan
> 

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

Re: [NTG-context] list of figures

2018-09-14 Thread Alan Braslau
On Fri, 14 Sep 2018 11:20:27 +0200
Andrea Valle  wrote:

> Thanks Henri
> 
> actually this works in my chapter but I have a book made up of various 
> chapters coordinate by a main.tex file 
> containing general setting and  e.g.
> 
> \input c_1_semiotics.tex % chapter
> 
> \input c_2_conceptions.tex
> 
> etc

The ConTeXt way of doing this is:

\component c_1_semiotics

\component c_2_conceptions

also putting

\startcomponent c_1_semiotics
...
\stopcomponent

at the beginning and end in each component file.

This project/product scheme is handled more coherently than a raw \input. Note, 
however, that this has nothing to do directly with the question about 
generating a list of figures; as already answered 
\placelistoffigures[criterium=chapter], for example, gives a list of figures 
limited to the present chapter. One can also use criterium=part, section, etc. 
as well as criterium=all.

Alan

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

Re: [NTG-context] list of figures

2018-09-14 Thread cryo shock
I tried \completelist[figure] and it doesn't work for me either. Could
you please try this one instead:

\placelistoffigures[criterium=text]

Cheers, Lars

2018-09-14 11:20 GMT+02:00, Andrea Valle :
> Thanks Henri
>
> actually this works in my chapter but I have a book made up of various
> chapters coordinate by a main.tex file
> containing general setting and  e.g.
>
> \input c_1_semiotics.tex % chapter
>
> \input c_2_conceptions.tex
>
> etc
>
> if I place
>
> \completelist[figure]
>
> in the main
> it does not work
>
> Best
> -a-
>
>
>
> --
> Andrea Valle
> --
> CIRMA - StudiUm
> Università degli Studi di Torino
> --> http://www.cirma.unito.it/andrea/
> --> http://www.fonurgia.unito.it/andrea/
> --> http://www.flickr.com/photos/vanderaalle/sets/
> --> http://vimeo.com/vanderaalle
> --> http://andreavalle.bandcamp.com
> --> andrea.va...@unito.it
> --
>
> "This is a very complicated case, Maude. You know, a lotta ins, a lotta
> outs, a lotta what-have-yous."
> (Jeffrey 'The Dude' Lebowski)
>
>> On 14 Sep 2018, at 10:58, Henri Menke  wrote:
>>
>> On 14/09/18 20:50, Andrea Valle wrote:
>>> Dear all,
>>>
>>> I have a very simple question.
>>>
>>> How do I get a list of figures?
>>
>> \starttext
>>
>> \completelist[figure]
>>
>> \startplacefigure[title={S. Reich, {\em Piano Phase}.}]
>>  \externalfigure[img/chap01/2][width=\textwidth]
>> \stopplacefigure
>>
>> \stoptext
>>
>>> I have figures placed with e.g.
>>>
>>> \placefigure{S. Reich, {\em Piano Phase}.}{
>>> \externalfigure[img/chap01/2][width=\textwidth]}
>>>
>>>
>>> I tried \showexternalfigures[alternative=a]
>>>
>>> it gives me back no list and this on the body text
>>> [alternative=a]
>>>
>>> Thanks
>>>
>>> Best
>>> -a-
>>>
>>>
>>>
>>> --
>>> Andrea Valle
>>> --
>>> CIRMA - StudiUm
>>> Università degli Studi di Torino
>>> --> http://www.cirma.unito.it/andrea/
>>> --> http://www.fonurgia.unito.it/andrea/
>>> --> http://www.flickr.com/photos/vanderaalle/sets/
>>> --> http://vimeo.com/vanderaalle
>>> --> http://andreavalle.bandcamp.com
>>> --> andrea.va...@unito.it
>>> --
>>>
>>> "This is a very complicated case, Maude. You know, a lotta ins, a lotta
>>> outs, a lotta what-have-yous."
>>> (Jeffrey 'The Dude' Lebowski)
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>> ___
>>>
>>
>> ___
>> 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 
>> ___
>
>
___
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
___

Re: [NTG-context] list of figures

2018-09-14 Thread Andrea Valle
Thanks Henri

actually this works in my chapter but I have a book made up of various chapters 
coordinate by a main.tex file 
containing general setting and  e.g.

\input c_1_semiotics.tex % chapter

\input c_2_conceptions.tex

etc

if I place 

\completelist[figure]

in the main
it does not work

Best
-a-



--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> http://andreavalle.bandcamp.com
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

> On 14 Sep 2018, at 10:58, Henri Menke  wrote:
> 
> On 14/09/18 20:50, Andrea Valle wrote:
>> Dear all, 
>> 
>> I have a very simple question.
>> 
>> How do I get a list of figures?
> 
> \starttext
> 
> \completelist[figure]
> 
> \startplacefigure[title={S. Reich, {\em Piano Phase}.}]
>  \externalfigure[img/chap01/2][width=\textwidth]
> \stopplacefigure
> 
> \stoptext
> 
>> I have figures placed with e.g.
>> 
>> \placefigure{S. Reich, {\em Piano Phase}.}{
>> \externalfigure[img/chap01/2][width=\textwidth]}
>> 
>> 
>> I tried \showexternalfigures[alternative=a]
>> 
>> it gives me back no list and this on the body text
>> [alternative=a]
>> 
>> Thanks
>> 
>> Best
>> -a-
>> 
>> 
>> 
>> --
>> Andrea Valle
>> --
>> CIRMA - StudiUm
>> Università degli Studi di Torino
>> --> http://www.cirma.unito.it/andrea/
>> --> http://www.fonurgia.unito.it/andrea/
>> --> http://www.flickr.com/photos/vanderaalle/sets/
>> --> http://vimeo.com/vanderaalle
>> --> http://andreavalle.bandcamp.com
>> --> andrea.va...@unito.it
>> --
>> 
>> "This is a very complicated case, Maude. You know, a lotta ins, a lotta 
>> outs, a lotta what-have-yous." 
>> (Jeffrey 'The Dude' Lebowski)
>> 
>> 
>> 
>> 
>> ___
>> 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
>> ___
>> 
> 
> ___
> 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 
> ___

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

Re: [NTG-context] list of figures

2018-09-14 Thread Henri Menke
On 14/09/18 20:50, Andrea Valle wrote:
> Dear all, 
> 
> I have a very simple question.
> 
> How do I get a list of figures?

\starttext

\completelist[figure]

\startplacefigure[title={S. Reich, {\em Piano Phase}.}]
  \externalfigure[img/chap01/2][width=\textwidth]
\stopplacefigure

\stoptext

> I have figures placed with e.g.
> 
> \placefigure{S. Reich, {\em Piano Phase}.}{
> \externalfigure[img/chap01/2][width=\textwidth]}
> 
> 
> I tried \showexternalfigures[alternative=a]
> 
> it gives me back no list and this on the body text
> [alternative=a]
> 
> Thanks
> 
> Best
> -a-
> 
> 
> 
> --
> Andrea Valle
> --
> CIRMA - StudiUm
> Università degli Studi di Torino
> --> http://www.cirma.unito.it/andrea/
> --> http://www.fonurgia.unito.it/andrea/
> --> http://www.flickr.com/photos/vanderaalle/sets/
> --> http://vimeo.com/vanderaalle
> --> http://andreavalle.bandcamp.com
> --> andrea.va...@unito.it
> --
> 
> "This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, 
> a lotta what-have-yous." 
> (Jeffrey 'The Dude' Lebowski)
> 
> 
> 
> 
> ___
> 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
> ___
> 

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

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
On 03/06/2017 09:45 PM, Henning Hraban Ramm wrote:
> Am 2017-03-06 um 21:23 schrieb Pablo Rodriguez:
>> [...]
>> I’m afraid I wasn’t clear. This is required for:
>>
>>\placelist[section][alternative=d].
>>
>> I’m afraid it doesn’t work there.
> 
> Did you try \setuplist[textcommand ?

Hraban,

I tired it, but I had to do something wrong, because it didn’t work and
now it works fine.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Henning Hraban Ramm
Am 2017-03-06 um 21:23 schrieb Pablo Rodriguez :

> On 03/06/2017 09:01 PM, Henning Hraban Ramm wrote:
>> Am 2017-03-06 um 19:04 schrieb Pablo Rodriguez:
>>> I would like to avoid line breaks in section items. Which would be the
>>> right way of doing it?
>>> 
>>> This would be similar (I think) to know how to get the "{this is a
>>> expression}" with no line break inside (and not using "~").
>> 
>> Usually you can use \hbox{this doesn’t break}.
>> 
>> Try something like
>> 
>> \def\MySection#1{\hbox{#1}}
>> \setuphead[section][textcommand=\MySection]
> 
> Hraban,
> 
> I’m afraid I wasn’t clear. This is required for:
> 
>\placelist[section][alternative=d].
> 
> I’m afraid it doesn’t work there.

Did you try \setuplist[textcommand ?


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

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

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
On 03/06/2017 09:01 PM, Henning Hraban Ramm wrote:
> Am 2017-03-06 um 19:04 schrieb Pablo Rodriguez:
>> I would like to avoid line breaks in section items. Which would be the
>> right way of doing it?
>>
>> This would be similar (I think) to know how to get the "{this is a
>> expression}" with no line break inside (and not using "~").
> 
> Usually you can use \hbox{this doesn’t break}.
> 
> Try something like
> 
> \def\MySection#1{\hbox{#1}}
> \setuphead[section][command=\MySection]

Hraban,

I’m afraid I wasn’t clear. This is required for:

\placelist[section][alternative=d].

I’m afraid it doesn’t work there.

Any other option to get it?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] list items not broken in lines

2017-03-06 Thread Henning Hraban Ramm

Am 2017-03-06 um 19:04 schrieb Pablo Rodriguez :

> I would like to avoid line breaks in section items. Which would be the
> right way of doing it?
> 
> This would be similar (I think) to know how to get the "{this is a
> expression}" with no line break inside (and not using "~").

Usually you can use \hbox{this doesn’t break}.

Try something like

\def\MySection#1{\hbox{#1}
\setuphead[section][command=\MySection]


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

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

Re: [NTG-context] list with individual item indications

2015-10-26 Thread Wolfgang Schuster

dr. Hans van der Meer 
25. Oktober 2015 um 10:46
I want to typeset a series of items in the itemize-list structure. But 
not numbered 1. 2. etc, but each item a separate indication, in fact 
in this case years. In \startitemize \startitem .. \stopitem .. 
\stopitemize I am not able to realize this and the ConTeXt Wiki on 
these commands didn't help me further.

How to accomplish?

\starttext

\startitemize[width=3em]

\txt{1978} First version of \TEX.

\txt{1982} \TEX 82.

\txt{1989} \TEX\ Version 3.0

\stopitemize

\stoptext

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

Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Hans Hagen

On 3/27/2013 7:55 PM, Marco Patzer wrote:

Hi Hans,


maybe after the current is made (which happens sometime within the
next two weeks)

best make sure that we have no serious bugs (experimental features apart)


I think it's better to start a new thread for this issue.

I maintain a small list of bugs and quirks which I would like to
share. I don't know if the issues are considered bugs or not. I
posted most of them to the mailing list at some point, but AFAIK
they have not been fixed for whatever reason. Usually there are
simple workarounds or I have some code which fixes the issue. Others
are still unresolved. Act upon as you see fit.


well, if something really crashes due to some 'programming' error it's 
indeed a bug (i tend to add such tests then to the test suite so that it 
gets checked)


other cases depend a bit on how complex it is to deal with it given the 
tex language, take this one:



%

%% Newline after \placelegend fails
\starttext
\startplacelegend

\startcontent
Foo
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext


If you want that, you also want

\starttext

\startplacelegend

\startcontent
Foo Bar
\stopcontent

\startcaption
Bar Foo
\stopcaption

\stopplacelegend

\stoptext

That's actually a side effect of how such a mechanism is implemented but 
in this case it can be catched (at the cost of a bit less efficiency). 
The problem then is that after a while one wonders why the particular 
lines of code were there.


(you can test / look into the zip on the ftp server)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Hans Hagen

On 3/27/2013 7:55 PM, Marco Patzer wrote:


%

%% the \stop… line of database module environment must not be indented,
%% spurious line otherwise
\usemodule [database]

\defineseparatedlist
   [CSV]
   [before=\bTABLE, after=\eTABLE,
first=\bTR, last=\eTR,
left=\bTD, right=\eTD]

\starttext

%% indentation with spaces works
   \startCSV
 alpha, 10
 beta,  20
 gamma, 30
   \stopCSV

%% indentation with tabs produces spurious extra line
\startCSV
alpha, 10
beta,  20
gamma, 30
\stopCSV

%% some weird indentation works, but looks awkward
\startplacetable
\startCSV
alpha, 10
beta,  20
gamma, 30
\stopCSV
\stopplacetable

\stoptext


tricky given the meaning of spaces ... I've sent you something to test

(keep in mind that in these example there are leading spaces but they 
happen to be gobbled by tex; the new strip option wil front/back strip 
spaces)


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Hans Hagen

On 3/27/2013 7:55 PM, Marco Patzer wrote:


I maintain a small list of bugs and quirks which I would like to
share. I don't know if the issues are considered bugs or not. I



%

%% MetaPost Location throws error
\startuseMPgraphic{foo}
   %% works
   %% fill Field[Header][Text];

   %% error
   fill Area[Header][Text] shifted Location[Header][Text];
\stopuseMPgraphic

\starttext
   \useMPgraphic{foo}
\stoptext


ok, that's a real bug, it should be

pair Location[][] ; % second [] was lost

in mp-page.mpiv

the initialization of those variables was made delayed when i found out 
that mp needed 4 seconds instead of  1 on a manual; in th emeantime 
mp's mem management has been improved much but i'll keep the delayed 
code as it's more efficient anyway - but also a bit more complex


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Hans Hagen

On 3/27/2013 7:55 PM, Marco Patzer wrote:

 %% Wide descriptions protruding into the margin


\definedescription
   [description]
   [alternative=hanging,
width=broad]

\starttext
\startdescription{conclusion that}
   \input knuth
\stopdescription

\startdescription{conclusion that the designer of a new system must not only be 
literally}
   \input knuth
\stopdescription
\stoptext


A potentially incompatible change ... upto you and wolfgang to check it

\unprotect

\startsetups[\??constructionrenderings:\v!hanging]
% tricky: leftskipadaption is somewhat unpredictable
\let\\=\crlf
\noindent
\advance\leftskip-\leftskipadaption\relax
\ifdim\leftskipadaption=\zeropoint
\leftskipadaption1.5\emwidth\relax % just some default
\ifnum\c_strc_constructions_nested_state=\plusone
\ifdim\leftskip\zeropoint \relax
\leftskipadaption\leftskip
\fi
\fi
\fi
\ifnum\c_strc_constructions_nested_state\zerocount % was 
\ifnum\c_strc_constructions_nested_state=\plusone

\advance\leftskip\leftskipadaption % but we're already further on
\fi
\hskip-\leftskipadaption\relax
\ifhbox\constructionheadbox \unhbox\else\box\fi\constructionheadbox
\ifconditional\c_strc_constructions_distance_none \else
  % we used to have just a kern, but long lines look bad then
  \scratchdistance\ifdim\constructionsheaddistance=\zeropoint 
.75\emwidth\else\constructionsheaddistance\fi

  \hskip \scratchdistance
  \s!plus .25\scratchdistance
  \s!minus.25\scratchdistance
\fi
\allowbreak % new
\useconstructionstyleandcolor\c!style\c!color
\ignorespaces
\stopsetups

\protect

\definedescription
  [description]
  [alternative=hanging,
   width=broad]

\starttext

\dorecurse{15}{
\startdescription{\dorecurse{#1}{test }}
  \input knuth
\stopdescription
}

\stoptext

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
On 2013–03–27 Hans Hagen wrote:

 A potentially incompatible change

It's already the second time you warn me about this. Should I be
concerned?

 ... upto you and wolfgang to check it

Actually I used a patched version for months in several projects
without issues. I replaced the kern with an hskip. That said, it's
unlikely that *I* will run into issues. And I'm curious about an
example where this fails and yields unacceptable results (like the
unpatched version does).

Thanks Hans for taking the time to look into that.

Marco


signature.asc
Description: Digital signature
___
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
___

Re: [NTG-context] List without bullets

2012-07-02 Thread Wolfgang Schuster

Am 30.06.2012 um 00:49 schrieb Gilbert Houtekamer:

 Hi,
 
 I am would like to make \startitemize list with \head that 
 has no bullets, e.g.
 
 Topic 
 
  My text for topic
 
 Another Topic
 
  Text for another topic.
 
 With \startitemize and \head I get bullets before Topic 
 and Another Topic, how can get rid of these?

When you the head and the itemize entries are on the same level you can’t 
change/remove it because
head uses the normal item symbol but when you move the entries at a deeper 
level you can use the empty
symbol “none” for the top level and use the “bullet” symbol for the sub level.

\starttext

\startitemize
  \starthead {Topic}
  \startitem My text for topic \stopitem
  \stophead
  \starthead {Another Topic}
  \startitem Text for another topic. \stopitem
  \stophead
\stopitemize

\startitemize[none][width=0pt]
  \starthead {Topic}
\startitemize[bullet]
\startitem My text for topic \stopitem
\stopitemize
  \stophead
  \starthead {Another Topic}
\startitemize[bullet]
\startitem Text for another topic. \stopitem
\stopitemize
  \stophead
\stopitemize

\stoptext

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


Re: [NTG-context] List without bullets

2012-06-30 Thread Wolfgang Schuster

Am 30.06.2012 um 00:49 schrieb Gilbert Houtekamer:

 Hi,
 
 I am would like to make \startitemize list with \head that 
 has no bullets, e.g.
 
 Topic 
 
 My text for topic
 
 Another Topic
 
 Text for another topic.
 
 With \startitemize and \head I get bullets before Topic 
 and Another Topic, how can get rid of these?

When you the head and the itemize entries are on the same level you can’t 
change/remove it because
head uses the normal item symbol but when you move the entries at a deeper 
level you can use the empty
symbol “none” for the top level and use the “bullet” symbol for the sub level.

\starttext

\startitemize
 \starthead {Topic}
 \startitem My text for topic \stopitem
 \stophead
 \starthead {Another Topic}
 \startitem Text for another topic. \stopitem
 \stophead
\stopitemize

\startitemize[none][width=0pt]
 \starthead {Topic}
   \startitemize[bullet]
   \startitem My text for topic \stopitem
   \stopitemize
 \stophead
 \starthead {Another Topic}
   \startitemize[bullet]
   \startitem Text for another topic. \stopitem
   \stopitemize
 \stophead
\stopitemize

\stoptext

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


Re: [NTG-context] List without bullets

2012-06-30 Thread Gilbert Houtekamer
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
 
 
 Am 30.06.2012 um 00:49 schrieb Gilbert Houtekamer:
 
  Hi,
  
  I am would like to make \startitemize list with \head that 
  has no bullets, e.g.
  
  Topic 
  
  My text for topic
  
  Another Topic
  
  Text for another topic.
  
  With \startitemize and \head I get bullets before Topic 
  and Another Topic, how can get rid of these?
 
 When you the head and the itemize entries are on the same level you can’t 
change/remove it because
 head uses the normal item symbol but when you move the entries at a deeper 
level you can use the empty
 symbol “none” for the top level and use the “bullet” symbol for the sub level.
 
 \starttext
 
 \startitemize
  \starthead {Topic}
  \startitem My text for topic \stopitem
  \stophead
  \starthead {Another Topic}
  \startitem Text for another topic. \stopitem
  \stophead
 \stopitemize
 
 \startitemize[none][width=0pt]
  \starthead {Topic}
\startitemize[bullet]
\startitem My text for topic \stopitem
\stopitemize
  \stophead
  \starthead {Another Topic}
\startitemize[bullet]
\startitem Text for another topic. \stopitem
\stopitemize
  \stophead
 \stopitemize
 
 \stoptext
 
 Wolfgang
 

Wolfgang, thank you very much, this is what I wanted.

I modified it a bit to give me bold headers, and no bullets at all, as below.


\startitemize[none][width=0pt,headstyle=bold]
 \starthead {Topic}
   \startitemize[symbol=none]
   \startitem My text for topic \stopitem
   \stopitemize
 \stophead
 \starthead {Another Topic}
   \startitemize[symbol=none]
   \startitem Text for another topic. \stopitem
   \stopitemize
 \stophead
\stopitemize

Gilbert


___
 If your question is of interest to others as well, please add an entry to the 
Wiki!
 
 maillist : ntg-context at 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
 

___
 
 



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

Re: [NTG-context] List without bullets

2012-06-29 Thread Otared Kavian
Hi,

You can customize the symbol appearing in your items, and set it to nothing…

  \definesymbol[NoSymbol][{}]
  \definesymbol[MySymbol][{$\heartsuit$}]

\starttext

  \startitemize[Nosymbol]
  \item foo
  \item bar
  \item baz
  \stopitemize

  \startitemize[MySymbol,packed]
  \item foo
  \item bar
  \item baz
  \stopitemize

\stoptext

Best regards: OK

On 30 juin 2012, at 00:49, Gilbert Houtekamer wrote:

 Hi,
 
 I am would like to make \startitemize list with \head that 
 has no bullets, e.g.
 
 Topic 
 
  My text for topic
 
 Another Topic
 
  Text for another topic.
 
 With \startitemize and \head I get bullets before Topic 
 and Another Topic, how can get rid of these?
 
 Thanks!
 
 Gilbert Houtekamer
 
 
 
 
 
 
 
 
 ___
 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
 ___

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


Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 16:31 schrieb Cecil Westerhof:

 While writing the documentation about using ConTeXt I need some 'special' 
 characters. A few I have found, for example \%, \backslash, \texttilde, 
 \percent. But until now I did not find how to represent [ and ]. How would I 
 use those characters in my document?
 
 Also: is there somewhere a 'complete' list? I found several, but they where 
 all for LaTeX and are not completely the same. For example LaTeX uses 
 \textbackslash which does not work in ConTeXt which uses \backslash.


\starttext

[ ] @ _ ^ % normal characters

\startlines
\textbackslash\ or \letterbackslash
\textbraceleft\ or \letterleftbrace\ or \{
\textbraceright\ or \letterrightbrace\ or \}
\percent\ or \letterpercent\ or \%
\textdollar\ or \letterdollar\ or \$
\letterampersand\ or \
\letterhash\ or \#
\stoplines

\asciimode
% $ #  %% this is a comment

\stoptext

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


Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Cecil Westerhof cldwester...@gmail.com

 While writing the documentation about using ConTeXt I need some 'special'
 characters. A few I have found, for example \%, \backslash, \texttilde,
 \percent. But until now I did not find how to represent [ and ]. How would I
 use those characters in my document?

 Also: is there somewhere a 'complete' list? I found several, but they where
 all for LaTeX and are not completely the same. For example LaTeX uses
 \textbackslash which does not work in ConTeXt which uses \backslash.


I could not find it at first (there are so many things), but one solution I
found:
\startasciimode

%\backslash setupbackend[export=yes,xhtml=yes,css=yes]

\stopasciimode


And while searching a little further I also found:

\type{%\setupbackend[export=yes,xhtml=yes,css=yes]}


This has the added benefit that it displays somewhat better because of the
increased indentation (for which I misuse spaces).

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 17:05 schrieb Cecil Westerhof:

 2011/8/15 Cecil Westerhof cldwester...@gmail.com
 While writing the documentation about using ConTeXt I need some 'special' 
 characters. A few I have found, for example \%, \backslash, \texttilde, 
 \percent. But until now I did not find how to represent [ and ]. How would I 
 use those characters in my document?
 
 Also: is there somewhere a 'complete' list? I found several, but they where 
 all for LaTeX and are not completely the same. For example LaTeX uses 
 \textbackslash which does not work in ConTeXt which uses \backslash.
 
 I could not find it at first (there are so many things), but one solution I 
 found:
 \startasciimode
 %\backslash setupbackend[export=yes,xhtml=yes,css=yes]
 \stopasciimode
 
 And while searching a little further I also found:
 \type{%\setupbackend[export=yes,xhtml=yes,css=yes]}
 
 This has the added benefit that it displays somewhat better because of the 
 increased indentation (for which I misuse spaces).

\setuptyping[margin=yes]

\starttext

before

\starttyping
\setupbackend[export=yes]
\stoptyping

after

\stoptext

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com

  While writing the documentation about using ConTeXt I need some 'special'
 characters. A few I have found, for example \%, \backslash, \texttilde,
 \percent. But until now I did not find how to represent [ and ]. How would I
 use those characters in my document?
 
  Also: is there somewhere a 'complete' list? I found several, but they
 where all for LaTeX and are not completely the same. For example LaTeX uses
 \textbackslash which does not work in ConTeXt which uses \backslash.


 \starttext

 [ ] @ _ ^ % normal characters

 \startlines
 \textbackslash\ or \letterbackslash
 \textbraceleft\ or \letterleftbrace\ or \{
 \textbraceright\ or \letterrightbrace\ or \}
 \percent\ or \letterpercent\ or \%
 \textdollar\ or \letterdollar\ or \$
 \letterampersand\ or \
 \letterhash\ or \#
 \stoplines

 \asciimode
 % $ #  %% this is a comment

 \stoptext


I found it also. I new that there was something like it (I had it seen
passing on the mailing list), but could not find it at first.

Do I understand correctly that '%% this is a comment' should not be in the
PDF? Because it is when I compile the document.


 Wolfgang

 ___
 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

 ___




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

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 17:12 schrieb Cecil Westerhof:

 Do I understand correctly that '%% this is a comment' should not be in the 
 PDF? Because it is when I compile the document.

Yes, with \asciimode “%” is a normal character but to put comments in your 
document you can use “%%”.

Wolfgang

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


Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com

 2011/8/15 Cecil Westerhof cldwester...@gmail.com

 While writing the documentation about using ConTeXt I need some 'special'
 characters. A few I have found, for example \%, \backslash, \texttilde,
 \percent. But until now I did not find how to represent [ and ]. How would I
 use those characters in my document?

 Also: is there somewhere a 'complete' list? I found several, but they
 where all for LaTeX and are not completely the same. For example LaTeX uses
 \textbackslash which does not work in ConTeXt which uses \backslash.


 I could not find it at first (there are so many things), but one solution I
 found:
 \startasciimode
 %\backslash setupbackend[export=yes,xhtml=yes,css=yes]
 \stopasciimode

 And while searching a little further I also found:
 \type{%\setupbackend[export=yes,xhtml=yes,css=yes]}

 This has the added benefit that it displays somewhat better because of the
 increased indentation (for which I misuse spaces).


 \setuptyping[margin=yes]

 \starttext

 before

 \starttyping
 \setupbackend[export=yes]
 \stoptyping

 after

 \stoptext


Very nice. I now use:
\setuptyping[

  blank=small,

  lines=no,

  margin=30pt,

]


I have a bigger margin now. The problem is that there is a lot of white
space above and under the typed text. I tried the blank and lines parameters
to get rid of it, but that does not work. How can I get rid of the unwanted
white space?


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

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com

  Do I understand correctly that '%% this is a comment' should not be in
 the PDF? Because it is when I compile the document.

 Yes, with \asciimode “%” is a normal character but to put comments in your
 document you can use “%%”.


Does not work on my side. Both percentage signs and the text after it are
displayed in my document.

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 17:29 schrieb Cecil Westerhof:

 2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com
 2011/8/15 Cecil Westerhof cldwester...@gmail.com
 While writing the documentation about using ConTeXt I need some 'special' 
 characters. A few I have found, for example \%, \backslash, \texttilde, 
 \percent. But until now I did not find how to represent [ and ]. How would I 
 use those characters in my document?
 
 Also: is there somewhere a 'complete' list? I found several, but they where 
 all for LaTeX and are not completely the same. For example LaTeX uses 
 \textbackslash which does not work in ConTeXt which uses \backslash.
 
 I could not find it at first (there are so many things), but one solution I 
 found:
 \startasciimode
 %\backslash setupbackend[export=yes,xhtml=yes,css=yes]
 \stopasciimode
 
 And while searching a little further I also found:
 \type{%\setupbackend[export=yes,xhtml=yes,css=yes]}
 
 This has the added benefit that it displays somewhat better because of the 
 increased indentation (for which I misuse spaces).
 
 \setuptyping[margin=yes]
 
 \starttext
 
 before
 
 \starttyping
 \setupbackend[export=yes]
 \stoptyping
 
 after
 
 \stoptext
 
 Very nice. I now use:
 \setuptyping[
   blank=small,
   lines=no,
   margin=30pt,
 ]
 
 I have a bigger margin now. The problem is that there is a lot of white space 
 above and under the typed text. I tried the blank and lines parameters to get 
 rid of it, but that does not work. How can I get rid of the unwanted white 
 space?

You need \setuptyping[margin=30pt,before=,after=].

Wolfgang

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 17:33 schrieb Cecil Westerhof:

 2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com
  Do I understand correctly that '%% this is a comment' should not be in the 
  PDF? Because it is when I compile the document.
 
 Yes, with \asciimode “%” is a normal character but to put comments in your 
 document you can use “%%”.
 
 Does not work on my side. Both percentage signs and the text after it are 
 displayed in my document.


Does this work?

\asciimode
\starttext
% this is visible %% and this is not
\stoptext

When you can read the text after “%%” you need a newer context.

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com

  Do I understand correctly that '%% this is a comment' should not be in
 the PDF? Because it is when I compile the document.

 Yes, with \asciimode “%” is a normal character but to put comments in your
 document you can use “%%”.


 Does not work on my side. Both percentage signs and the text after it are
 displayed in my document.


 Does this work?

 \asciimode
 \starttext
 % this is visible %% and this is not
 \stoptext

 When you can read the text after “%%” you need a newer context.


I can read it, but I doubt it that I need a newer ConTeXt. I just this
morning executed:
first-setup.bat --context=current --extras=al

It can not be much newer I would think.

When compiling, the output starts with:
mtx-context | run 1: luatex
--fmt=C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en
--lua=C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui
--backend=pdf ./manualInterflon

This is LuaTeX, Version beta-0.70.1-2011080612 (rev 4277)

\write18 enabled.

(manualInterflon.tex

ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.15 int: english/english

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster

Am 15.08.2011 um 18:05 schrieb Cecil Westerhof:

 2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com
  Do I understand correctly that '%% this is a comment' should not be in the 
  PDF? Because it is when I compile the document.
 
 Yes, with \asciimode “%” is a normal character but to put comments in your 
 document you can use “%%”.
 
 Does not work on my side. Both percentage signs and the text after it are 
 displayed in my document.
 
 
 Does this work?
 
 \asciimode
 \starttext
 % this is visible %% and this is not
 \stoptext
 
 When you can read the text after “%%” you need a newer context.
 
 I can read it, but I doubt it that I need a newer ConTeXt. I just this 
 morning executed:
 first-setup.bat --context=current --extras=al
 
 It can not be much newer I would think.
 
 ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.15 int: english/english

   ^^

You use a ConTeXt from May and comments for asciimode where added in Juli.

I guess you have TeXLive 2011 installed which interferes with ConTeXt 
Standalone.

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com

   Do I understand correctly that '%% this is a comment' should not be in
 the PDF? Because it is when I compile the document.

 Yes, with \asciimode “%” is a normal character but to put comments in
 your document you can use “%%”.


 Does not work on my side. Both percentage signs and the text after it are
 displayed in my document.


 Does this work?

 \asciimode
 \starttext
 % this is visible %% and this is not
 \stoptext

 When you can read the text after “%%” you need a newer context.


 I can read it, but I doubt it that I need a newer ConTeXt. I just this
 morning executed:
 first-setup.bat --context=current --extras=al

 It can not be much newer I would think.

 ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.15 int: english/english

^^

 You use a ConTeXt from May and comments for asciimode where added in Juli.


I overlooked the first date. :-{


I guess you have TeXLive 2011 installed which interferes with ConTeXt
 Standalone.


I thought I only installed ConTeXt Standalone. (The one from
http://minimals.contextgarden.net/setup/context-setup-mswin.zip.) How can I
find the problem?

I just checked with my version on Linux, there it works like it should. Now
I have to make sure it works also under Windows.

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

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
2011/8/15 Cecil Westerhof cldwester...@gmail.com

   Do I understand correctly that '%% this is a comment' should not be in
 the PDF? Because it is when I compile the document.

 Yes, with \asciimode “%” is a normal character but to put comments in
 your document you can use “%%”.


 Does not work on my side. Both percentage signs and the text after it are
 displayed in my document.


 Does this work?

 \asciimode
 \starttext
 % this is visible %% and this is not
 \stoptext

 When you can read the text after “%%” you need a newer context.


 I can read it, but I doubt it that I need a newer ConTeXt. I just this
 morning executed:
 first-setup.bat --context=current --extras=al

 It can not be much newer I would think.

 ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.15 int: english/english

^^

 You use a ConTeXt from May and comments for asciimode where added in Juli.


 I overlooked the first date. :-{


 I guess you have TeXLive 2011 installed which interferes with ConTeXt
 Standalone.


 I thought I only installed ConTeXt Standalone. (The one from
 http://minimals.contextgarden.net/setup/context-setup-mswin.zip.) How can
 I find the problem?

 I just checked with my version on Linux, there it works like it should. Now
 I have to make sure it works also under Windows.


I found the problem. On Windows I installed the current version (for a
client looks like the better option), while on Linux (where I work) I always
use the latest version.

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

Re: [NTG-context] list of all (even unused) abbreviations

2010-12-04 Thread Wolfgang Schuster

Am 04.12.2010 um 02:43 schrieb Jonas Stein:

 Provide a example where it doesn’t work, the \infull is to get
 the full text of the abbreviation in your text, e.g. \infull{VVV}.
 
 in the wiki is an example:
 http://wiki.contextgarden.net/Reference/en/definesynonyms
 
 i think [\infull] in line 
 \definesynonyms[abbreviation][abbreviations][\infull]
 is not necessary as it works in the example fine without it.

\abbreviation is predefined in the core and the \infull command
is there for a certain purpose:

\setupsynonyms[abbreviation][criterium=all]

\abbreviation{NASA}{National Aeronautics and Space Administration}
\abbreviation{UNO} {United Nations Organization}
\abbreviation{WHO} {World Health Organization}

\starttext

\NASA, \WHO: \infull{WHO}

\placelistofabbreviations

\stoptext

Wolfgang

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-12-02 Thread Wolfgang Schuster

Am 02.12.2010 um 02:52 schrieb Jonas Stein:

 It works now.
 I think i had a Problem with the line
 
 \definesynonyms[abbreviation][abbreviations][\infull]
 in Description on [1]
 
 Should i delete the [\infull] there? It works fine without it.

Provide a example where it doesn’t work, the \infull is to get
the full text of the abbreviation in your text, e.g. \infull{VVV}.

Wolfgang


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


Re: [NTG-context] list of all (even unused) abbreviations

2010-12-01 Thread Jonas Stein
 How can i get a list of _all_ (even unused) abbreviations?
 \placelistofabbreviations[criterium=all]
 
 that does not work here with mkiv
 i get the text
 [criterium=all]
 after the usual list of abbreviations.

 You need the setup command:

 \setupsynonyms[abbreviation][criterium=all]

 Example:

 \definesynonyms[test][tests]

 \setupsynonyms[test][criterium=all]

 \test{one}{1}
 \test{two}{2}

 \starttext

 \one

 \placelistoftests

 \stoptext


This example did not work on my pc and not on
http://live.contextgarden.net/

What could be wrong here?

-- 
Jonas Stein n...@jonasstein.de

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-12-01 Thread Wolfgang Schuster

Am 01.12.2010 um 20:58 schrieb Jonas Stein:

 This example did not work on my pc and not on
 http://live.contextgarden.net/
 
 What could be wrong here?

The context on the wiki provides only mkii and your installation is probably to 
old.

Wolfgang

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-12-01 Thread Jonas Stein
It works now.
I think i had a Problem with the line

\definesynonyms[abbreviation][abbreviations][\infull]
in Description on [1]

Should i delete the [\infull] there? It works fine without it.
I added an example now.

[1] http://wiki.contextgarden.net/Reference/en/definesynonyms

-- 
Jonas Stein n...@jonasstein.de

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-11-30 Thread Wolfgang Schuster

Am 29.11.2010 um 21:23 schrieb Jonas Stein:

 How can i get a list of _all_ (even unused) abbreviations?
 \placelistofabbreviations[criterium=all]
 
 that does not work here with mkiv
 i get the text
 [criterium=all]
 after the usual list of abbreviations.

You need the setup command:

\setupsynonyms[abbreviation][criterium=all]

Example:

\definesynonyms[test][tests]

\setupsynonyms[test][criterium=all]

\test{one}{1}
\test{two}{2}

\starttext

\one

\placelistoftests

\stoptext

Wolfgang

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-11-29 Thread Wolfgang Schuster

Am 29.11.2010 um 20:33 schrieb Jonas Stein:

 
 The Wiki [1] says: 
 If you want to put a list of the abbreviations used in your document you can 
 type: \placelistofabbreviations
 
 How can i get a list of _all_ (even unused) abbreviations?

\placelistofabbreviations[criterium=all]

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


Re: [NTG-context] list of all (even unused) abbreviations

2010-11-29 Thread Jonas Stein
 How can i get a list of _all_ (even unused) abbreviations?
 \placelistofabbreviations[criterium=all]

that does not work here with mkiv
i get the text
[criterium=all]
after the usual list of abbreviations.

-- 
Jonas Stein n...@jonasstein.de

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


Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-05 Thread Nicola
In article 4c2dceb2.90...@elvenkind.com,
 Taco Hoekwater t...@elvenkind.com wrote:

 On 07/02/2010 01:26 PM, Nicola wrote:
 
  \usemodule[bib]
  \setupbibtex[database=mypublications]
  \starttext
  \placepublications[criterium=all]
  \stoptext
  \end
 
  What can I check next?
 
 You could try adding some text or even a section command.
 At some point it should start working (probably even without
 an explicit \cite anywhere). Nevertheless, it looks like a bug.

Unfortunately, adding text or sectioning command doesn't help. Today I 
have updated ConTeXt Minimals as usual, using sh ./first-setup.sh, but 
the version I've got is 2010.05.24 (whereas I had 2010.06.10). Why?

Needless to say, I don't get any output yet. Since nobody has confirmed 
that the problem I have described can be reproduced, I must infer that 
it is something related to my particular setup. So, I will provide more 
details on my configuration (sorry for the verbosity), hoping that 
someone will spot something that should be fixed.

Under the latest Mac OS X, I use both (stable) ConTeXt from TeX Live 
2009 and an installation of ConTeXt Minimals (beta) in 
~/Library/texmf/context-minimals.

This is how I update ConTeXt in TeX Live, step by step:

1) update the ConTeXt distribution to the latest stable release:

sudo rsync -av 
rsync://contextgarden.net/minimals/current/context/current/ 
/usr/local/texlive/2009/texmf-dist/

2) Update LuaTeX executable:

sudo rsync -av 
rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/l
uatex /usr/local/texlive/2009/bin/universal-darwin/

3) Re-build LuaTeX format files:

cd /usr/local/texlive/2009/texmf-var/web2c/luatex
sudo luatex -ini luatex.ini
sudo luatex -ini lualatex.ini
sudo luatex -ini dviluatex.ini
sudo luatex -ini dvilualatex.ini

4) Update XeTeX executable:

sudo rsync -av 
rsync://contextgarden.net/minimals/current/bin/xetex/osx-universal/bin/xe
tex /usr/local/texlive/2009/bin/universal-darwin/

5) Re-build XeTeX format files:

sudo fmtutil-sys --byfmt xelatex
sudo fmtutil-sys --byfmt xetex

7) Update MetaPost executable:

sudo rsync -av 
rsync://contextgarden.net/minimals/current/bin/metapost/osx-universal/bin
/mpost /usr/local/texlive/2009/bin/universal-darwin/

8) Update MetaPost format files:

sudo fmtutil-sys --byfmt mpost
sudo fmtutil-sys --byfmt metafun
cd /usr/local/texlive/2009/texmf-var/web2c/metapost/
sudo mpost -ini mfplain dump

9) Fix permissions of some executables (I always have to do this: is it 
a known bug?)

cd /usr/local/texlive/2009/texmf-dist/scripts/context/lua
sudo chmod +x luatools.lua mtxrun.lua
cd /usr/local/texlive/2009/texmf-dist/scripts/context/perl
sudo chmod +x *.pl
cd /usr/local/texlive/2009/texmf-dist/scripts/context/stubs/unix/
sudo chmod +x *

10) Update MKII format files:

sudo mktexlsr
sudo -H texexec --make --all
sudo -H texexec --make --xtx --all

(here I use -H because I want the format files to be written under 
/usr/local/texlive and not in ~/Library/texmf/web2c)

11) Update MKIV format files:

luatools --generate
context --make

Note that these last two commands are run without sudo, because I have 
chosen to have luatex-cache under ~/Library/texmf, so I have added

export TEXMFCACHE=~/Library/texmf

to my .profile.

And here is how I update ConTeXt Minimals:

0) Move to the right directory:

cd ~/Library/texmf/context-minimals

1) Update first-setup.sh:

curl -o first-setup.sh 
http://minimals.contextgarden.net/setup/first-setup.sh

2) Update ConTeXt Minimals:

sh ./first-setup.sh --extras=all

3) Set environment variables (I do this every time before using ConTeXt 
Minimals of course):

source ./tex/setuptex
export TEXMFCACHE=$TEXROOT/texmf-cache

Note that I also change TEXMFCACHE, not to conflict with stable ConTeXt.

4) Re-build format files:

mktexlsr
texexec --make --all
texexec --make --xtx --all
luatools --selfupdate
mtxrun --selfupdate
luatools --generate
context --make
texexec --make mpost

That's it.

A last remark: I have noticed that I have a .texlive2009 folder in my 
home folder, with the following content:

texmf-var/texdoc/cache-tlpdb.lua
texmf-var/web2c/pdftex/pdftex.fmt
texmf-var/web2c/pdftex/pdftex.log

Is it safe to delete?

Nicola

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


Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-02 Thread Taco Hoekwater

On 07/02/2010 12:37 PM, Nicola wrote:

Hi, the following code results in an empty output when typeset by MKIV
on my system:

\usemodule[bib]
\setuppublications[criterium=all]
\setupbibtex[database=mypublications]
\starttext
\placepublications
\stoptext
\end

The same code typeset with MKII produces the list of all bibliography
items in the .bib file, as expected. Is it a bug or is MKIV different in
some respect? If it is a bug, is there a workaround?


\placepublications[criterium=all]

Best wishes,
Taco
___
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
___


Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-02 Thread Nicola
In article 4c2dc522.9040...@elvenkind.com,
 Taco Hoekwater t...@elvenkind.com wrote:

 On 07/02/2010 12:37 PM, Nicola wrote:
  Hi, the following code results in an empty output when typeset by MKIV
  on my system:
 
  \usemodule[bib]
  \setuppublications[criterium=all]
  \setupbibtex[database=mypublications]
  \starttext
  \placepublications
  \stoptext
  \end
 
  The same code typeset with MKII produces the list of all bibliography
  items in the .bib file, as expected. Is it a bug or is MKIV different in
  some respect? If it is a bug, is there a workaround?
 
 \placepublications[criterium=all]

Shouldn't that have the same effect as 
\setuppublications[criterium=all]? In any case, I still get no output. I 
have also run (again)

luatools --selfupdate
mtxrun --selfupdate 
luatools --generate
context --make

but I get no output yet. Then, I have tried to typeset with my ConTeXt 
Minimals installation (ConTeXt  ver: 2010.06.10 15:24 MKIV), with the 
same result (no output). But with ConTeXt Minimals MKII, the output is 
fine (even without following your suggestion). Btw, in both versions of 
MKII, the following does *not* produce a list of publications:

\usemodule[bib]
\setupbibtex[database=mypublications]
\starttext
\placepublications[criterium=all]
\stoptext
\end

What can I check next?

Nicola

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


Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-02 Thread Taco Hoekwater

On 07/02/2010 01:26 PM, Nicola wrote:


\usemodule[bib]
\setupbibtex[database=mypublications]
\starttext
\placepublications[criterium=all]
\stoptext
\end

What can I check next?


You could try adding some text or even a section command.
At some point it should start working (probably even without
an explicit \cite anywhere). Nevertheless, it looks like a bug.

Best wishes,
Taco
___
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
___


Re: [NTG-context] List of fonts that comes with context minimals

2009-08-18 Thread Taco Hoekwater


Curiouslearn wrote:
 Hi,
 
 I wanted to check the fonts that are properly installed with (that come
 with)  the default installation of Context Minimals. As mentioned on the
 Context Garden, I entered the following command at the terminal prompt
 
 * mtxrun --script fonts --list *
 
 After doing some things, the terminal gives me the following message:
 
 *font loading failed for /System/Library/Fonts/Keyboard.dfont

This message is ok. Keyboard.dfont is not a normal font. mkiv could
skip it during the iteration just to prevent frightening users, but
nothing bad or unexpected is happening.

Best wishes,
Taco

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of fonts that comes with context minimals

2009-08-18 Thread Curiouslearn
Hi Taco,

Thanks for replying. Sorry for not being clear. The main problem is that I
do not get any list with fonts. So I do not know which fonts I can use,
other than the default font. Please see below for the complete message that
the terminal gives me.

MTXrun | fontnames: identifying tree font files with suffix otf
MTXrun | fontnames: identifying tree font files with suffix OTF
MTXrun | fontnames: 161 tree files identified, 161 hash entries added,
runtime 0.080 seconds
MTXrun | fontnames: identifying tree font files with suffix ttf
MTXrun | fontnames: identifying tree font files with suffix TTF
MTXrun | fontnames: 5 tree files identified, 5 hash entries added, runtime
0.058 seconds
MTXrun | fontnames: identifying tree font files with suffix ttc
MTXrun | fontnames: identifying tree font files with suffix TTC
MTXrun | fontnames: 0 tree files identified, 0 hash entries added, runtime
0.053 seconds
MTXrun | fontnames: identifying tree font files with suffix dfont
MTXrun | fontnames: identifying tree font files with suffix DFONT
MTXrun | fontnames: 0 tree files identified, 0 hash entries added, runtime
0.054 seconds
MTXrun | fontnames: identifying tree font files with suffix afm
MTXrun | fontnames: identifying tree font files with suffix AFM
MTXrun | fontnames: 76 tree files identified, 65 hash entries added, runtime
0.134 seconds
MTXrun | fontnames: identifying system font files with suffix otf
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.otf
MTXrun | fontnames: globbing path /Library/Fonts/**.otf
MTXrun | fontnames: globbing path /System/Library/Fonts/**.otf
MTXrun | fontnames: identifying system font files with suffix OTF
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.OTF
MTXrun | fontnames: globbing path /Library/Fonts/**.OTF
MTXrun | fontnames: globbing path /System/Library/Fonts/**.OTF
MTXrun | fontnames: 14 system files identified, 14 hash entries added,
runtime 0.015 seconds
MTXrun | fontnames: identifying system font files with suffix ttf
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.ttf
MTXrun | fontnames: globbing path /Library/Fonts/**.ttf
MTXrun | fontnames: globbing path /System/Library/Fonts/**.ttf
MTXrun | fontnames: identifying system font files with suffix TTF
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.TTF
MTXrun | fontnames: globbing path /Library/Fonts/**.TTF
MTXrun | fontnames: globbing path /System/Library/Fonts/**.TTF
MTXrun | fontnames: 159 system files identified, 185 hash entries added,
runtime 0.097 seconds
MTXrun | fontnames: identifying system font files with suffix ttc
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.ttc
MTXrun | fontnames: globbing path /Library/Fonts/**.ttc
MTXrun | fontnames: globbing path /System/Library/Fonts/**.ttc
MTXrun | fontnames: identifying system font files with suffix TTC
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.TTC
MTXrun | fontnames: globbing path /Library/Fonts/**.TTC
MTXrun | fontnames: globbing path /System/Library/Fonts/**.TTC
MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime
0.007 seconds
MTXrun | fontnames: identifying system font files with suffix dfont
MTXrun | fontnames: globbing path /Users/blbgse/Library/Fonts/**.dfont
MTXrun | fontnames: globbing path /Library/Fonts/**.dfont
MTXrun | fontnames: globbing path /System/Library/Fonts/**.dfont
font loading failed for /System/Library/Fonts/Keyboard.dfont

Thanks.



On Tue, Aug 18, 2009 at 11:16 AM, Taco Hoekwater t...@elvenkind.com wrote:



 Curiouslearn wrote:
  Hi,
 
  I wanted to check the fonts that are properly installed with (that come
  with)  the default installation of Context Minimals. As mentioned on the
  Context Garden, I entered the following command at the terminal prompt
 
  * mtxrun --script fonts --list *
 
  After doing some things, the terminal gives me the following message:
 
  *font loading failed for /System/Library/Fonts/Keyboard.dfont

 This message is ok. Keyboard.dfont is not a normal font. mkiv could
 skip it during the iteration just to prevent frightening users, but
 nothing bad or unexpected is happening.

 Best wishes,
 Taco


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

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

Re: [NTG-context] List of fonts that comes with context minimals

2009-08-18 Thread Taco Hoekwater


Curiouslearn wrote:
 Hi Taco,
 
 Thanks for replying. Sorry for not being clear. The main problem is that
 I do not get any list with fonts. 

Ah! You need an (even) newer luatex trunk.

I'll try to do a luatex release tomorrow, btw.

Best wishes,
Taco

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of fonts that comes with context minimals

2009-08-18 Thread Curiouslearn
Thanks Taco. After you release a new Luatex version tomorrow, I will update
my Context installation (to the beta version).

Thanks so much.

On Tue, Aug 18, 2009 at 11:23 AM, Taco Hoekwater t...@elvenkind.com wrote:



 Curiouslearn wrote:
  Hi Taco,
 
  Thanks for replying. Sorry for not being clear. The main problem is that
  I do not get any list with fonts.

 Ah! You need an (even) newer luatex trunk.

 I'll try to do a luatex release tomorrow, btw.

 Best wishes,
 Taco


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of all math macros

2009-07-16 Thread Aditya Mahajan

On Thu, 16 Jul 2009, Hans Hagen wrote:


Maurí­cio wrote:

Is there a command that prints all math macros
available in ConTeXt?


http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros


I think \showmathcharacters is not supposed to
work anymore.


most of those tests are modules in mkiv (s-fnt-25 has some math listing 
macros; in these lists you can also see dependencies, size chains etc)


For example, in MkIV you can use

\usemodule[fnt-25]

\starttext
\showmathfontcharacters
\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of all math macros

2009-07-15 Thread Hans Hagen

Maurí­cio wrote:

Is there a command that prints all math macros
available in ConTeXt?


http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros


I think \showmathcharacters is not supposed to
work anymore.


most of those tests are modules in mkiv (s-fnt-25 has some math listing 
macros; in these lists you can also see dependencies, size chains etc)


Hans

-
  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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of all math macros

2009-07-13 Thread Aditya Mahajan

On Thu, 9 Jul 2009, Maurí­cio wrote:


Is there a command that prints all math macros
available in ConTeXt?


http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of all math macros

2009-07-13 Thread Maurí­cio

Is there a command that prints all math macros
available in ConTeXt?


http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros


I think \showmathcharacters is not supposed to
work anymore.

Maurício

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] list of images with bibliography

2009-02-09 Thread Taco Hoekwater

Mojca Miklavec wrote:

Hello,

I would like to create a normal list with bibliography (list of
sources used in an article) + a list of figures, approximately like
this:

List of Figures

Figure 1: http://wiki.contextgarden.net/skins/common/images/logo_circ_small.png
Figure 2: Important, the Author: History of Everything. Town.
Publisher. Year. Page 3
Figure 3: (drawn by author)
Figure 4: Important, the Author: History of Everything. Town.
Publisher. Year. Page 42
Figure 5: http://yet.another.url/image.png

I will probably do it by hand (it will take me less time than trying
to figure out the trick to do it), but I'm wondering if bib module
allows something similar to this: keeping track of two bibliographf
lists and then make a similar summary.


No, it can't. There is only one publication list.

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] list bug when using margin?

2008-08-01 Thread Wolfgang Schuster

Am 01.08.2008 um 18:53 schrieb Gerben Wierda:

 The following list

 \startitemize[n,packed,joinedup]
 \item A is larger than B.
 \item B is larger than C.
 \item Therefore, A is larger than C.
 \stopitemize

 displays fine except it is not indented. So I added:

 \startitemize[n,packed,joinedup,margin=4em]

\startitemize[n,packed,joinedup][margin=4cm]

 \item A is larger than B.
 \item B is larger than C.
 \item Therefore, A is larger than C.
 \stopitemize

 and as a result, the list was not enumerated and it was not packed or
 joined up. Bug? Or misunderstanding?

You can mix both setup methods in LaTeX but not in ConTeXt.

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] list bug when using margin?

2008-08-01 Thread Aditya Mahajan
On Fri, 1 Aug 2008, Gerben Wierda wrote:

 The following list

 \startitemize[n,packed,joinedup]
 \item A is larger than B.
 \item B is larger than C.
 \item Therefore, A is larger than C.
 \stopitemize

 displays fine except it is not indented. So I added:

 \startitemize[n,packed,joinedup,margin=4em]
 \item A is larger than B.
 \item B is larger than C.
 \item Therefore, A is larger than C.
 \stopitemize

 and as a result, the list was not enumerated and it was not packed or
 joined up. Bug? Or misunderstanding?

Try,

\startitemize[n,packed,joinedup][margin=4em]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] List of special characters?

2006-12-28 Thread cormullion
I'm really struggling to get this working... I've got some keywords  
which i want to mark in the text with a special style:

--
\starttext
\usetypescript[adobekb][\defaultencoding]
\setupbodyfont[pos,9pt]
\setupcolors[state=start]
\define[1]\Keyword{%
{\startcolor[darkgreen]\bf{#1}\stopcolor}}


\chapter{Introduction}
\Keyword{if}

blah blah blah blah blah

\Keyword{for}

blah blah blah
--

This works great. But then I've got the following keywords:

# ! | \ @ ^ + - * /  %

Of these, i can get half of them to work:

--
\Keyword{\#}
\Keyword{\percent}
\Keyword{\}
\Keyword{\backslash}
[EMAIL PROTECTED]
\Keyword{/}
--

but i can't get any of the the remaining ones ( ! | ^ + - *  ) to.  
Any suggestions would be very welcome!

I was then going to go on to add an indexing command:

\define[1]\Keyword{%
{\startcolor[darkgreen]\bf{#1}\stopcolor}
 \index{#1}}

but this wasn't working either...

Help!



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread Mojca Miklavec
On 12/28/06, [EMAIL PROTECTED] wrote:

 This works great. But then I've got the following keywords:

 # ! | \ @ ^ + - * /  %

Just copied from Aditya's code :)

\letterhash, \#
\letterexclamationmark
\letterbar
\letterbackslash
\letterat
\letterhat
\letterslash
\letterpercent, \%
\letterless
\lettermore
\letterampersand, \
\letteropenbrace, \{
\letterclosebrace, \}
etc.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread cormullion
On 2006-12-28, at 13:15.0, Mojca Miklavec wrote:

 On 12/28/06, [EMAIL PROTECTED] wrote:

 This works great. But then I've got the following keywords:

 # ! | \ @ ^ + - * /  %

 Just copied from Aditya's code :)

 \letterhash, \#
 \letterexclamationmark
 \letterbar
 \letterbackslash
 \letterat
 \letterhat
 \letterslash
 \letterpercent, \%
 \letterless
 \lettermore
 \letterampersand, \
 \letteropenbrace, \{
 \letterclosebrace, \}

Thanks - they all work great!

A worthy addition to the manual...?!  :-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread Idris Samawi Hamid
On Thu, 28 Dec 2006 07:00:07 -0700, [EMAIL PROTECTED] wrote:

 Just copied from Aditya's code

 \letterhash, \#
 \letterexclamationmark
 \letterbar
 \letterbackslash
 \letterat
 \letterhat
 \letterslash
 \letterpercent, \%
 \letterless
 \lettermore
 \letterampersand, \
 \letteropenbrace, \{
 \letterclosebrace, \}
 Thanks - they all work great!
 A worthy addition to the manual...?!

At least some mention should be made on the wiki (if it's already there  
please tell us where)...

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread cormullion
I've just discovered the command \showcharacters. It's not in the  
manuals, but useful for showing some of the characters available.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-25 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
 Is there a list of special characters anywhere (eg \percent,  
 \upperleftsingle6quote, etc) ? I'm trying to insert a |, at the  
 moment, but I can't find a list...

I don't know if there is a list out there somewhere by a user, but
there is no 'official' one that I know of. Sounds like you are
looking for \textbar (found by grepping for \definecharacter in
the ConTeXt sources).

Best, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-25 Thread pete . boardman
On 2006-12-25, at 10:46.0, Taco Hoekwater wrote:

 [EMAIL PROTECTED] wrote:
 Is there a list of special characters anywhere (eg \percent,
 \upperleftsingle6quote, etc) ? I'm trying to insert a |, at the
 moment, but I can't find a list...

 I don't know if there is a list out there somewhere by a user, but
 there is no 'official' one that I know of. Sounds like you are
 looking for \textbar (found by grepping for \definecharacter in
 the ConTeXt sources).

Thanks Taco - textbar is indeed the one. I'll do some more searching  
and find the rest. But a list sounds like a nice thing to have...


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-25 Thread Mojca Miklavec
On 12/25/06, [EMAIL PROTECTED] wrote:
 On 2006-12-25, at 10:46.0, Taco Hoekwater wrote:

  [EMAIL PROTECTED] wrote:
  Is there a list of special characters anywhere (eg \percent,
  \upperleftsingle6quote, etc) ? I'm trying to insert a |, at the
  moment, but I can't find a list...
...
 Thanks Taco - textbar is indeed the one. I'll do some more searching
 and find the rest. But a list sounds like a nice thing to have...

There's a file contextnames.txt in the ConTeXt tree, see
http://source.contextgarden.net/context/data/contextnames.txt
Or a html version of it on
http://pub.mojca.org/tex/enco/contextlist/contextnames.html
- sorry, I should find a better place for it. However, there's only
the most common name listed (some glyphs have synonyms and they're not
collected there).

If you have any comments or suggestions, feel free to tell them.

Moca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] list ?

2006-10-20 Thread Hans Hagen
Renaud AUBIN wrote:

 Hi all,

 Considering the fact that I have no answer for the thread 
 [NTG-context] Presentation style: customizing the right interaction 
 menu (list-related thread), I decided to reformulate my problem...

 After some experiments, I have the following code:

 \definehead [Topic]   [chapter]
 \definehead [Subject] [section]

 \setuplist[Topic][alternative=f,criterium=all,align=left]
 \setuplist[Subject][alternative=f,criterium=chapter,align=left]

 \starttext

 \Topic{Topic 1}
 \Subject{Subject 1}
 \Subject{Subject 2}
 \Subject{Subject 3}

 \placelist[Topic,Subject]

 \Topic{Topic 2}
 \Subject{Subject 1}
 \Subject{Subject 2}
 \Subject{Subject 3}

 \stoptext

 Considering the fact that I use criterium=chapter in 
 \setuplist[Subject], I thought that \placelist[Topic,Subject] leads to:

 Topic 1
 Subject 1
 Subject 2
 Subject 3
 Topic 2

 but unfortunately, that's not the case and I don't understand why... 
 I've also tried some setup with combinedlist but nothing works... 
 Could someone explain why criterium as no effect... Moreover, I don't 
 understand what coupling= on|off does...
maybe future version of context will provide more control; for the moment, 
stick to:  


\definehead [Topic]   [chapter]
\definehead [Subject] [section]

\newcounter\MyTopicCounter

\startsetups MyTopicList
\blank
\doglobal\increment\MyTopicCounter
\doglobal\newcounter\MySubjectCounter
\placelist[Topic][criterium=text,after=\setups{MySubjectList}]
\stopsetups
\startsetups MySubjectList
\doglobal\increment\MySubjectCounter
\doifelse{\MyTopicCounter}{\MySubjectCounter} {
\placelist[Subject]
} {
% whatever
}
\stopsetups

\starttext

\Topic{first}  \Subject{one}   test \Subject{two}  test \setups[MyTopicList] 
\page
\Topic{second} \Subject{alpha} test \Subject{beta} test \setups[MyTopicList] 
\page

\stoptext


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] list ?

2006-10-20 Thread Renaud AUBIN




Hi Hans,

I succeed to do what I want thanks to you (once more ;) ) !

I'll put the resulting presentation online at least at the end of the
next week (u3d + layer + custom pre-original + animation with JS and
fieldstack + program runs including mplayer runs with linux + ...
robotics ?)

Renaud

Hans Hagen a crit:

  maybe future version of context will provide more control; for the moment, stick to:  


\definehead [Topic]   [chapter]
\definehead [Subject] [section]

\newcounter\MyTopicCounter

\startsetups MyTopicList
\blank
\doglobal\increment\MyTopicCounter
\doglobal\newcounter\MySubjectCounter
\placelist[Topic][criterium=text,after=\setups{MySubjectList}]
\stopsetups
\startsetups MySubjectList
\doglobal\increment\MySubjectCounter
\doifelse{\MyTopicCounter}{\MySubjectCounter} {
\placelist[Subject]
} {
% whatever
}
\stopsetups

\starttext

\Topic{first}  \Subject{one}   test \Subject{two}  test \setups[MyTopicList] \page
\Topic{second} \Subject{alpha} test \Subject{beta} test \setups[MyTopicList] \page

\stoptext
  




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of Formulas

2006-05-10 Thread Hans Hagen
nico wrote:
 On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

   
 nico wrote:
 
 Hello,

 Is it possible to display a list of the numbered formulas (done with
 \placeformula)? I tried \placelist[formula] without success.

   
 you want to see the formulas too?
 

 Well, no, i just wanted a list, like a list of tables, figures, or  
 enumerations, with the pages where they appear. But ok, since it is not  
 available by default, i can put each formula in a specific Equation  
 enumeration an then do a \placelist[enumeration:Equation].
   
but formulas don't have 'names' so what does such al list look like? 

it should not be too hard to add a feature of named formulas combined with a 
regular list

Hans 


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of Formulas

2006-05-10 Thread Hans Hagen
nico wrote:
 On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

   
 nico wrote:
 
 Hello,

 Is it possible to display a list of the numbered formulas (done with
 \placeformula)? I tried \placelist[formula] without success.

   
 you want to see the formulas too?
 

 Well, no, i just wanted a list, like a list of tables, figures, or  
 enumerations, with the pages where they appear. But ok, since it is not  
 available by default, i can put each formula in a specific Equation  
 enumeration an then do a \placelist[enumeration:Equation].
   
well, it takes only a few lines to have lists of formulas; you can then typeset 
the lists the way you want 


\unprotect

\def\dododoformulanumber#1#2#3#4% 
   \ifconditional\handleformulanumber
 \ifconditional\incrementformulanumber
   \incrementnumber[\v!formula]%
 \fi
 \makesectionnumber[\v!formula]%
 \setbox0\hbox{\ignorespaces#2\unskip}%
 \ifdim\wd0\zeropoint
   \edef\hetsubnummer{#2}%
 \else
   \let\hetsubnummer\empty
 \fi
 \doifsomething{#1}
{\rawreference{\s!for}{#1}{\composedsectionnumber\hetsubnummer}}%
 \setbox0\hbox{\ignorespaces#4\unskip}%
 \ifdim\wd0\zeropoint
   \edef\hetsubnummer{#4}%
 \fi
 \doifsomething{#3}
{\rawreference\s!for{#3}{\composedsectionnumber\hetsubnummer}}%
 \rm % nodig ?
 \doif{\formulaparameter\c!location}
\v!right{\hskip\formuladistance}%
 \@@fmnumbercommand
   {\dostartattributes\??fm\c!numberstyle\c!numbercolor
\strut
\@@fmleft
\preparethenumber\??fm\composedsectionnumber\preparednumber
\doflushformulalistentry{\composedsectionnumber\hetsubnummer}%
\labeltexts\v!formula
  {\ignorespaces\preparednumber
\ignorespaces\hetsubnummer\unskip}%
\@@fmright
\dostopattributes}%
  \doif{\formulaparameter\c!location}
\v!left{\hskip\formuladistance}%
   \fi
   \egroup}

% new: 

\definelist[\v!formula]

\global\let\doflushformulalistentry\gobbleoneargument

\def\placenamedformula[#1]#2%
  {\gdef\doflushformulalistentry##1%
 {\expanded{\writetolist[\v!formula]{##1}}{#2}%
  \global\let\doflushformulalistentry\gobbleoneargument}%
   \placeformula[#1]}


\starttext

\placelist[formula][criterium=text]

\placenamedformula[x]{oeps}
\startformula
a = 1
\stopformula

\placeformula
\startformula
a = 2
\stopformula

\placenamedformula[y]{more oeps}
\startformula
a = 3
\stopformula

\stoptext


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of Formulas

2006-05-09 Thread Hans Hagen
nico wrote:
 Hello,

 Is it possible to display a list of the numbered formulas (done with  
 \placeformula)? I tried \placelist[formula] without success.
   
you want to see the formulas too? 

\defineblock[formula]

\starttext

\beginformula
\placeformula
\startformula
a = 1
\stopformula
\endformula

\startformula
a = 2
\stopformula

\beginformula
\placeformula
\startformula
a = 3
\stopformula
\endformula

\page

\resetnumber[formula]

\useblocks[formula]

\stoptext

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of Formulas

2006-05-09 Thread nico
On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:

 nico wrote:
 Hello,

 Is it possible to display a list of the numbered formulas (done with
 \placeformula)? I tried \placelist[formula] without success.

 you want to see the formulas too?

Well, no, i just wanted a list, like a list of tables, figures, or  
enumerations, with the pages where they appear. But ok, since it is not  
available by default, i can put each formula in a specific Equation  
enumeration an then do a \placelist[enumeration:Equation].

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-26 Thread Henning Hraban Ramm

Am 2006-03-25 um 14:36 schrieb Thomas A. Schmitz:
 Does that do what you want: http://www.tug.org/utilities/plain/ 
 cseq.html

Great! Perhaps not what the OP was looking for, but what I wanted for  
a long while!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-25 Thread Hans Hagen
Nikolai Weibull wrote:
 Hi!

 Is there a list of builtin TeX commands anywhere on the net?  I need
 it for a syntax definition of  the plain TeX format.

 With builtin TeX commands I mean stuff like \def, \global, and such.

 A list of commands defined in plain.tex would be great as well, but at
 least that's easier to compile by myself, as I can just look in the
 actual file.

 The tex source is a bit harder to overview...
   
if you look into the scit eproperties files that ship with context, you will 
fond such lists (although the pdftex list is incomplete) 

we can always extend ctxtools (which can generate syntax files for some 
editors) to provide these lists as well  

Hans 

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-25 Thread Thomas A. Schmitz

On Mar 25, 2006, at 11:41 AM, Nikolai Weibull wrote:

 Hi!

 Is there a list of builtin TeX commands anywhere on the net?  I need
 it for a syntax definition of  the plain TeX format.

Does that do what you want: http://www.tug.org/utilities/plain/cseq.html

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-25 Thread John R. Culleton
On Saturday 25 March 2006 07:35, Hans Hagen wrote:
 Nikolai Weibull wrote:
  Hi!
 
  Is there a list of builtin TeX commands anywhere on the net?  I need
  it for a syntax definition of  the plain TeX format.
 
  With builtin TeX commands I mean stuff like \def, \global, and such.
 
  A list of commands defined in plain.tex would be great as well, but at
  least that's easier to compile by myself, as I can just look in the
  actual file.
 
  The tex source is a bit harder to overview...

 if you look into the scit eproperties files that ship with context, you
 will fond such lists (although the pdftex list is incomplete)

 we can always extend ctxtools (which can generate syntax files for some
 editors) to provide these lists as well

 Hans

I suggest:

_The TeXBook_ (you have the source probably.)
_TeX for the Impatient_ (free on internet.)
_TeX by Topic_ (free on the internet.)

All these books have useful indexes. _TeX for the Impatient_ has
a separate list of commands with page references. _TeX by Topic_
has a glossary of just the primitives. 

TeX primitives (as opposed to plain tex additions) are
distinguished in the first two books by asterisks.  

The remaining need is the list of pdftex additions, and these are
listed on page 15ff of _the PDFTeX User Manual_. 

However having one or more of these books available may obviate the need
to compile your own syntax definition list. 

-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-25 Thread Karsten Heymann

Nikolai Weibull schrieb:

Is there a list of builtin TeX commands anywhere on the net?


TeXbook, chapters 24-26, should be fairly complete. The source file is
freely availabe (http://ctan.org/tex-archive/systems/knuth/tex/), but
you may not process it with tex.

Yours,
Karsten


signature.asc
Description: PGP signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-25 Thread Taco Hoekwater
Karsten Heymann wrote:
 Nikolai Weibull schrieb:
 
 Is there a list of builtin TeX commands anywhere on the net?
 
 TeXbook, chapters 24-26, should be fairly complete. The source file is
 freely availabe (http://ctan.org/tex-archive/systems/knuth/tex/), but
 you may not process it with tex.

All of TeX's primitives can be found by

   grep '^primitive\(' tex.web

similar solutions are there for etex and pdftex, but in
etex a few primitives depend on runtime configuration, so
you have to be careful (\beginL \beginr)

Cheers, taco


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of figures with shorter captions

2005-05-30 Thread Michael Fuchs
Hi!

You can use the \nolist{} command within the caption for parts, that shouldn't 
go in the list of figures:

f.ex:

 \placefigure [here][fig:Res_FlussSkalierungsfaktor]
{This is a caption. \nolist{This part of the caption will not be
  listed in the list of figures.}}
{\externalfigure[ResDat32_PhiProton2][width=100mm]}

Instead the part within \nolist will be replaced by ... (3 dots).
If you want to change this default behaviour use the limittext-option as 
shown in the following example.

\placelistoffigures[before=\blank,criterium=all,limittext={}]


Best Regards

Michael

 Hello all,

 I'm busy with writing a paper for university and the teachers ordered me
 to include a List of Figures. So now I'm using \completelistoffigures to get
 the list of figures.

 However, my captions with the figures are quite long so I was wondering if
 it's possible to let ConTeXt write a different text to the List of Figures.
 I thought something similar was possible with the Table of Contents and the
 \chapter command, but I cannot remember how...maybe I imagined.

 So is it possible to write a different text to the LoF? I use
 \placefigure[here]{This is my very long caption} {\externalfigure[myfigure]}
 to place my figures in the text.

 I've experimented with using \writetolist[figure]{1}{short caption} to write
 a text to the LoF, but there are some problems with that method. (the figure
 can be placed on a different page than the \writetolist, and I'll need a way
 to stop ConTeXt writing the caption text to the list as well).

 Any ideas?

 My best,
 Tim


 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



-- 
Mit freundlichen Grüßen
Michael Fuchs
mailto:[EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of figures with shorter captions

2005-05-30 Thread Nikolai Weibull
Tim 't Hart wrote:

  I was wondering if it's possible to let ConTeXt write a different
 text to the List of Figures.

See http://www.pragma-ade.com/general/magazines/mag-0001.pdf,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context