Re: [NTG-context] Listing of typical beginner-questions

2007-03-30 Thread Wolfgang Schuster

2007/3/30, Henning Hraban Ramm [EMAIL PROTECTED]:


Am 2007-03-29 um 20:56 schrieb Wolfgang Schuster:


 Q: Where to put the commands that apply to the whole document? Is
 there
 a 'preferred sectioning' of a Context source?
 A:

 You should use \environment's:
 http://wiki.contextgarden.net/Project_structure

Not always, makes sense only for multi-file projects.
For simple documents, just place your setups before \starttext

 Q: What is the equivalent of the Latex \begin{thebibliography}
 environment?
 A:

What *does* the LaTeX environment? (Same for every like in LaTeX
question - here are not a lot of LaTeX users...)



It is something like this

\startitemize
\item[reference] Describtion of your bibiography
\stopitemize

I found something done by a user in a old Maps article:

http://maps.aanhet.net/maps/pdf/27_14.pdf

I don't why one should us this mothod and not the one provided by Tacos bib
module:

http://dl.contextgarden.net/modules/t-bib/doc/context/bib/bibmod-doc.pdf

Wolfgang


Q: How can I define a fancy page numbering (i.e. large and coloured

 number)?
 A:

some hints here:
http://wiki.contextgarden.net/Headers_and_Footers
http://wiki.contextgarden.net/Chapters_headers

but you're right, a page about pagination is missing

 Q: How to make sure that numbers in a column align correctly, for
 example:
 9400
60
   100
 3
 Inserting ~ works fine when using a proportional font. An extra
 difficulty occurs when the figures should be centered below the
 heading
 of the column.
 A:

There are several different kinds of tables, each uses other setups
for right-aligned columns.
see http://wiki.contextgarden.net/Tables_Overview

NEVER use spaces (or ~) for alignment! (That's a very bad typewriter
habit!)



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

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

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


Re: [NTG-context] Force all floats on opposite even pages

2007-03-30 Thread Taco Hoekwater


Hans Hagen wrote:
 Sanjoy Mahajan wrote:
 What I would like is that all text is put on the odd pages (n), and
 that all floats are put on the opposite even pages (n-1).
 

It would be nice if this was supported by the output routine,
but it is not all that easy. I remember I had a document that had
the same requirement years ago, but I do not recall anoymore how
I solved it. Since it was short, possible I just did it all by
hand. The idea of that approach is that you do a test run to see
where TeX breaks the page, then force a page break at that point,
by breaking the input:

 bla bla bla bla

into

bla bla{\parfillskip0pt\par\page}

 \noindent bla bla

Inbetween those two lines, you can now do anything you like.

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


Re: [NTG-context] Listing of typical beginner-questions

2007-03-30 Thread Willi Egger

On Mar 29, 2007, at 8:56 PM, Wolfgang Schuster wrote:

 On Thu, 29 Mar 2007 19:36:10 +0200
 Luuk Beurskens [EMAIL PROTECTED] wrote:

 Dear all,

 Last weekend I had my first hands-on experience with Context. I  
 was told
 that a listing of the type of problems that I encountered would  
 have a
 certain value to the Context project. That's why below you'll find an
 overview of my beginner-questions, to some of which I already  
 found answers.

 My aim is not to have all questions answered via the list, but  
 rather to
 document them for later use in some kind of manual. For I know that
 finding the answers is mostly a matter of searching the  
 documentation.

 Kind regards,

 Luuk Beurskens
 The Netherlands

 PS: I have been using Latex for some years. The questions below  
 came up
 using a stand-alone Context environment in MS Windows.



 Q: Starting with Context, the use of which language is to be  
 preferred
 for the commands?
 A: The English version is most commonly applied, even in the  
 Netherlands

 Q: If one starts in a Context document in one language, can it be  
 easily
 converted to another language (form English to Dutch or German, for
 example)?
 A: This is possible, but no ready-available tool exists.

 Q: Why does background=color not work inside \bTABLE ... \eTABLE?
 A: Put \setupcolors[state=start] in the beginning of the document

 Q: How to apply a background colour for the margin space?
 A: This is possible but not easy to explain. See info by Patrick
 Gundlach and the section Crossing Borders in the Metafun manual in
 chapter Pagebackgrounds by Hans Hagen.


 Hi Luuk,

 \setupcolors[state=start]
 \setupbackgrounds[text][rightmargin][background=screen]

 \starttext

 \input knuth

 \stoptext

 Q: Where to put the commands that apply to the whole document? Is  
 there
 a 'preferred sectioning' of a Context source?
 A:

 You should use \environment's:

 http://wiki.contextgarden.net/Project_structure

