Re: [NTG-context] 3D PDF support (AKA asymptote support)

2009-06-06 Thread luigi scarso
On Sat, Jun 6, 2009 at 6:07 AM, Michail Vidiassov mas...@iaas.msu.ruwrote:

 Dear Luigi,

 On Fri, 5 Jun 2009, luigi scarso wrote:

 Asymptote may be a better choice since it supports newer PRC 3D
 format


  Ouch, another new 3D format! This will never end. I bet no valuable Open
 Source modeler (i.e. blender) support this one. The fact that asy
 supports PRC is good but I have no illusion about the conclusion of the 3d
 formats' war (just an endless pain for developpers)...

 Asymptote has a prc dir
  asymptote-1.75/prc
 maybe can be a lib too..




 To say the truth Adobe Acrobat SDK has PRC API in it, but it is
 Windows-only, goes for big-$$$ and for that is Not licensed to run in a
 batch or server mode.

simple hacks to Makefiles in prc dir of Asymptote permit
to compile
test and PRCTools/makePRC



 As to the role of Adobe in 3D formats war - it reminds me of a quote
 attributed to a North Vietnamese general: You Americans have fast choppers
 and jeeps, so you can rapidly move troops to the point of engagemment. But
 we are _already_ there!. The installed base of Adobe Readers may be a new
 factor in that endless Tweedle D.* free-for-all ;)

on linux
Acrobat 9 SDK/Version
1/InterAppCommunicationSupport/CSamples/ReadPdfPrcVC/SampleFile/mower_carb.pdf
crash acroread9
but not acroread8.

-- 
luigi
___
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] ppchtex experience

2009-06-06 Thread Alan BRASLAU
On Monday 20 April 2009 17:27:42 Helge Kruse wrote:
 Hello,

 I need to write some chemical strucutures in LaTeX and dont know, what is
 the best tools to do it. The structures are crown ether and cryptands. Yes,
 and I am unexperienced.

 1) What would be the way to write a [18]crown-6
 (http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?
 2) Is there any kind of repository, where I can take common structures
 and/or adapt these to the required structures?

 Regards,
 Helge

I just came across your message from over a month ago...
Here is my solution (ConTeXt):

\usemodule[chemic]
\starttext
% 18-Crown-6
\startchemical[width=fit,height=fit]
\chemical[SIX,B5,-SB4,+SB6,Z4,MOV1][O]
\chemical[SIX,B6,-SB5,+SB1,Z5,MOV2][O]
\chemical[SIX,B1,-SB6,+SB2,Z6,MOV3][O]
\chemical[SIX,B2,-SB1,+SB3,Z1,MOV4][O]
\chemical[SIX,B3,-SB2,+SB4,Z2,MOV5][O]
\chemical[SIX,B4,-SB3,+SB5,Z3][O]
\stopchemical

% my discotic mesogene...
\startchemical[width=6500,height=8000,top=2500,left=2500]
\chemical[SIX,B5,-SB4,+SB6,PB:Z4,ONE,SB6,Z06,PE,MOV1][N,R]
\chemical[SIX,B6,-SB5,+SB1,PB:Z5,ONE,SB7,Z07,PE,MOV2][N,R]
\chemical[SIX,B1,-SB6,+SB2,PB:Z6,ONE,SB8,Z08,PE,MOV3][N,R]
\chemical[SIX,B2,-SB1,+SB3,PB:Z1,ONE,SB2,Z02,PE,MOV4][N,R]
\chemical[SIX,B3,-SB2,+SB4,PB:Z2,ONE,SB3,Z03,PE,MOV5][N,R]
\chemical[SIX,B4,-SB3,+SB5,PB:Z3,ONE,SB4,Z04,PE][N,R]
\stopchemical

\stoptext

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


[NTG-context] Printing source code intelligently with ConTeXt (with overlay)

2009-06-06 Thread Gerben Wierda

On 4 Jun 2009, at 16:17, Wolfgang Schuster wrote:

Can you ask your questions in english, your question could be  
relevant for other
users too and it would be a shame if the don't understand it because  
you use dutch.


Sorry, I forgot.

Here is the question. I have source code which i want to print using  
an overlay in PDF, linenumbers, fixed width font, correct indentation  
of tabs and in landscape mode. I could create some of this with the pr  
program, but preferably I would like some sort of ConTeXt setup which  
I could automate.


Yours,

Gerben


Overlay answer from Hans:


\defineoverlay[myoverlay][\overlayfigure{myfile.pdf}]

\setupbackgrounds[page][overlay=myoverlay]

if it has to be on top:

\setupbackgrounds[page][overlay={foreground,myoverlay}]


___
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] Printing source code intelligently with ConTeXt (with overlay)

