[NTG-context] fighting fonts

2013-10-09 Thread Ciro A. Soto
Hi everyone,
I am trying to reproduce a novel I wrote with context years ago. This time
is spanish.
I use context only for books, not daily, so now I can't figure out how to
use fonts.
I have been going around and around for days avoiding to look for help here
for such a simple thing, but I surrendered. My last attempt was using the
simplefonts module.
Here is what I get (linux-64 ubuntu):

* texexec --pdf novel.tex*
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 \write18 enabled.
entering extended mode
(./novel.tex

ConTeXt  ver: 2013.06.07 17:34 MKII  fmt: 2013.10.8  int: english/english

system  : cont-new.mkii loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkii
systems : beware: some patches loaded from cont-new.mkii
)
system  : cont-sys.rme loaded
(/usr/local/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.mkii)
(/usr/local/context/tex/texmf-context/tex/context/base/type-one.mkii))
system  : novel.top loaded
(./novel.top)
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2
us-
ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3
da-ec:ec-6-2:2
 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2
fr-texnansi:texnansi-1
0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2
it-texnansi:te
xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2
pt-texnansi:texnansi-17
-2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2
pl-ec:ec-21-
2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2
sk-il2:il2-25
-2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2
tr-ec:ec-29-2
:2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2
fi-ec:ec-34-
2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3  loaded
specials: dvips loaded
systems : system commands are enabled
language: language en is active
specials: loading definition file tpd
(/usr/local/context/tex/texmf-context/tex/context/base/spec-tpd.mkii
specials: loading definition file fdf
(/usr/local/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
(./final_macros.tex
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
color   : unknown system cmyk
system  : module simplefonts (mkii) loaded

(/usr/local/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefon
ts.mkii
loading : ConTeXt User Module / Simplefonts
)
*! Font \*simplefonts:112ptrmtfrm*:=TeX Gyre Termes at 12.0pt not
loadable: Me*
*tric (TFM) file not found.*
to be read again
   \relax
\definefontglobal ...dcsname \lastfontname \relax
  \expandafter \let
\expanda...

\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let
\localrelativefontsiz...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi \iftryingfont
\...
...


My instructions in the novel.tex file are:
\usemodule[simplefonts][size=14pt]
\setmainfont[TeX Gyre Termes]

and when I list all fonts with
* mtxrun --script fonts --list  -all | grep -i termes*

texgyretermes texgyretermesbold
texgyretermes-bold.otf
texgyretermesbold texgyretermesbold
texgyretermes-bold.otf
texgyretermesbolditalic   texgyretermesbolditalic
texgyretermes-bolditalic.otf
texgyretermesitalic   texgyretermesitalic
texgyretermes-italic.otf
texgyretermesmath texgyretermesmathregular
 texgyretermes-math.otf
texgyretermesmathnormal   texgyretermesmathregular
 texgyretermes-math.otf
texgyretermesmathregular  texgyretermesmathregular
 texgyretermes-math.otf
texgyretermesnormal   texgyretermesitalic
texgyretermes-italic.otf
texgyretermesregular  texgyretermesregular
 texgyretermes-regular.otf


any help is welcome.

thank you

ciro


Books you should read:

[image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
Amor, La Mujer] http://www.kavyata.com/vam.html
My social profile: [image:
Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
Twitter] http://www.twitter.com/CASotoAguirre
___
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] error messages after installation

2004-11-20 Thread Ciro A. Soto
I thinkTEXEXEC 3.1 is still the latest version. what are neware the context macros.
ciroWilli Egger [EMAIL PROTECTED] wrote:
Hi,The delivered TeX distributions with Linux are mostly way too old. If you look at the messages given by your texexec run you can see it already.TEXEXEC is way too old. The current version is above 5!After updating your context it appears that it uses still a very outdated version of texexec. I advise you to update your tex-system from CTAN (http://www.tug.org/interest.html).Willitexexec --pdf novel.tex   TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002  executable : pdfetex format : cont-en inputfile : novel output : pdftex interface : en current mode : none TeX run : 1  This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) \write18 enabled. (/usr/share/texmf/web2c/natural.tcx) entering extended
 mode (./novel.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}  ConTeXt ver: 2004.11.06 fmt: 2004.11.19 int: english mes: english  systems : pdfTeX version 110 - please update  systems : eTeX version 201 - too old (bugs)  ! Undefined control sequence. \c!gebied ={/home/ciro/} \xprocesscommaitem #1,#2-\if ,#1 ,[EMAIL PROTECTED] \xprocesscommaitem \else \if [EMAIL PROTECTED]  \xdogetparameters #1]-\xprocesscommaitem #1,] ,[EMAIL PROTECTED]@ \dosetupsystem [#1]-\getparameters [\??sv ][#1] \setuprandomize [\@@svrandom... l.3 \setupsystem[\c!gebied={/home/ciro/}]  ? ! Emergency stop. \c!gebied ={/home/ciro/}==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] paragraph with a shape

2004-11-20 Thread Ciro A. Soto
I've made paragraphs that have a specific shape (say the shape of a guitar)
with e-plain tex. What would be the context macros to do that?
thank you
Ciro==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] paragraph with a shape

2004-11-21 Thread Ciro A. Soto
I was using \parshape in plain tex, but this is what I want to avoid using.
I am looking for a macro where I could provide a figure (may be in metapost format)
and then the paragraph would be inside the shape of the figure. Or something
better than the \parshape, which distorts the shape if you change the font size
or the line separation...Dirar BOUGATEF [EMAIL PROTECTED] wrote:
You will have to use the same macros you have created. This is one of Context magic. You can use all tex and plain tex macros (Well not exactly all of them says the docs, am not sure wether a list exists)___ntg-context mailing list[EMAIL PROTECTED]http://www.ntg.nl/mailman/listinfo/ntg-context==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Tex Live 2004 + context

2004-11-30 Thread Ciro A. Soto

Today I was about to install TeX Live 2003, to then install Context lastest
release. But I found that Tex Live 2004 was released the 27th (3 days ago).
I notice the texmf directory structure has been changed in 2004. What do you guys recommend? 2003+context? Or is the latest context installation compatible
with the new TeXLive2004 texmf directory? Please advise.

Ciro==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Tex Live 2004 + context

2004-11-30 Thread Ciro A. Soto
I am using linux Fedora Core 3. It came witha *very* old tex installation with
context version 2003. If I understand your advice, I should use texlive2003
and thelatest context from lastweek upload in pragma?
thank youPatrick Gundlach [EMAIL PROTECTED] wrote:
Hi, Today I was about to install TeX Live 2003, to then install Context lastest release. But I found that Tex Live 2004 was released the 27th (3 days ago). I notice the texmf directory structure has been changed in 2004. What do you guys recommend? 2003+context? Or is the latest context installation compatible with the new TeXLive2004 texmf directory? Please advise.I'd say: new ConTeXt = new TeX distribution, old ConTeXt = old TeXdistribution.What operating system are you using?See also in the wiki: http://contextgarden.net/Update_HintsPatrick-- ConTeXt wiki: http://contextgarden.net___ntg-context mailing list[EMAIL PROTECTED]http://www.ntg.nl/mailman/listinfo/ntg-context==Ciro 
 A.
 Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fonts installation - WIKI?

2004-12-08 Thread Ciro A. Soto
Based on the number of problems reported here with fonts in TL2004/ConTeXt, and also based on my own experience, I believe someone should investigate this in detail and write a note in the WIKI explaining how to fix the problem. I am guessing that the new tree structure of TL2004 has caused the mess, but I am too novice to figure it out. One of the big-hitters (i.e., Hans  friends) should advice, please.

thank you
Ciro==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] dictionary for TeX,/ConTeXt

2005-01-15 Thread Ciro A. Soto
Hello,
I would like to know what is the best way to 
check spelling in a TeX-prepared document.
I could use ispell (linux/unix), but I wonder
if there is a better way with OpenOffice, or
other package. Besides, ispell wouldn't check
my spanish words like Am\'erica because of the
accent.

In the same lines, is there any grammar checker?

thank you
Ciro

=
==
Ciro A. Soto
All problems are at the interface. Each one of them has a solution.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help - spine centered figure

2005-01-29 Thread Ciro A. Soto
Sorry, I made a typo error. The title of the book I am
reading is Goodbye Gutenberg by Valerie
Kirschenbaum.
A book I recommend for any person interested in 
book design, typography, history, reading, fonts, etc.
Ciro

--- Ciro A. Soto [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am reading a beautifully designed book called
 'Boodbye Gutenberg, and it gave me inspiration to
 change the design of my self-published novel.
 However,
 I wonder if with my limited knowledge in Contet I
 can
 make it happen. Here it is:
 
 Version 1: The text is standard, justified both
 sides.
 
 When the reader opens the book I want him/her to see
 a
 background light-gray picture centered in the spine
 of
 the book from the top of the page to the bottom.
 (The
 picture is a guitar with the strings along the
 spine),
 I would like half of the guitar in the left page,
 and
 half in the other page. In other words,
 there would be a bleeding picture to the right of
 the
 left page, and a bleeding picture to the left of the
 right page. The text would be black, and the guitar
 would be seen as background. I know it is difficult
 to
 follow my explanation, but I hope you understand. 
 
 Version 2: The text is wrapped around the figure,
 that
 is, each line in the left page is left justified,
 but
 ends at the border of the picture. And each line in
 the right page is right justified, but begins at the
 border of the picture.
 
 I am hoping to get the version 1.  The other version
 is like an exercise for me, to see how it would be
 done.
 
 I have tried with layers for the background picture,
 and it works, but I don't know how to tell Context
 to
 use alternative pictures, one for the left pages,
 another for the right pages. My apologies for the
 length ...
 
 thank you
 
 ciro
 
 
 
 
 
 =
 ==
 Ciro A. Soto
 Author of
 The Guitar Maker. 
 An Exploration of Wisdom, Design and Love. Pub.
 Date: Dec. 2005.
 
 All problems are at the interface. Each one of them
 has a solution.
 ___
 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


[NTG-context] texsync - help

2005-02-15 Thread Ciro A. Soto
I just discover the existance of texsync by browsing
the manuals.
I tried to update the manuals and it worked fine in a
$HOME/tmp directory.

I am kind of skeptical in updating the whole context
installation because I don't know the proper
destination option.

I installed tex using texlive2004, and it created a
directory /usr/local/texlive2004/  in my Fedora3
linux.

I wonder if the following command would do
the job wihout harm:
 
texsync --full --update --force
--destination=/usr/local/texlive2004

and what else should I do afterward.

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


[NTG-context] looking for a grammar checker in linux/tex/context - or alternative

2005-02-18 Thread Ciro A. Soto
Some time ago I asked for a speller in linux.
I found that aspell does a good job. Now I want
one step up: a grammar checker. Since there is 
no such thing in linux (AFAIK), then
my question is:
Is there any
way to ask  context to output the file in a format
importable by MS Office? (sorry, I don't like this
solution, but if you have one within the realm of
linux/gnu licenses, let me know). May be plain 'text'
format, or rtf?  So I can use the grammar in MS.

I listen to any other idea...
thank you

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


[NTG-context] numbering lines

2005-02-21 Thread Ciro A. Soto
is there a quick way to generate the number of each linein the margin of the page?
thank you
ciro___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] lack of hyphenation

2005-02-26 Thread Ciro A. Soto
The knowlegeable John Culleton said in one of the
lists that he could recognize if a book was typeset
with
MS-word by looking at the rivers and the lack of
hyphenation. I then checked my 310-page book I am
typesetting with context and not a single line had a
hyphenated word at the end.

So, my question is: Is it okay? or do I need to set
any parameter to allow hyphenation? 
I do have
\tolerance=1, because I don't like lines longer
than the rest, but I thought I could still get some
hyphenated words. Am I right?

thank you
Ciro

=
==
Ciro A. Soto
Author of
The Guitar Maker. 
An Exploration of Wisdom, Design and Love. Pub. Date: Aug. 2005.

All problems are at the interface. Each one of them has a solution.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] 4UP with no table of content - bug?