Often I use a file with the name layout.tex to put there all kind of  
general issues to the document.

\startenvironment layout
\setupbodyfont[ss,12pt]
\setuplayout[   ...]

...

\stopenvironment

Load this file in the doucment with

\environment layout
\starttext
...
\stoptext


 Q: What is the equivalent of the Latex \begin{thebibliography}  
 environment?
 A:

 Q: The command \setupwhitespace[big] doesn't have an impact on the
 paragraph spacing. What am I doing wrong?
 A:

 \setupwhitespace[big]

 \starttext

 \input knuth

 \stoptext


 Q: Using \startcombination[*] it is possible to display several  
 pictures
 into one figure. How could one achieve that several figures are  
 treated
 as one picture, i.e. that they are all forced to be placed on one  
 page?
 A:

 \starttext

 \setupframed[width=5cm,height=5cm]

 \input knuth

 \placefigure
   [page]
   []
   {Four blocks}
   {\startcombination[2*2]
  {\framed{}}{Block 1}
  {\framed{}}{Block 2}
  {\framed{}}{Block 3}
  {\framed{}}{Block 4}
\stopcombination}

 \input knuth

 \stoptext


 Q: One cell in a table (\bTABLE ... e\TABLE) should contain a unit  
 (EJ
 for example) in square brackets: [EJ]. The result is that the  
 respective
 row is not displayed at all. What is wrong? Could I possibly use the
 Latex equivalent \symbol{code}?
 A:

 \starttext

 \bTABLE
   \bTR
 \bTD
   {[EJ]}
 \eTD
   \eTR
 \eTABLE

 \bTABLE
   \bTR
 \bTD[left={[},right={]}]
   EJ
 \eTD
   \eTR
 \eTABLE

 \stoptext


 Q: How can I change the fontsize inside a table?
 A:

 \starttext

 Text

 \setupTABLE[style=small]

 \bTABLE
   \bTR
 \bTD Text \eTD
   \eTD
 \eTABLE

 \setuptables[bodyfont=small]

 \starttable[|l|]
 \NC Text \NC\AR
 \stoptable

 \setuptabulate[bodyfont=small]

 \starttabulate[|l|]
 \NC Text \NC\NR
 \stoptabulate

 \stoptext

you can also say \switchtobodyfont[rm,6pt] where ever you need to  
change the fontsize and or switch from rm to ss.

 Q: How can I change the fontsize of an \inmargin?
 A:

 \starttext

 Text

 \setupinmargin[style=small]

 \inmargin{Text}

 \stoptext


 Q: How can I make a line in the header or footer of a document?
 A:

 \setupheadertexts[left][right]
 \setupfootertexts[left][right]

 \starttext

 Text

 \stoptext
In case that you want to place a rule beneath the running header:

\setupbackgrounds[...][...,...,...][...,...=...,...]
[...] top header text footer bottom page paper leftpage rightpage
[...,...,...] leftedge leftmargin text rightmargin rightedge
state = start stop repeat
[...,...=...,...] see \setupframed

I.e. you can say things like \setupbackgrounds[header][text] 
[bottomframe=on]


 Q: How can I define a fancy page numbering (i.e. large and coloured
 number)?
 A:

 Q: How to make sure that numbers in a colomn align correctly, for  
 example:
 9400
60
   100
 3
 Inserting ~ works fine when using a proportional font. An extra
 difficulty occurs when the 

Re: [NTG-context] Hanging definition

2007-03-30 Thread Taco Hoekwater