2009-06-06 Thread Wolfgang Schuster


Am 06.06.2009 um 15:52 schrieb Gerben Wierda:

Here is the question. I have source code which i want to print using  
an overlay in PDF, linenumbers, fixed width font, correct  
indentation of tabs and in landscape mode. I could create some of  
this with the pr program, but preferably I would like some sort of  
ConTeXt setup which I could automate.


What do you want to do with the overlay?

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] Printing source code intelligently with ConTeXt (with overlay)

2009-06-06 Thread Gerben Wierda
The overlay if a prelimiary of IfSQ code inspection (http:// 
www.ifsq.org). Source code is printed with the overlay and then a  
visual inspection process is performed using the overlay to keep track  
of results.


I tried the following with a test TeX file (no landscape or line  
numbers yet):



\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\starttext
\setupbackgrounds[page][overlay=ifsqoverlay]
\typefile[SQL][]{details.pls}
\stoptext


And the start of file details.pls is:


PACKAGE BODY DETAILS IS
/* Let op: wanneer er foutmeldingen ontstaan als
   Invalid cursor en
   Missing mandotory parameter (ORA-01009)
   dan wordt de form waarschijnlijk aangeroepen met shared library  
data
   Kijk eerst bij de aanroep en zorg dat de aanroep met  
no_share_library_data

is
*/
-- mantis 1055: g_aantal_items toegevoegd en in update_details  
p_aanroeper toege

voegd.

-- lokaal:
-- globale variabelen, eenmalig gezet bij initialisatie
g_debug boolean := false; -- aanzetten om debuggen te vergemakkelijken
g_max_lengte NUMBER := 2.5;
g_max_hoogte NUMBER := 1.5;
g_begin_pos_x NUMBER := 5;
g_begin_pos_y NUMBER := 2.844;
g_alleen_tonen VARCHAR2(1) := 'N';
g_aantal_structuren NUMBER := -9; -- -9 en 9 zijn schakel-waarden
g_multi BOOLEAN := TRUE;


But that ends in tears:


(/usr/local/texlive/2008/texmf-dist/tex/context/base/pdfr-def.tex)
systems : begin file testsql at line 2
(/usr/local/texlive/2008/texmf-dist/tex/context/base/verb-sql.tex
loading : Context Support Macros / Pretty SQL Verbatim
(/usr/local/texlive/2008/texmf-dist/tex/context/base/verb-pl.tex
loading : Context Support Macros / Pretty PERL Verbatim
))
Overfull \hbox (23.9878pt too wide) in paragraph at lines 4--4
[]|[] [][] [][] []\*12pftt*: dan[] []wordt[] []de[] []form[]  
[]waarschijnli

jk[] []aangeroepen[] []met[] []shared[] []library[] []data

Overfull \hbox (61.03781pt too wide) in paragraph at lines 4--4
[]|[] [][] [][] []\*12pftt*: Kijk[] []eerst[] []bij[] []de[]  
[]aanroep[] []
en[] []zorg[] []dat[] []de[] []aanroep[] []met[]  
[]no_share_library_data[]

! Undefined control sequence.
\doSQLtypefourfour ...ntfalse \prettyverbatimfont
  \fi \else  
\endPLtypesix \b...

argument */
 \relax \flushrestofverbatimline
\processverbatimline #1-#1

\dodoverbatimline ...ax \flushrestofverbatimline }
  \endverbatimline  
\global \...


\presetnormalverbatimline ...\doflushverbatimline
  \fi \global \let  
\savedver...


\readline ...line \else \presetnormalverbatimline
  \fi \fi \fi \fi  
\handlever...

...
l.4 \typefile[SQL][]{details.pls}

? x


The overlay I am using is:

http://www.ifsq.org/resources/level-2/overlay.pdf

If prettyprinting does not work I would be happy with verbatim print  
with line numbers and correct indentation.


Gerben

On 6 Jun 2009, at 15:58, Wolfgang Schuster wrote:



Am 06.06.2009 um 15:52 schrieb Gerben Wierda:

Here is the question. I have source code which i want to print  
using an overlay in PDF, linenumbers, fixed width font, correct  
indentation of tabs and in landscape mode. I could create some of  
this with the pr program, but preferably I would like some sort of  
ConTeXt setup which I could automate.


What do you want to do with the overlay?

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
___



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


[NTG-context] Interaction between overlay and typing?

2009-06-06 Thread Gerben Wierda

I'm almost there:

\definetyping[SQL][option=color,numbering=line]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\starttext
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][overlay=ifsqoverlay]
\typefile[SQL][]{details.pls}
\stoptext

Gets me the landscape, A4, numbered output. It does not get me the  
overlay. Some interaction between verbatim and overlay? I also do not  
see any coloration.