2005-02-26 Thread Ciro A. Soto
I have this 310-page book with a table of content
that is alsways fine when I use a single page layout.

When I switch to
\setuparranging [2UP,rotated,doublesided]
it also prints the table of content, however,
if I rerun the job for a second time using
the 2UP, the table of content disappears.

Is it a bug or do I need to do something special?

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


Re: [NTG-context] Re: lack of hyphenation

2005-02-26 Thread Ciro A. Soto
well, I did the test running texexec on a file
containing only this line:

\showhyphens{hyphenation}

and got:

TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

executable : pdfetex
format : cont-en
 inputfile : 4test
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C
7.5.3)
 \write18 enabled.
 %-line parsing enabled.
 (/usr/local/texlive2004/texmf/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./4test.tex

ConTeXt  ver: 2004.11.17  fmt: 2005.1.30  int: english
 mes: english

..

Underfull \hbox (badness 1) in paragraph at lines
1--1
[] \*10ptrmtf* hyphenation
)


I suppose there is a problem then ...right?

c


--- Patrick Gundlach [EMAIL PROTECTED] wrote:

 Hello Taco,
 
  this is what I get. I got a *similar* line
  to what you sent, but not the same. Is it ok?
 
  looks fine, 
 
 are you sure that the hyphenation configuration is
 the same in plain
 and ConTeXt? Perhaps it is a bit late for me, but I
 think that the
 test has to be done within ConTeXt to make sure
 about the correct
 hyphenation.
 
 Patrick
 
 PS: see you in France
 -- 
 ConTeXt wiki: http://contextgarden.net
 ___
 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] lettrine.sty, but not LaTeX