John R. Culleton wrote:
 I want to create a definition that is set up similar to an itemize, or 
 more particularly like page 180 in the Context Manual, third example 
 from the top of the page. Here is what I have:
 --
  \definedescription[Stars]
 [width=broad,location=hanging,hang=broad,sample={***}]
 
 \Stars{*} Rounded to nearest \$100
 
 \Stars{**} Provided by RBC Asset Management Inc. Actual fund return 
 plus an additional 4.0\% annually
 
 \Stars{***} Back-tested return reduced by 4.0\% annually\par} 

   \startitemize
   \sym{*} ...
   \stopitemize

should come close. but the ascii art was a bit of a mess over here.


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


Re: [NTG-context] figuretext environmnet

2007-03-30 Thread Willi Egger
Hi Hans,

Sorry for the noise! - Apparently I messed something up, it works  
also here!

Willi

On Mar 29, 2007, at 4:52 PM, Hans Hagen wrote:

 \startfiguretext
 {caption}
 {\externalfigure[dummy]}
 \input tufte
 \stopfiguretext

Willi Egger
[EMAIL PROTECTED]



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


[NTG-context] How to indent a paragraph

2007-03-30 Thread List Mail
I know this is a newbie question. However I have read the fine manual
(see below), and I still don't know how to indent a paragraph under
ConTeXt. The following code does NOT produce an indented paragraph.
Can somebody tell me what's wrong?

% Begin ConTeXt code
\starttext

\setupinterlinespace[2]
\setupindenting[medium]

The quick brown fox jumps over the lazy dog.  The quick brown fox
jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.

\stoptext
% End ConTeXt code
% processed using TeXExec version 6.2.0

Also, could somebody point me to where I can download the latest
version of the ConTeXt manual. The best I could find using Google's
filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread Wolfgang Schuster

2007/3/30, List Mail [EMAIL PROTECTED]:


I know this is a newbie question. However I have read the fine manual
(see below), and I still don't know how to indent a paragraph under
ConTeXt. The following code does NOT produce an indented paragraph.
Can somebody tell me what's wrong?

% Begin ConTeXt code
\starttext

\setupinterlinespace[2]
\setupindenting[medium]



Hi,

you need a yes in setupindenting to enable it.

\setupindenting[yes,medium]

The quick brown fox jumps over the lazy dog.  The quick brown fox

jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.

\stoptext
% End ConTeXt code
% processed using TeXExec version 6.2.0

Also, could somebody point me to where I can download the latest
version of the ConTeXt manual. The best I could find using Google's
filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.



The beginner manual:

http://pragma-ade.com/general/manuals/mp-cb-en.pdf

The big manual:

http://pragma-ade.com/general/manuals/cont-enp.pdf

And finally all manuals can be found at the following link:

http://pragma-ade.com/overview.htm

The nice way is to use the showcase (a pdf with links to all
documents, should only be used with fast internet connections).

http://pragma-ade.com/showcase.pdf

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


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread Thomas A. Schmitz

On Mar 30, 2007, at 12:06 PM, List Mail wrote:

 I know this is a newbie question. However I have read the fine manual
 (see below), and I still don't know how to indent a paragraph under
 ConTeXt. The following code does NOT produce an indented paragraph.
 Can somebody tell me what's wrong?

 % Begin ConTeXt code
 \starttext

 \setupinterlinespace[2]
 \setupindenting[medium]

 The quick brown fox jumps over the lazy dog.  The quick brown fox
 jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.

 \stoptext
 % End ConTeXt code
 % processed using TeXExec version 6.2.0


