Re: Fwd: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-05 Thread Taco Hoekwater
Hi Idris,
It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:
  \let\normalinmargin\inmargin
  \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
Greetings, Taco
Idris Samawi Hamid wrote:
Hi gang,
I sent this about ten days ago; trying again:-)
Best
Idris
--- Forwarded message ---
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get an
overfull hbox; a real nuisance when you have dozens of \inmargin's...
Awaiting advice:-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Using fonts of an existing TeX-Installation

2005-05-05 Thread Patrick Gundlach

> Hello Thomas,

Tobias, sorry. It is too late for me...

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


[NTG-context] Re: Using fonts of an existing TeX-Installation

2005-05-05 Thread Patrick Gundlach
Hello Thomas,


[...]

>  following the TeXFont manual for ConTeXt, do I have to reinstall 
> them from scratch for ConTeXt starting with the pfb- and afm-files from 
> texmf-local/fonts/source, or can I use the already distributed pfb- and 
> afm-files? 

Yes, as I already answered on the german tex-d-l mailing list. Did you
try my suggestion to add a typescript and just use the fonts?

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


Fwd: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-05 Thread Idris Samawi Hamid
Hi gang,
I sent this about ten days ago; trying again:-)
Best
Idris
--- Forwarded message ---
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get an
overfull hbox; a real nuisance when you have dozens of \inmargin's...
Awaiting advice:-)
Best
Idris
==
\setupoutput[pdftex]%
%\setupindenting[medium]
\starttext
\input knuth \inmargin{This is a test.}
\stoptext

log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]
\hbox(10.41603+4.05064)x0.0
.\hbox(0.0+0.0)x17.62474
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
===
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Supress chapter number in sections

2005-05-05 Thread Randall Skelton
> Hi Randall. It's a slightly confusing one - this behaviour is actually
> controlled via the \setupsection command, which deals with the
> high-level behaviour of sectioning commands like \chapter and
> (confusingly!) \section. The setup you want is
> 
> \setupsection[section-3][previousnumber=no]
> 
> The rationale is that \part is section-1, \chapter is section-2 and
> \section is section-3. See the manual entry for \setupsection for more info.

Thanks Duncan, the above does exactly what I want for the section
numbers.  Is there a way to do this for figure and equation numbers as
well?

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


Re: [NTG-context] pdf bookmarks

2005-05-05 Thread John R. Culleton
On Sunday 13 March 2005 09:31 pm, h h extern wrote:
> VnPenguin wrote:
> > On Tue, 8 Mar 2005 20:56:06 +, David Waller <[EMAIL PROTECTED]> 
wrote:
> >>Hello,
> >>
> >>I am trying to produce bookmarks in the PDF file produced with context.
> >>
> >> I can produce bookmarks but I am unable to get any hierarchy of
> >> bookmarks such that chapters can just be displayed initially and then
> >> the
> >>sections open up.
> >
> > With
> >
> > \placebookmarks[chapter,section,subsection]
> >
> > I got a perfect bookmark :)
>
> \placebookmarks [chapter,section,subsection]
>  [chapter]
>
> will do the same but open only chapter ones by default
>
> Hans

As it happens, on my computer, using Linux, both xpdf and
Acrobat Reader 7.0 display all bookmarks by default. Here is my
line:

 \placebookmarks [chapter,section] [chapter]

If I change the line to 
 \placebookmarks [chapter,section] [chap]

It works as described by Hans above.

But I can live with that. My real problem is with bookmarking
the table of contents. If I use this configuration:
---
\bookmark[chapter]{Contents}
\completecontent

I get a double bookmark. All other combinations yield no bookmark
at all. I tried changing the name from Contents to Contenzz and
I got two occurrences of Contentzz in the bookmarks.

Messing with the first parameter [chapter] yields either no
bookmark or a double bookmark.
 
Also, on the TOC proper, the word Contents (or Contentzz) is repeated twice,
in body font, ahead of the bold faced and larger title generated
by \completecontent. 
 
The documentation on this feature is a bit sparse. I looked at
the source but the comments there did not address this
situation. 

-- 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

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


Re: [NTG-context] Pb compiling s-pre-61.tex

2005-05-05 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
For example, I tried s-pre-61.tex to compile and it fails ... here is
the output of the compile process ...

ConTeXt  ver: 2003.1.31  fmt: 2005.1.21  int: english  mes: english

l.38 \defineproperty
[step:busy][layer][state=start]
? 
you use an quite old version of context (properties are old but not that old); 
interestingly you do have s-pre-61 which uses this functionality on your system 
so i'm a bit puzzled

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] \setupMMLappearance

2005-05-05 Thread Hans Hagen
Duncan Hothersall wrote:
Hello MathMLers.
I just discovered the very promising \setupMMLappearance command, which
looked like it held the answer to one of my most niggling of problems
with display MathML processing - the fact that in a tabular layout using
 I couldn't make the left-hand-side right-aligned, the middle