2005-03-01 Thread Ciro A. Soto
trivial question from a novice:
What are the steps to use a new module 
like the lettrine.sty? Where do I put this file?
what command should I type to make is available to
context? etc...
thank you
ciro

PS: I am using Fedora Core 3 + texlive2004 + context
from February 2005.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] lettrine.sty, but not LaTeX

2005-03-02 Thread Ciro A. Soto
Another question, this one is for Hans:
I tried your file from feb 27:
supp-fu3.tex.
I typed texexec --pdf supp-fu3.tex
and got: 

Undefined control sequence.
\doDroppedCaps ...arindent \fi \keeplinestogether
 
{#4}\setbox 0\hbox {#1{#6}...
l.190 \NiceDroppedCaps  {\red}{Serif}{0pt}{3}{W}
 
\input tufte \endgraf
 
Where could be the problem? I see the definition of
doDroppedCaps in the file, but 

thank you
ciro

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


Re: [NTG-context] Re: newbie question about fonts

2005-03-11 Thread Ciro A. Soto
Thank you Patrick...

I am my distributor maintainer. 
I installed linux in my pc box less than a year ago,
and I see font files everywhere (X directory fonts,
TeX directory fonts, TrueType, OpenType, Type1,
etc...)
but don't know if they are accessible from Context.
what is the local guide you refer to?

Wouldn't it be nice to have a command in Context like:

\listavailablefonts [type1 | truetype | ... | all]

or

\listavailablefamilyfonts [] ...

and another to check whether  a font is properly
installed (that is, whether it has \bf, \it,
\sc, math, etc), like:

\checkfont [fontname]

Luigi, thank you. I've read the outdated documents
you suggested, but still ...

Ciro





--- Patrick Gundlach [EMAIL PROTECTED] wrote:
 Hello Ciro,
 
  Okay, this business of
 fonts/files/names/encoding/etc
  is really difficult to understand for me.
 
 welcome to the club ;-)
 
  I have a simple question. How do I list all fonts
  I have available to use in ConTeXt in the
  machine/system I have? Is there a file
  where I can see the names of all these fonts?
 
 This should be stated in your local guide. If not,
 complain to the
 distribution maintainer.
 
  And is there a template file or a command
  to display the entire set of characters once I
 know
  the
  name of fonts?
 
 \showfont[Serif]
 
 and alike.
 
 Patrick
 -- 
 ConTeXt wiki: http://contextgarden.net
 ___
 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] Re: newbie question about fonts