wiki, meet new user List Mail (wow, that's a bizarre name)

new user List Mail, meet the wiki: http://wiki.contextgarden.net/FAQ#. 
5Csetupindenting.5Bmedium.5D_doesn.27t_work.3F

 Also, could somebody point me to where I can download the latest
 version of the ConTeXt manual. The best I could find using Google's
 filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.

cont-eni.pdf is the  latest version of the manual.

HTH

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


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread Steffen Wolfrum
Hi List Mail,


On Fri, 30 Mar 2007 18:06:57 +0800, List Mail wrote:
 I know this is a newbie question. However I have read the fine manual
 (see below), and I still don't know how to indent a paragraph under
 ConTeXt. The following code does NOT produce an indented paragraph.
 Can somebody tell me what's wrong?
 
 % Begin ConTeXt code
 \starttext
 
 \setupinterlinespace[2]
 \setupindenting[medium]

change this line (above) to

\setupindenting[medium,yes]

 The quick brown fox jumps over the lazy dog.  The quick brown fox
 jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.
 
 \stoptext
 % End ConTeXt code
 % processed using TeXExec version 6.2.0
 
 Also, could somebody point me to where I can download the latest
 version of the ConTeXt manual. The best I could find using Google's
 filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.


Yes, this is *the manual*.
You will find the whole family (all manuals) here:

http://www.pragma-ade.com/document-1.htm


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


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread Mari Voipio
List Mail wrote:
 Also, could somebody point me to where I can download the latest
 version of the ConTeXt manual. The best I could find using Google's
 filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.

That's the interactive English full manual. The Pragma website IS 
sometimes a bit tricky to navigate, so I use this handy wiki listing 
instead whenever I need to download a manual either for screen or paper 
use: http://wiki.contextgarden.net/Official_ConTeXt_Documentation


For print use I'd suggest taking the beginner's manual and then probably 
cont-enp.pdf, assuming English is your preferred language. These are the 
two I've shread to threads, although nowadays I usually check the wiki 
first, it often gives an answer faster.


Hope this helps,
Mari
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread Mari Voipio
List Mail wrote:

 \setupindenting[medium]

Sanjoy's nifty 'helloworld' document at 
http://wiki.contextgarden.net/Hello_world has this:
\setupindenting[medium, yes]

It might be the missing 'yes' that's your problem. At least in the Live 
ConTeXt at http://live.contextgarden.net/ it makes all the difference; 
without 'yes', no indentation. With 'yes', first line gets indented.


(Hmm... I should probably also take a good look at this longer Hello 
world, I could definitely learn a thing or two there...)



Mari
(who can't do much without manuals and the wiki...)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Descriptions and buffers.

2007-03-30 Thread John R. Culleton
I used the description facility (both definition and use} within a 
buffer and it did not work. But I removed the passage from the buffer 
and it worked fine. 
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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


Re: [NTG-context] Listing of typical beginner-questions

2007-03-30 Thread Luuk Beurskens
Thank you all for the answers provided to my list of beginner-questions, 
and also for the suggestions made of using the questions for further 
documentation.

Best regards,

Luuk Beurskens
The Netherlands
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Force all floats on opposite even pages

2007-03-30 Thread Luuk Beurskens
Thank you Sanjoy, Hans and Taco for the suggestions made.

My interpretation of Taco's remark is that Sanjoy's solution might not 
work as expected, is that correct?

My document is rather long, so manual page breaking is not my preferred 
way of doing it.

Myself I was thinking that the floats belonging to odd page n could be 
put on even page n+1, and then try to renumber the pages (i.e. PDF page 
n+1 gets page number n-1 printed) and then reshuffle the PDF pages. 
Would that work?

Kind regards,

Luuk Beurskens
The Netherlands


Taco Hoekwater wrote:
 
 Hans Hagen wrote:
 Sanjoy Mahajan wrote:
 What I would like is that all text is put on the odd pages (n), and
 that all floats are put on the opposite even pages (n-1).
 
 
 It would be nice if this was supported by the output routine,
 but it is not all that easy. I remember I had a document that had
 the same requirement years ago, but I do not recall anoymore how
 I solved it. Since it was short, possible I just did it all by
 hand. The idea of that approach is that you do a test run to see
 where TeX breaks the page, then force a page break at that point,
 by breaking the input:
 
  bla bla bla bla
 
 into
 
   bla bla{\parfillskip0pt\par\page}
 
  \noindent bla bla
 
 Inbetween those two lines, you can now do anything you like.
 
 Taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Force all floats on opposite even pages

2007-03-30 Thread Taco Hoekwater


Luuk Beurskens wrote:
 Thank you Sanjoy, Hans and Taco for the suggestions made.
 
 My interpretation of Taco's remark is that Sanjoy's solution might not 
 work as expected, is that correct?

Mostly for practical reasons: it depends on how complex your pages
really are. In a document with complicated headers and footers and
different margin widths, it could become quite a challenge to make
everything in the final printed pages come out in the right spot.
Other issues are things like: you 'll have to fool the page number
conversion, and such pages will frustrate impositioning software
completely (putting all float pages at the end results in the same
practical problems).

But if such things are not a concern, then it will definately beat
my solution especially for a long document. Manual page breaking
is tedious at best, and really only workable for static texts.

Taco


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


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Patrick Gundlach
Hi,

I've uploaded the version 0.3 of my TextMate bundle. See
http://wiki.contextgarden.net/ConTeXt_Bundle_for_TextMate and
http://dl.contextgarden.net/support/

Direct download:

http://dl.contextgarden.net/support/context-tmbundle.dmg


Enjoy, 
Patrick

Changes:

0.3: 
 * scope set to text.tex.context for compatibility with the latex bundle 
(text.tex.latex)
 * include metafun language grammar based on a metapost bundle by Charilaos 
Skiadas
 * typeset (cmd-r) output window:
   * link to pdf file added (runs predefined viewer or 'Preview.app')
   * link to logfile
   * in case of an error: link to file/line
 * keybindings
   * typeset is now on cmd-r (for the sake of compatibility with all other 
textmate's bundles)
   * purge is now on ctrl-alt-backsapce (for the sake of.)
   * view in pdfviwer is now on ctrl-alt-cmd-o (for the sake of )
   * cmd-i {\it ...}
   * cmd-b {\bf ...}
 * dragging images (png, pdf, jpg) to a ConTeXt source creates 
\externalfigure[figname]
 * sectioning commands: tab trigger 'sec' and 'sub'
 * wrap selection in \start...\stop (ctrl-shift-w)
 * Menu update
 * support for document outline (symbols in TextMate speak)


-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Helin Gai
Hey Patrick,

Very cool update. One question tho, for the old version, I was able to
play around with the typeset command to allow typesetting with XeTeX.
In this new version, there's only one line in the typeset command:
typeset_contextfile. Where can I tweak this then?

Thanks!

Helin

On 3/30/07, Patrick Gundlach [EMAIL PROTECTED] wrote:
 Hi,

 I've uploaded the version 0.3 of my TextMate bundle. See
 http://wiki.contextgarden.net/ConTeXt_Bundle_for_TextMate and
 http://dl.contextgarden.net/support/

 Direct download:

 http://dl.contextgarden.net/support/context-tmbundle.dmg


 Enjoy,
 Patrick

 Changes:

 0.3:
  * scope set to text.tex.context for compatibility with the latex bundle 
 (text.tex.latex)
  * include metafun language grammar based on a metapost bundle by Charilaos 
 Skiadas
  * typeset (cmd-r) output window:
* link to pdf file added (runs predefined viewer or 'Preview.app')
* link to logfile
* in case of an error: link to file/line
  * keybindings
* typeset is now on cmd-r (for the sake of compatibility with all other 
 textmate's bundles)
* purge is now on ctrl-alt-backsapce (for the sake of.)
* view in pdfviwer is now on ctrl-alt-cmd-o (for the sake of )
* cmd-i {\it ...}
* cmd-b {\bf ...}
  * dragging images (png, pdf, jpg) to a ConTeXt source creates 
 \externalfigure[figname]
  * sectioning commands: tab trigger 'sec' and 'sub'
  * wrap selection in \start...\stop (ctrl-shift-w)
  * Menu update
  * support for document outline (symbols in TextMate speak)


 --
 ConTeXt wiki and more: http://contextgarden.net
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



-- 
Helin (Colin) Gai
Class of 2009, Duke University
Box 96332
Durham, NC 27708
Phone:  919-943-6302
helin.gai at gmail.com
hg9 at duke.edu
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Patrick Gundlach
Hello Helin,


 Very cool update. One question tho, for the old version, I was able to
 play around with the typeset command to allow typesetting with XeTeX.
 In this new version, there's only one line in the typeset command:
 typeset_contextfile. Where can I tweak this then?

Oh, sorry. Wait for 0.4 (to be released soon). Until then, you can put
this in the first line of your TeX source:

% engine=xetex

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] xetex problems

2007-03-30 Thread Patrick Gundlach
Hello out there,

I feel stupid: the following file runs fine on live.contextgarden.net
(xetex engine)

\font\myfont=Iwona-Regular
\myfont

\starttext
Hello world!
\stoptext


but not on my local installation:

texmfstart texexec --xtx simple
TeXExec | processing document 'simple'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file simple.top
TeXExec | using randomseed 769
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
 %-line parsing enabled.
 (WARNING: translate-file natural.tcx ignored)
entering extended mode
(./simple.tex

ConTeXt  ver: 2007.03.19 11:20 MKII  fmt: 2007.3.30  int: english/english

language: language en is active
system  : cont-new loaded

.

(/opt/context/current/texmf/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,dpx loaded
)
! Font \myfont=Iwona-Regular not loadable: Metric (TFM) file or installed font 
not found.
to be read again 
   \myfont 
l.2 \myfont



Any clue what could cause the trouble?

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Patrick Gundlach


 Very cool update. One question tho, for the old version, I was able to
 play around with the typeset command to allow typesetting with XeTeX.
 In this new version, there's only one line in the typeset command:
 typeset_contextfile. Where can I tweak this then?

download and install 0.4. Then set the variable 'CTX_ENGINE' to
'xetex'. 

See
http://archive.contextgarden.net/message/20070327.172247.4dc0b38a.en.html
for instructions. If this doesn't help, please write back. 

Patrick

(the only change in 0.4 is the switch for the xetex engine)
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Helin Gai
Hi Patrick,

Thanks for prompt update.

Personally, I feel it's probably more flexible to have two distinct
command, one for pdftex, and another for xetex...

Helin

On 3/30/07, Patrick Gundlach [EMAIL PROTECTED] wrote:


  Very cool update. One question tho, for the old version, I was able to
  play around with the typeset command to allow typesetting with XeTeX.
  In this new version, there's only one line in the typeset command:
  typeset_contextfile. Where can I tweak this then?

 download and install 0.4. Then set the variable 'CTX_ENGINE' to
 'xetex'.

 See
 http://archive.contextgarden.net/message/20070327.172247.4dc0b38a.en.html
 for instructions. If this doesn't help, please write back.

 Patrick

 (the only change in 0.4 is the switch for the xetex engine)
 --
 ConTeXt wiki and more: http://contextgarden.net
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



-- 
Helin (Colin) Gai
Class of 2009, Duke University
Box 96332
Durham, NC 27708
Phone:  919-943-6302
helin.gai at gmail.com
hg9 at duke.edu
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Patrick Gundlach
Hello Helin,

 Personally, I feel it's probably more flexible to have two distinct
 command, one for pdftex, and another for xetex...


You can set this variable on a per project basis. So for project A set
it to xetex, for project B set it to pdftex or unset it. This way you
don't have to remeber wich project used which engine.

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


Re: [NTG-context] xetex problems

2007-03-30 Thread Arthur Reutenauer
 Any clue what could cause the trouble?

  Your font is probably only in the texmf tree, it should be installed;
that is, on Mac OS X, simply double-click on the font and select
“Install”. It will be put in ~/Library/Fonts (probably) and some caching
utilities will be run so that in can be found by Apple's API.

  If you wonder why it works “out of the box” on ConTeXtgarden Live,
well, it must be because someone has installed it (and I should know ;-)

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


Re: [NTG-context] xetex problems

2007-03-30 Thread Patrick Gundlach
Hi Arthur,

   Your font is probably only in the texmf tree, it should be
   installed;

Ok, that was the problem. 

   If you wonder why it works “out of the box” on ConTeXtgarden Live,
 well, it must be because someone has installed it (and I should know ;-)


Next ConTeXt meeting I won't go to sleep at all, just in case I could
miss important changes (like switching to xetex at 4:44 a.m) :-))


Merci beaucoup,

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Patrick Gundlach
Hello again,

 Thanks for prompt update.

 Personally, I feel it's probably more flexible to have two distinct
 command, one for pdftex, and another for xetex...

Here is one for you. It is just a duplicate of 'typeset' with the
following command:

CTX_ENGINE=xetex typeset_contextfile

Same key equivalent, same scope.


Patrick



typeset with xetex.tmCommand
Description: Binary data

-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] xetex problems

2007-03-30 Thread Arthur Reutenauer
 Next ConTeXt meeting I won't go to sleep at all, just in case I could
 miss important changes (like switching to xetex at 4:44 a.m) :-))

  That's probably the best choice. 24 hours a day are hardly enough anyway :-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TextMate bundle