G

___
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] Interaction between overlay and typing?

2009-06-06 Thread Wolfgang Schuster


Am 06.06.2009 um 16:59 schrieb Gerben Wierda:


I'm almost there:


\setupcolors[state=start]

\definetyping[SQL][option=color,numbering=line] %% linenumbering did  
not work in MkIV


method=language


\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\starttext
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][overlay=ifsqoverlay]


 background=ifsqoverlay


\typefile[SQL][]{details.pls}
\stoptext

Gets me the landscape, A4, numbered output. It does not get me the  
overlay. Some interaction between verbatim and overlay? I also do  
not see any coloration.


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] Interaction between overlay and typing?

2009-06-06 Thread Gerben Wierda


On 6 Jun 2009, at 18:13, Wolfgang Schuster wrote:



Am 06.06.2009 um 16:59 schrieb Gerben Wierda:


I'm almost there:


\setupcolors[state=start]


Gives me colors for SQL, but not very useful ones. I'll have to look  
into that more.




\definetyping[SQL][option=color,numbering=line] %% linenumbering  
did not work in MkIV


   method=language


What do you mean? Does this somehow get me good coloration?




\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\starttext
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][overlay=ifsqoverlay]


background=ifsqoverlay


Yes, in the meantime I guessed this too. Hans'  instruction was  
erroneous. (I would give something for decent ConTeXt documentation.  
This has taken me hours fiddling around and guessing on the basis of  
sources, just for something that simple as a background image)


G




\typefile[SQL][]{details.pls}
\stoptext

Gets me the landscape, A4, numbered output. It does not get me the  
overlay. Some interaction between verbatim and overlay? I also do  
not see any coloration.


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
___



___
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] Interaction between overlay and typing?

2009-06-06 Thread Wolfgang Schuster


Am 06.06.2009 um 18:25 schrieb Gerben Wierda:


What do you mean? Does this somehow get me good coloration?


Forget this, you can get different colors by redefining these settings:

\definecolor [colorprettyone]   [r=.9, g=.0, b=.0] % red
\definecolor [colorprettytwo]   [r=.0, g=.8, b=.0] % green
\definecolor [colorprettythree] [r=.0, g=.0, b=.9] % blue
\definecolor [colorprettyfour]  [r=.8, g=.8, b=.6] % yellow

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
___


[NTG-context] PL/SQL pretty print

2009-06-06 Thread Gerben Wierda

On 6 Jun 2009, at 18:36, Wolfgang Schuster wrote:



Am 06.06.2009 um 18:25 schrieb Gerben Wierda:


What do you mean? Does this somehow get me good coloration?


Forget this, you can get different colors by redefining these  
settings:


\definecolor [colorprettyone]   [r=.9, g=.0, b=.0] % red
\definecolor [colorprettytwo]   [r=.0, g=.8, b=.0] % green
\definecolor [colorprettythree] [r=.0, g=.0, b=.9] % blue
\definecolor [colorprettyfour]  [r=.8, g=.8, b=.6] % yellow



It doesn't work out anyway. The pretty print for SQL is doing weird  
things, e.g.:

- not coloring commentary in a seperate color
- coloring _ characters in variable names separately

Seems ConTeXt SQL pretty print of the PL/SQL I have does not work  
properly with respect to coloring.


G



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
___



___
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] 3D PDF support (AKA asymptote support)

2009-06-06 Thread Michail Vidiassov

Dear Hans,

On Fri, 5 Jun 2009, Hans Hagen wrote:


a draft for an analog of LaTeX movie15 package for including Adobe Reader
compatible 3d models into PDF files is at


i'll have a look at it next week; the interface needs some more thinking from 
my side; in principle we should not use externalfigure here but the rendering 
mechanism


BTW, the mechanism ConTeXt uses to include movies (it served me as a 
starting point) is described in part 13.4 Movies of PDF 32000-1:2008 
ISO/Adobe spec, but preceded there with the following note:

 The features described in this sub-clause are obsolescent and their use
 is no longer recommended.
 They are superseded by the general multimedia framework described in
 13.2, “Multimedia.”

Thus even more thinking may be desirable...

  Sincerely, Michail___
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
___