2005-03-13 Thread Ciro A. Soto
Thank you Patrick. I'm still looking for


--- Patrick Gundlach [EMAIL PROTECTED] wrote:
 Hello Ciro,
 
  I am my distributor maintainer. 
 
 But you got your distribution from some source?

I downloaded the CD iso image from a website
and installed Fedora Core 3.

 
  what is the local guide you refer to?
 
 This should come with your TeX system (Linux system,
 downloaded TeX
 system, whatever) that tells you about things that
 you need to know
 about your TeX system. Including the available
 fonts. Since I don't
 know what your TeX system is, I can't tell you if
 you have such a
 local guide. If it is not on your system, you should
 complain to the
 person that gave you the TeX.

Similarly, I downloaded texlive2004 CD from the
tug.org, and installed it according to the
instructions
in the CD. What is the name of the 'local guide' file?



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


Re: [NTG-context] acrobat reader for linux

2005-03-15 Thread Ciro A. Soto
I loaded it flawlessly using the rpm in my Fedora Core
3 system.
Looks good and runs faster.

--- Tom Fossen [EMAIL PROTECTED] wrote:
 Hi,
 
 Acrobat reader 7.0 for linux is now available. See 

ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/
 
 Awaiting comments from heavy users,
 
   tom 
 fossen
 
 
 
 
 ___
 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