2007-03-30 Thread Helin Gai
Amazing. Thanks so much!

On 3/30/07, Patrick Gundlach [EMAIL PROTECTED] wrote:
 Hello again,

  Thanks for prompt update.
 
  Personally, I feel it's probably more flexible to have two distinct
  command, one for pdftex, and another for xetex...

 Here is one for you. It is just a duplicate of 'typeset' with the
 following command:

 CTX_ENGINE=xetex typeset_contextfile

 Same key equivalent, same scope.


 Patrick


 --
 ConTeXt wiki and more: http://contextgarden.net

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





-- 
Helin (Colin) Gai
Class of 2009, Duke University
Box 96332
Durham, NC 27708
Phone:  919-943-6302
helin.gai at gmail.com
hg9 at duke.edu
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to indent a paragraph

2007-03-30 Thread List Mail
Thanks to all that replied. Comments inline.

On 3/30/07, Steffen Wolfrum [EMAIL PROTECTED] wrote:

 On Fri, 30 Mar 2007 18:06:57 +0800, List Mail wrote:
  I know this is a newbie question. However I have read the fine manual
  (see below), and I still don't know how to indent a paragraph under
  ConTeXt. The following code does NOT produce an indented paragraph.
  Can somebody tell me what's wrong?
 
  % Begin ConTeXt code
  \starttext
 
  \setupinterlinespace[2]
  \setupindenting[medium]

 change this line (above) to

 \setupindenting[medium,yes]