[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan

Hi,

When I put one reference as @incollection Bibtex does not show me the 
title of the article in the book, but yes the booktitle. Why?. Anyone 
could help me please.


I attached the files

Xan.

Please CC me
@article{bridson,
 author = Martin R. Bridson,
 title = On the geometry of normal forms in discrete groups,
 journal = Proceedings of the London Mathematical Society,
 year = 1993,
 volume = 67,
 pages = 595-616
}

@article{riley,
author = Tim R. Riley,
title = The geometry of groups satisfying weak almost-convexity or weak geodesic-combability conditions,
journal = Journal of Group Theory,
year = 2002,
volume= 5,
pages = 513-525
}

@book{epstein,
 author = Epstein, David B. A. and J. W. Cannon and D. F. Holt and S. V. F. Levy and M. S. Paterson and W. P. Thurston,
 title = Word processing in groups,
 publishers=Jones and Barlett Publishers,
 year= 1992
}


@book{delaharpe,
 author= de la Harpe, Pierre,
 title = Topics in Geometric Group Theory,
 publishers = University of Chicago Press,
 series= Chicago Lectures in Mathematics,
 year = 2000
}

@incollection{bridson-tutorial,
 author= Martin R. Bridson,
 title = {{The geometry of the word problem}},
 booktitle= Invitations to Geometry and Topology,
 year = 2002,
 publisher = Oxford University Press,
 editor = Martin R. Bridson, Simon M. Salamon,
 pages=29-92
}% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt]

% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]

% Choose a language, and associated hyphenation rules.
%\language [ca]
\mainlanguage[ca]


% Page number
\setuppagenumbering [location={footer}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
\setuplayout[topspace=1.5cm, % marge d'adalt
margin=1.5cm, %marges dels costats
header=1.0cm,%separació entre adalt i primera línia
footer=1.0cm,%separació entre abaix i darrera línia
width=fit,height=fit,backspace=2cm]



% Enable colors and activate hyperlinks
\setupcolors [state=start]
\definecolor[lightblue][r=0.5, g=0.5, b=1.0]
%\setupinteraction [state=start, color=lightBlue]
%\setupurl[style=small, space=yes]
\setupurl[space=yes]

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


% Fonts
%% Chapters...
\setupheads[align=flushleft]
\setuphead[chapter][style={\tfd\bf}]
\setuphead[section][style={\bfc}, header=nomarking]
\setuphead[subsection][style={\bfb}]
\setuphead[subsubsection][style={\bfa}]
%\setuphead[section][textstyle=bold]

% Bibliography options
% BIBTEX
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=tfm,sort=author]
\setuppublications [alternative=ams,numbering=yes, sorttype=bbl, 
criterium=cite]%
\setupheadtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\  et al.}]
\setuppublicationlist[authoretaldisplay=1]

%Indentation
\setupheads[indentnext=yes] 
\setupindenting[yes,small,first]
%\setupformulae[indentnext=yes]

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
\setupfootertexts[\pagenumber/\lastpage]
\setupfooter[text][before=\hrule]
\setupheader[text][after=\hrule]
\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]

% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
%\usetikzlibrary[trees]


% AMSTHM equivalent
%% Exercici
\defineenumeration
  [exercici]
  
[text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,

Re: [NTG-context] Font sizes in item group

2009-06-06 Thread Michael Bynum
That worked.  I thought it must be something simple.  Thanks.
Mike



On Sat, Jun 6, 2009 at 12:21 AM, Wolfgang
Schusterschuster.wolfg...@googlemail.com wrote:

 Am 05.06.2009 um 23:04 schrieb Michael Bynum:

 I am trying to find out it there is a way to set the font size for
 each level of an item group so that as you go down the item group, the
 font decreases a small amount.  I assume there must be a way, but I
 haven't found anything looking around the manuals.  Here is my current
 item group.

 \defineitemgroup[bullet][levels=3]
        \setupitemgroup[bullet][1][1]
        \setupitemgroup[bullet][2][2]
        \setupitemgroup[bullet][3][3]

 \setupitemgroup[bullet][...][...][inner={\switchtobodyfont[xxpt]}]

 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
 ___

___
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] Problems with bibtex and @incollection

2009-06-06 Thread Taco Hoekwater

Xan wrote:

Hi,

When I put one reference as @incollection Bibtex does not show me the 
title of the article in the book, but yes the booktitle. Why?. Anyone 
could help me please.


I attached the files


Nearly the same answer I gave to Charles Doherty two weeks ago
seems to apply:

In bibl-ams.tex, the \insertarttitle is commented out (line 286). I
have no idea whether that is 'officially' correct or not, but you could
remove the comment sign and see if the result pleases you.

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
___


[NTG-context] Horizontal bar vs emdash

2009-06-06 Thread Maurí­cio

Hi,

I know I can input an emdash with:

\emdash

Is there an alternative when I want an
horizontal bar? See this, where I found
they can be different:

http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Quotation_dash

They have different unicode numbers, U+2014
and U+2015.

(Is there something similar to \showcharacters? I
read in

tex/texmf-context/tex/context/base/enco-ini.mkiv

it's in a todo list, but I thought it's worth
asking.)

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