[NTG-context] imposition for a pdf file

2005-03-15 Thread Ciro A. Soto
I have a pdf file with 660 letter-size pages.
I would like to save toner in my printer by
printing 2 or 4 pages in one single sheet of paper.

Is it possible to do this with context?
or any other alternative?

Remember, I don't have the source file, only the pdf
file.

thank you

Ciro


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


Re: [NTG-context] imposition for a pdf file

2005-03-16 Thread Ciro A. Soto
Thank you. This should work.
Ciro
--- Hans Hagen [EMAIL PROTECTED] wrote:
 luigi.scarso wrote:
  Ciro A. Soto wrote:
  
 I have a pdf file with 660 letter-size pages.
 I would like to save toner in my printer by
 printing 2 or 4 pages in one single sheet of
 paper.
 
 Is it possible to do this with context?
 or any other alternative?
 
 Remember, I don't have the source file, only the
 pdf
 file.
 
 thank you
 
 Ciro
 
 texexec --pdf --pdfcomb --comb=2*2 manypages.pdf
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
   
 
  As usually, not a direct answer...
  
  Play with these script
  %%
  %% save it as test.tex
  %%
  \setupcolors[state=start]
  \starttext
  \dorecurse{660}%
  {\startTEXpage[width=3cm,height=2cm]
  \vbox to \vsize{\vss
  \hbox to 
 

\hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolor=green]{p.\tfd\recurselevel}\hss}
 
  \vss}
  \stopTEXpage}
  \stoptext
  
  %%
  %% save as my-imp.tex
  %%
  %% \setuplayout here
  \starttext
  \centerline{%
  \externalfigure[test][page=1]
  \externalfigure[test][page=3]
  \externalfigure[test][page=5]
  \externalfigure[test][page=7]
  \externalfigure[test][page=9]
  \externalfigure[test][page=11]
  }
  \blank[1cm]
  \centerline{%
  \externalfigure[test][page=2]
  \externalfigure[test][page=4]
  \externalfigure[test][page=6]
  \externalfigure[test][page=8]
  \externalfigure[test][page=10]
  \externalfigure[test][page=12]
  }
  \stoptext
  
  (you can create my-imp.tex by a script and
 choosing the appropriate number
  for page=, also use \setuplayout etc..)
  
  Also look for  \setuparranging.
  
  luigi
  
  
  
 


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

-
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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fighting fonts

2013-10-10 Thread Ciro A. Soto
Thank you Hans, it worked perfectly.

Ciro


ciro


Books you should read:

[image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
Amor, La Mujer] http://www.kavyata.com/vam.html
My social profile: [image:
Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
Twitter] http://www.twitter.com/CASotoAguirre


On Thu, Oct 10, 2013 at 3:20 AM, Hans Hagen pra...@wxs.nl wrote:

 On 10/10/2013 1:15 AM, Ciro A. Soto wrote:

 Hi everyone,
 I am trying to reproduce a novel I wrote with context years ago. This
 time is spanish.
 I use context only for books, not daily, so now I can't figure out how
 to use fonts.
 I have been going around and around for days avoiding to look for help
 here for such a simple thing, but I surrendered. My last attempt was
 using the simplefonts module.
 Here is what I get (linux-64 ubuntu):

 * texexec --pdf novel.tex*


 you mix up old an new (mkii an dmkiv)

 run this:

  context novel.tex

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

[NTG-context] \def\MyChapterCommand#1#2 error...

2013-10-11 Thread Ciro A. Soto
I am not able to use #1#2 arguments... Don't know what is going on.
thank you for your help

ciro
-


*Case 1)  *
\setuphead[chapter][command=\MyChapterCommand]
\def\MyChapterCommand{}

\starttext
\chapter{first chapter}
\stoptext

*output:* no error message, pdf file produced. Everything as expected.