Well, yes, this works. However, this isn't documented in *the manual*.

  The quick brown fox jumps over the lazy dog.  The quick brown fox
  jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.
 
  \stoptext
  % End ConTeXt code
  % processed using TeXExec version 6.2.0
 
  Also, could somebody point me to where I can download the latest
  version of the ConTeXt manual. The best I could find using Google's
  filetype:pdf site:pragma-ade.com is a document named cont-eni.pdf.

 Yes, this is *the manual*.

Which says (on raw PDF page no. 65):

In your source file you can best use an empty line between paragraphs.
This increases readability and it makes the typing of \par at the end
of each paragraph obsolete. Indentation at every new paragraph is
obtained by:

\setupindenting[medium]

 You will find the whole family (all manuals) here:

 http://www.pragma-ade.com/document-1.htm

If I remember correctly that was among the top hits I got from Google
in my search for ConTeXt documentation (I forgot the exact key words I
used). But as seems obvious from my present case, the documentation
appears to be out-of-date.

So is there a list of more up-to-date documentation that I can
download and read off-line? (My Internet connection at home is
limited, although for downloading I have access to high-speed Internet
cafes.) An up-to-date cheat sheet containing all commands and
options or arguments would be fine.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] xetex problems

2007-03-30 Thread Mojca Miklavec
On 3/31/07, Patrick Gundlach wrote:
 Hi Arthur,

Your font is probably only in the texmf tree, it should be
installed;

 Ok, that was the problem.

Hmmm ... there must be a few additional lines somewhere in fontconfig.

If you wonder why it works out of the box on ConTeXtgarden Live,
  well, it must be because someone has installed it (and I should know ;-)

 Next ConTeXt meeting

Great news ;) - I have already put you on the list ;)

It seems to me that the list of attendands of the second meeting is
going to be full even before the next meeting will be announced.

 I won't go to sleep at all, just in case I could
 miss important changes (like switching to xetex at 4:44 a.m) :-))

Don't worry, Patrick ... I guess that I won't have any sleep in the
last two weeks before the meeting, so you'll have to lock my account
for safety reasons anyway ;) Just find a distraction for Arthur and
you'll be on the safe side ;)

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