(equals sign) centred and the right-hand-side left-aligned. The default
layout has all columns centred.
So having looked through the sources I tried
\setupMMLappearance[mtable][alternative=b] and to my joy the horizontal
alignment seemed to be perfect. But... the vertical spacing seems to
have changed as well. There is now just a bit more vertical space
between the rows, which throws my existing pagination out of whack, and
also looks ugly.
I think I reached my limit on understanding the sources, so I wonder if
someone could help by telling me if there are any other options for the
magical \setupMMLappearance command which might help, or indeed any
other fine-tuning commands for MathML layout.
One other thing I'd really like to be able to do is have the entire
equation aligned on the left rather than centred in the text flow. Is
there an option for that?
can you prepare a test file?
Hans
btw, sometime ago i rewrote the mml code in a more readable way but i could not 
find time to integrate it yet


-
  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] font encodings

2005-05-05 Thread Hans Hagen
Thomas A.Schmitz wrote:
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break whenever 
it is used. So my question: is it possible to switch font encoding in 
mid-paragraph?
no problem, since font encodings are bound to fonts, not paragraphs; however, 
you need to keep in mind that hyphenation is related to the font encoding as 
well as the language; when a paragraph is converted to a list, it's known what 
font is used and the character codes are resolved (i.e. when mixing two font 
encodings \"e may have resulted in a reference to slot 123 in fontA and slot 231 
in fontB which then may give funny hyphenation problems; so, when one language 
is chose, you may end up with greek hyphenated in for instance the german way 
when slots match those in the hyphenation patterns);

taco may shed more light on what exactly happens when mixing languages 
paragraphs
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] Re: Mails of this mailing list

2005-05-05 Thread Hans Hagen
Adam Lindsay wrote:
Patrick Gundlach said this at Wed, 4 May 2005 22:44:17 +0200:

(not that it is of any practical use - it just feels good :-))

I'm finding it very entertaining and somewhat informative. There are some
interesting gems in there:

Personally I think users should not be bothered with font encodings at 
all. There is no harm in forcing things that (at least) we thing are best.
 (HH)
I sure wish it could be true, but today it seems as difficult as ever!
It may help if we make some choices and stick to the encodings that make most 
sense: texnansi, qx, t5, uc, (+the new one adam and i are discussing), a main 
greek and a main cyrillic one.

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] Two hyphens do not give en dash

2005-05-05 Thread Hans Hagen
Ville Voipio wrote:
Try adding the --afmpl switch to your texfont command. It switches over
to the afmpl utility, which does better with preserving ligatures and
kerns.

Thank you! Now it works.
I added this onto the Wiki page, as well. I did a few other changes
there, as well (mostly according to your suggestions).
since siep is no longer actively maintaining afm2pl (which is used when --afmpl 
is issued), is there a volunteer on this list who can take over?

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


[NTG-context] Using fonts of an existing TeX-Installation

2005-05-05 Thread Tobias Hilbricht
Dear readers of this list,
I have a working recent (La)TeX and ConTeXt installation. I have added several 
commercial PostScript fonts and can use them with (La)TeX. The font files of 
those fonts are in   directories under texmf-local/fonts (afm, tfm, vf, 
type1), that is, as suggested by TeXFont manual for ConTeXt.
However,  following the TeXFont manual for ConTeXt, do I have to reinstall 
them from scratch for ConTeXt starting with the pfb- and afm-files from 
texmf-local/fonts/source, or can I use the already distributed pfb- and 
afm-files? Does a reinstallation interfer with the existing font installation 
for (La)TeX?

Thanks for helpful hints in advance

Yours sincerely

Tobias Hilbricht
 
-- 
Dr. Tobias Hilbricht
Linopus Satz und Grafik
www.linopus.de
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Pb compiling s-pre-61.tex

2005-05-05 Thread oli
olivier Turlier <[EMAIL PROTECTED]> writes:

> Hi,
> I've felt into same pb's trying to compile s-pre-61.tex directly from
> it's original source. As far I can see (just to the surface of the
> screen in fact) it's related to a specific font installed at Pragma,
> not available for everyone as is.
> if I replace or uncomment :
> \usetypescriptfile[type-ghz]
>  
> \definetypeface[mainface][ss][sans][optima-nova][default][encoding=\defaultencoding]
> \setupbodyfont[mainface,ss,18pt]
> and put such general font switch like :
> \usetypescript [modern][\defaultencoding]
> \setupbodyfont[modern,ss,11pt]
> it compile without pbs.
> Your installation seems rather old
>
> Cordialement
>
> -- 
> Olivier TURLIER
> Formation & Métiers
> CRP La Rouguière
> 101 Bd des libérateurs
> 13367 MARSEILLE cedex 11
> tel : 04 91 18 56 00
> fax : 04 91 45 14 48
>
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

Content de voir qu'il y a des francais et des oliviers ;-) qui
utilisent context.
Merci ...

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