*Case 2)*
\setuphead[chapter][command=\MyChapterCommand]
\def\MyChapterCommand#1#2{{#1} : {#2}}

\starttext
\chapter{first chapter}
\stoptext

*output:*
.
.
.
fonts'fallback modern rm 12pt' is loaded
structuresectioning  chapter @ level 2 : 0.1 - first chapter
! Argument of \MyChapterCommand has an extra }.

system   tex  error on line 6 in file
/home/ciro/Desktop/TGM_SpanishTranslation/test2.tex: Argument of  ...

1 \setuphead[chapter][command=\MyChapterCommand]
2 %\def\MyChapterCommand{}
3 \def\MyChapterCommand#1#2{{#1} : {#2}
4 }
5 \starttext
6   \chapter{first chapter}
7 \stoptext
8
___
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] \def\MyChapterCommand#1#2 error...

2013-10-11 Thread Ciro A. Soto
thank you again.
(\unexpanded was not needed 5 years ago...)

ciro

ciro


Books you should read:

[image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
Amor, La Mujer] http://www.kavyata.com/vam.html
My social profile: [image:
Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
Twitter] http://www.twitter.com/CASotoAguirre


On Fri, Oct 11, 2013 at 5:18 PM, Hans Hagen pra...@wxs.nl wrote:

 On 10/11/2013 11:13 PM, Ciro A. Soto wrote:

 I am not able to use #1#2 arguments... Don't know what is going on.
 thank you for your help

 ciro
 --**---


 *Case 1) *

 \setuphead[chapter][command=\**MyChapterCommand]
 \def\MyChapterCommand{}

 \starttext
 \chapter{first chapter}
 \stoptext

 *output:* no error message, pdf file produced. Everything as expected.

 *Case 2)*

 \setuphead[chapter][command=\**MyChapterCommand]
 \def\MyChapterCommand#1#2{{#1} : {#2}}


 \unexpanded\def 


  \starttext
 \chapter{first chapter}
 \stoptext

 *output:*

 .
 .
 .
 fonts'fallback modern rm 12pt' is loaded
 structuresectioning  chapter @ level 2 : 0.1 - first chapter
 ! Argument of \MyChapterCommand has an extra }..


 system   tex  error on line 6 in file
 /home/ciro/Desktop/TGM_**SpanishTranslation/test2.tex: Argument of  ...

 1 \setuphead[chapter][command=\**MyChapterCommand]
 2 %\def\MyChapterCommand{}
 3 \def\MyChapterCommand#1#2{{#1} : {#2}
 4 }
 5 \starttext
 6   \chapter{first chapter}
 7 \stoptext
 8





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



 --

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

[NTG-context] open quotation not working

2013-10-12 Thread Ciro A. Soto
When I use `` to open a quotation,  I don't get the character for open
quotation, instead, I get the two single quotation character. (The closing
quotation works fine)
Is there any command to fix this? (the problem occurs in english or spanish)
thank you

ciro


Books you should read:

[image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
Amor, La Mujer] http://www.kavyata.com/vam.html
My social profile: [image:
Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
Twitter] http://www.twitter.com/CASotoAguirre
___
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] open quotation not working

2013-10-12 Thread Ciro A. Soto
sorry, I just saw an old chain of messages about this question... I fixed
it with the translation module.
\usemodule[translate]
\translateinput[``][“]
\enableinputtranslation

thank you
Ciro


ciro


Books you should read:

[image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
Amor, La Mujer] http://www.kavyata.com/vam.html
My social profile: [image:
Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
Twitter] http://www.twitter.com/CASotoAguirre


On Sat, Oct 12, 2013 at 11:07 PM, Ciro A. Soto c...@kavyata.com wrote:

 When I use `` to open a quotation,  I don't get the character for open
 quotation, instead, I get the two single quotation character. (The closing
 quotation works fine)
 Is there any command to fix this? (the problem occurs in english or
 spanish)
 thank you

 ciro


 Books you should read:

 [image: Lead, Follow  Suceed] http://www.kavyata.com/lfs.html  [image:
 The Guitar Maker] http://www.kavyata.com/tgm.html  [image: La Vida, El
 Amor, La Mujer] http://www.kavyata.com/vam.html
 My social profile: [image: 
 Facebook]http://www.facebook.com/profile.php?id=752641627 [image:
 Twitter] http://www.twitter.com/CASotoAguirre

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