[NTG-context] Prefixed reference mechanism broken (again) in latest current luatex

2011-08-23 Thread Mari Voipio
Hello!

I know I'm about the only person in the world using the prefixed
reference mechanism, but it really makes my life a lot easier when
handling largish user manuals with tons of references. However, the
system seems to be broken again, at least in LuaTeX in the newest
current (ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.8.23  as of
today).

Good news is that ConTeXt doesn't crash on this and references inside
each chapter (i.e. without calling for the prefixing mechanism) work
fine. Bad news is that while the project at hand is so small I can
keep track of unique reference names and thus bypass the problem, by
next week I'll probably have to compile one of the larger projects and
I *really* do not fancy going through every reference there to change
them to non-prefixed...

My minimal example worked on the Online ConTeXt in the Garden (pdftex
and xetex), but when I'm running ConTeXt default, i.e. MkIV + LuaTeX,
on my Windows7, this example fails exactly the same way that the real
thing does (resulting pdf attached).



\setuphead[chapter][prefix=+]

\starttext

\chapter[one]{Chapter One}

\section[bla]{Blablabla}


\chapter[two]{Chapter Two}

See \in{Section}[one:bla]


\stoptext

=


I don't mind updating to a slightly newer version of ConTeXt, but at
this stage it'll have to be something fairly safe, deadlines are
looming too close for any extensive experimenting.


Oh well, at least the current doesn't crash on the references, so I
can continue the editing job and sort out the double question marks
later.



Regards,

Mari


reference_prefix_test.pdf
Description: Adobe PDF document


reference_prefix_test.log
Description: Binary data
___
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] ConTeXt in SciTe in Windows, non-working commands in Tools menu

2011-08-23 Thread Mari Voipio
Hello!

While struggling with the prefixed referencing system, I found two
commands in the Tools menu that fail miserably. As the commands I
normally use (Ctrl+1/Process TeX file, Process and Arrange, Generate
Formats (luaTeX) work fine, the problem is fairly local and neither is
critical.



If I remember it correctly, the command Tools | Update ConTeXt has
never worked for me, but the error message has been different. What I
get now is
mtxrun --autogenerate texshow --update --force
mtxrun  | kpse fallback with progname 'context' initialized in
0.03 secondsExit code: 1


Updating per se works, because when I did it on the command line, i.e. ran
first-setup.bat --context=current
something definitely came in and there are changes in for example
directory texmf-modules (and yes, I did remember to generate formats
and that command really worked).



The other command that fails is Tools | Open Logfile (or Ctrl+E) and
I'm fairly sure this one worked on the W7 laptop that I installed in
August 2011 with the then up-to-date versions of SciTe and ConTeXt.
The error message is pretty interesting, too:
 Lua: error checking global scope for command


I can of course open the log file in SciTe via the File menu, so this
isn't a major problem, just an annoyance. I used to like my Ctrl+E
quite a bit...



The SciTe+ConTeXt combo I'm using now is on a 64-bit Windows7 laptop
and I installed it about 10 weeks ago onto a brand new computer. My
SciTe says it's version 2.26 of May 25, 2011. It is quite possible I'm
running a different version from what's in the ConTeXt package as I
fetch my SciTe separately from Scintilla so I get a civilised Windows
installer that sets Windows context menus and other goodies all at one
click. (Yes, I'm da lazy Windows user who doesn't want to bother her
brain with any tweaking if that can be avoided.)



From the world of Windows,

Mari
___
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] slides proceedings from ConTeXt Meeting

2011-10-03 Thread Mari Voipio
On Wed, Sep 28, 2011 at 09:44, Steffen Wolfrum cont...@st.estfiles.de wrote:

 ... apropos all the fun:
 could someone also upload some of the images that were taken?

I don't want to sound greedy, but there are a few people to whom I'd
like to show what our den and dining room looked like as it was
quite a bit different from what my workmates think of when you say
user meeting... I also admit having personal interest in photos of
Thursday evening (and the part of the excursion I didn't attend to,
i.e. the fortress). Pleaaaseee, anyone have any photos online yet?


Mari
(who very smartly packed the charger for the camera, but not the
camera itself, hence no photos whatsoever of CM5 :-(  )
___
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] Any (other) ConTeXt users in Finland?

2011-10-03 Thread Mari Voipio
Hello All!


Inspired by the recent ConTeXt meeting where I again enjoyed meeting
other users as well as the developers, I'm wondering if there are any
other ConTeXt users in Finland? And if so, would you be interested in
a mini-meeting for an afternoon or evening, possibly at my work in
Vantaa?

If nothing else, we could tell each other what we do with ConTeXt and
get ideas and with luck even be able to sort out some problems. I'm
far from the nerdiest person in the world, but I could probably manage
a short introduction to ConTeXt, if you are interested but haven't
gotten started or if you know people who'd like to try but don't want
to do it by themselves.


BTW, if any ConTeXt users (Finnish or others) pass by Helsinki airport
or the Greater Helsinki area, you are welcome to informally pop into
our office and I'll give you coffee/tea and cookies (if we have any)
and any ConTeXt help I can give. Just check on this in advance as I'm
not always there, but often can arrange things if notified a few days
earlier.



Terveisin/Best Regards,

Mari Voipio
K-Patents Oy (in Vantaanportti, just 5 minutes from the airport)
___
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] latest Context Minimals Installer for Windows

2011-10-05 Thread Mari Voipio
Hello!

On Sun, Jan 30, 2011 at 16:08, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:
 To whom it may concern - here is the latest version of Context Minimals
 Installer for Windows, now working under Windows 7.

 http://www.megaupload.com/?d=484PR9UL

I tried this one on a 32-bit Windows XP this morning. It didn't get
everything done, but the ConTeXt download went pretty well and got
almost done before it hung. Unfortunately I had to leave for work, so
I didn't have time to check if the installer put the ConTeXt path
where it should be (probably, at least for me, although I asked it to
do it for all users), but at least the directories got created and
seemed to had the correct contents. I took a screen capture of the
error message, but it is on that computer and can't be accessed until
this evening. However, if I recall it correctly, the error message was

Generating formats failed. Error code 2.

Sounds like an error message from ConTeXt itself. And I'm not sure
format generation is needed any more; when I updated my laptop
manually (with first-setup.bat), I never did them as Hans said it
isn't needed. It looks like the Windows part of the installer works
fine, all directories are created ok etc. etc, so the problems in the
installer may be surprisingly easy to fix.

BTW, although the --extras command is now replaced by --modules, the
old command seemed to work as I did get some content into my
texmf-modules directory. But of course it'd be smart to fix that at
the same time as the rest of the problems.

NB. My user id on that Win XP computer has admin privileges by
default, so the installation itself didn't need any extra credentials
(which was a bit of a problem in my Win7).



Regards,

Mari
___
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] Any (other) ConTeXt users in Finland?

2011-10-10 Thread Mari Voipio
On Wed, Oct 5, 2011 at 15:20, Martin Schröder mar...@oneiros.de wrote:
 I just checked the nordic TUGS:
 - Nordic TeX (http://folk.uio.no/dag/ntug/) seems to be long dead
 - Danish TUG (http://www.tug.dk/) is active
 - CyrTUG (http://www.cemi.rssi.ru/cyrtug/) gives a page not found
 - ÍsTeX (http://www3.hi.is/pub/istex/) seems to be dormant

 So there is room for a Finnish TUG :-)

Well, this far I'm up to *4* ConTeXt users resident in Finland - me,
my brother Ville, Salil and Otso. Which doubles the amount of users I
know, but still...
(Alan is in France and Martin, AFAIK, in Germany, so they don't count
even though they replied to this thread.)

While by Finnish law 3 can make an official society/organization, I
think we'll stick to informal meetings this far. At least we four are
all in the same area so getting together is somewhat possible,
especially as I have a meeting space at my disposal.


BUT: Nobody else in Finland???


Best Regards/Terveisin,

Mari Voipio
Vantaa, Finland
___
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] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
Hello!

Encouraged by the recent User Meeting, I'm experimenting with sans
serif fonts, trying to find something that I could use all over our
documents (European languages) and that would be acceptable to the
design people.

One of the possibilities would be Lucida, but I'm not having much
success with it...


First I tried with the wiki, http://wiki.contextgarden.net/Lucida.
The lucida.zip downloads and extracts nicely, but does not contain any
.pfb files, so so much for that.

Then I took a leap of faith and just put

\setupbodyfont[lucida]


in the setup area of my file and something is definitely happening,
but then the process hangs. I retried with just

==

\setupbodyfont[lucida]

\starttext

\chapter{Testing Lucida}

\input knuth

\stoptext


==

Same result... The whole log is in the end of this message, but I
suspect this is the essential part (which SciTe also marks with red):

fontsdefining  font with asked name 'lbl' is not found
using lookup 'file'
fontsvirtual math  loading font lucidamath subfont 12
with name file:lbl.afm at 458752 is skipped, not found
! LuaTeX error ...text/tex/texmf-context/tex/context/base/math-vfu.lua:476:
bad argument #1 to '(for generator)' (table expected, got nil)
stack traceback:
[C]: in function '(for generator)'
...text/tex/texmf-context/tex/context/base/math-vfu.lua:476: in
function ...text/tex/texmf-context/tex/context/base/math-vfu.lua:397
(tail call): ?
(tail call): ?
...text/tex/texmf-context/tex/context/base/font-def.lua:406: in 
function 'read'
...text/tex/texmf-context/tex/context/base/font-ctx.lua:767: in
function 'definefont_two'
main ctx instance:1: in main chunk.

system   tex  error on line 1 in file 20111012_Lucida1.tex:
LuaTeX error  ...



I'm running the newest beta, ConTeXt  ver: 2011.10.08 11:42 MKIV, and
ConTeXt with SciTe in Win7. I compile the pdf with Ctrl+F12 and I get
palatino and dejavu to work to an extent (if I switch the font name in
the test file from lucida to dejavu, everything works perfectly,
so I guess either I'm missing something essential or there's a problem
somewhere in the beta.


In the font jungle once again,

Mari


The full log:

(20111012_Lucida1.tex

ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.11  int: english/english

system   cont-new.mkiv loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   20111012_Lucida1.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options  [autopdf]=true,
used options }
used options document.files={
used options  20111012_Lucida1.tex,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=20111012_Lucida1.tex]
used options \setupsystem[\c!n=1,\c!m=1]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(20111012_Lucida1.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
(C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv)
filesreadfile  asked name: 'loc', not found
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontsdefining  font with asked name 'LucidaBright' is
not found using lookup 'name'
fontsdefining  unknown font LucidaBright, loading aborted
fontsdefining  unable to define LucidaBright as
\*lucida12ptrmtfrm*
fontsdefining  forced type afm of lbr not found
fontsdefining  font with asked name 'lbr' is not found
using lookup 'file'
fontsvirtual math  loading font lucidamath subfont 1
with name file:lbr.afm*virtualmath at 458752 is skipped, not found
fontsdefining  forced type tfm of hlcrim not found
fontsdefining  font with asked name 'hlcrim' is not
found using lookup 'file'
fontsvirtual math  loading font lucidamath subfont 2
with name hlcrim.tfm at 458752 is skipped, not found
fontsdefining  forced type tfm of hlcrim not found
fontsdefining  font with asked name 'hlcrim' is not

Re: [NTG-context] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
On Wed, Oct 12, 2011 at 12:11, luigi scarso luigi.sca...@gmail.com wrote:
 The lucidabr and lucida packages on CTAN are free, but the Lucida fonts
 are not: you must order them from TUG or another source to actually
 typeset anything in Lucida.  The TUG Lucida web pages explain the
 details -- see http://tug.org/lucida.
 ...

Ummm Sounds like a line I want to add to that wiki page, I'll do
it later today.

However, my Windows 7 has Lucida Bright, Lucida Console and Lucida
Sans, so I kind of have those fonts already, as ttfs. Apparently they
came with my Acrobat Pro.


Oh well, I can simulate with the ttfs and figure out about buying when
the otf:s are around. The 2-user licence isn't that expensive and I
doubt I'll ever need more than that in the ConTeXt world.


OK, thank you everybody - I knew things had changed, but what I heard
at CM5 hadn't quite parsed. :-)



Back to the test bench,

Mari
___
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] Lucida hangs (?) on latest beta

2011-10-12 Thread Mari Voipio
On Wed, Oct 12, 2011 at 12:37, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 When the fonts are in your Windows font directory you can try this:

 \usemodule[simplefonts]

 \setmainfont[Lucida Bright]

It works! And I learned something new and useful today, now I finally
understand why it is called simplefonts (thankfully I already
learned this module thing last year, so I had it already...).


Not only did I get Lucida to work, this seems to work as well:

\usemodule[simplefonts]
\setmainfont[Calibri]


Now I'm one happy ConTeXter, this'll stop most of the fights with the
Word users...


NB. I'll wikify some of this stuff once I've got a bit of leftover
energy. In the meanwhile, is there a way of finding out what fonts are
included in the simplefonts module now? A quick wiki search on
simplefonts didn't seem terribly useful, but might just be my
inability to concentrate on the task...



Wolfgang, you are my hero today. :-D



Mari
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-19 Thread Mari Voipio
Hello!

At the recent ConTeXt meeting Hans helped me update my ConTeXt
installation and explained about a new way of getting ConTeXt to work
with SciTe, it now uses external lexers and even spell-checking is now
possible for some languages.


The SciTe tips and tricks page will have to wait, but I made a new
wiki page for the installation instructions. This one isn't linked
anywhere yet and the page title should probably be changed before
that, but I leave that to wiki admins. My old Simple Windows
installation page should probably be unlinked or even deleted after
this new and better one has found its proper spot.

For now, the new Windows+SciTe page is at
http://wiki.contextgarden.net/Windows:_ConTeXt_Suite_with_editor_%28SciTe%29

I checked the instructions by installing the combo on a blank new
Win64-laptop (of the cheap and sleazy type, this keyboard drives me
nuts!) and it works. It is not exactly out-of-the-box, but nothing a
seasoned Windows user or a half-good admin couldn't manage. I assume
small .bat scripts could be written to automatize it even further, but
I'm no programmer, it is faster for me to do a bit of manual work
instead.


Hope this helps,

Mari
(who'll now proceed onwards to write a ConTeXt 101 suite for
Windows/Word dummies)
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-20 Thread Mari Voipio
On Thu, Oct 20, 2011 at 11:50, Lutz Haseloff
lutz.hasel...@googlemail.com wrote:
 if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit,
 i can no longer scroll the text in the editor. Windows quits SciTe
 because of an unknown
 error :-(

 Has someone else the same error?

Do you have special mouse/scroll software installed? If, which one and
whose? Did you try reinstalling it after you installed SciTe?

I did notice a scrolling problem, but it is not that bad: I'm using a
marble mouse that doesn't have a scroll wheel at all, so I had to
install Logitech's software to turn a scroller on and of with the
fourth mouse button. That works everywhere else, but not in SciTe -
the scroll bar moves, but nothing happens...
[Not having scroll wheel drives me nuts, but that was the only
pointing device we had of this type that fitted for left hand; a new
'marble' of different brand, with a scroll wheel, has been ordered!]


When I first installed the documented combo at ConTeXt User Meeting, I
was successfully using a Logitech Bluetooth Travel mouse, but I did
*not* have the Logitech software in the laptop.
I cannot recall having problems with the right-handed cordless marble
mouse, either, not even after installing Logitech Setpoint, it
scrolled fine with the scroll wheel - I was quite happy with
everything until my elbow forced me to switch to left-handed mousing
for now.
NB. These experiences were like two beta versions ago, don't know if
that makes any difference... I didn't put any external mouse on my
test bench computer I used to check the wiki instructions, so I can't
say anything about it. If the computer is still on my desk when I'm
back at the office on Monday, I can test it a bit, we've got plenty of
'normal' mice floating around.


Hans also uses a scroll mouse with his Windows+SciTe combo, so usually
these work. My first guess would be some kind of conflict between
mouse software and SciTe, but I might be wrong.


BTW, if you remove SciTe with the lexers and stuf and reinstall it,
but don't put lexers and ConTeXt modifications in the SciTe directory,
what happens then?



Just my 5 cents,

Mari
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Mari Voipio


Lähetetty kännystäni / Sent from my iPhone

On 20.10.2011, at 13.06, Hans Hagen pra...@wxs.nl wrote:

 On 20-10-2011 10:50, Lutz Haseloff wrote:
 
 if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit,
 i can no longer scroll the text in the editor. Windows quits SciTe
 because of an unknown
 error :-(
 
 Has someone else the same error?
 
 I assume that you installed the lexer lua libs too. I don't know if that one 
 is 64 bit (I'm on a by now pretty old 32 bit machine).
 
 Hans
 
I'm running 32-bit SciTe, because that's what I got by using Troy Simpson's 
Windows installer for SciTe; both my work laptop and the Win 7 Home I used to 
test my wiki text are 64-bit computers. The stuff on the wiki worked on those 
two computers, can't vouch for anything else...

Or, rather: SciTe got installed into the (x86) directory, so I just *assumed* 
that it is a 32-bit version.


Mari
___
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] Learning layers: setlayer vs. setlayerframed

2011-10-26 Thread Mari Voipio
Hello!

Based on a discussion with Hans at the ConTeXt meeting I'm starting to
migrate my book covers from CorelDraw to ConTeXt using layers.

After a bit of experimenting I managed to achieve my first layer, but
looking at the examples on the wiki page, I'm wondering: what's the
difference between \setlayer and \setlayerframed.

Is the latter a subset of the first and possibly equal to

\setlayer   [name]  % name of the layer
{\framed[...=...,...=...]{LAYER}}  % the actual contents of the layer

or something else?

And which one should I use, anyway? I need to put a bit of text and a
bit of graphics onto the pages, but nothing complicated, just boxes.
But as I'm starting from zero, it would be nice to know what's the
smartest way of doing it (on the moment).

I'm running the newest or at least almost newest beta of ConTeXt and
can update if needed.


Thanks,

Mari
___
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] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-31 Thread Mari Voipio
On Thu, Oct 20, 2011 at 12:06, Mari Voipio mari.voi...@iki.fi wrote:
 I did notice a scrolling problem, but it is not that bad: I'm using a
 marble mouse that doesn't have a scroll wheel at all, so I had to
 install Logitech's software to turn a scroller on and of with the
 fourth mouse button. That works everywhere else, but not in SciTe -
 the scroll bar moves, but nothing happens...

So, the Kensington Trackball with Scroll Ring turned up. I just
plugged out the Logitech scroll-less marble and plugged in the new
Kensington trackboll - and everything works like a charm, including
scrolling in SciTe (and the marble moves a lot better, too, I
definitely prefer this one).

However, most of my files are small as the books I work on are split
into chapters. The real test won't come until I tackle the 150-page
manual later this week... But so far so good!


Mari
___
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] Rearranging existing A5 = A4

2011-11-02 Thread Mari Voipio
On Wed, Nov 2, 2011 at 11:37, Markus Finke mar...@gmx.at wrote:
 I have a ready document in A5 and want to rearrange selected pages next to
 each other on A4 (homeprinter, proofreading).

This works for me (and I'd better go and revise that bit of the
Imposition page on the wiki...):

\setuppapersize[A5][A4] %individual page A5 size, print size A4
\setuparranging[2SIDE,rotated] %2 pages side by side, rotated to
landscape to fit portrait A4
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]
\setuppagenumbering[alternative=doublesided]

\starttext

% \insertpages
\filterpages
  [pr-33-gp.pdf][2,5,16:19][width=0pt]

\stoptext
___
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] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
Hi!

After a wee bit of struggle I've managed to get as far as to
(re)creating front and back covers of a booklet as layers. They worked
fine in separate files, but now I have to incorporate the layers into
my main file and that turned out to be too complicated for my little
brain. Thus I'd appreciate a bit of help...

I'm using Windows 7 and SciTe and I just updated my ConTeXt to newest
beta (and it works).


Problem one: The text on the covers needs to be in Arial, but the
contents should be in Candara. I can get this done in totally separate
files with


\usemodule[simplefonts]
\setmainfont[arial]

\usemodule[simplefonts]
\setmainfont[candara]


However, when I put the front cover before the main contents, I don't
seem to be able to reset the font. The same goes for
\setupinterlinespace, it is 1.8em on the cover and default in the
contents.
I'm not very familiar with the layers nor the font switching and this
together makes it very difficult for me to figure out in what order my
commands should be (and what they should be; doing a search on the
wiki pages on setmainfont gives *no* results).


So, can somebody provide me with a minimal example of a file that has
a layer with text in one font (preferably using simplefonts) and a few
pages of text in another font and then another layer as backcover in
cover font?



Problem two: Whatever I do, I can't get the final number of pages to
be divisible by for (and in a way that the back cover ends up on the
last page). I used to use the hack given at
http://wiki.contextgarden.net/Imposition#Getting_to_the_Back_Cover_of_a_Booklet,
but it doesn't work any more (hangs on \fi} / line 18); I think it
still worked in June 2011, but not any more in August.


So, how do I get my back cover to pop up on the last page of my booklet?


(Problem three: Having stuff under back matter causes a few extra
empty pages that I don't seem to be able to suppress with any
combination of \page commands (last one I tried seems to be
\page[right,quadruple]). However, this problem may go away if 1  2
get solved.)



Thankful for any help,

Mari
___
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] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
On Fri, Dec 9, 2011 at 11:10, Willi Egger cont...@boede.nl wrote:
 Here is what I interpreted from your mail. May be it answers the first 
 question. Using setups does normally help in these cases.

It does sort out the font problem - turns out I was almost there,
except that my TOC insisted on being in Arial (and *really* ugly as it
is set up for Candara). Your alternative sorts out that problem, I
tested with

\placecontent

\chapter{This is chapter 1}

\dorecurse{3}
   {\input tufte \page}

\chapter{This is chapter 2}

\dorecurse{3}
   {\input tufte \page}


Even on yours the back cover ends up on the next-to-last page (the
last page being empty), so problem 2 persists. In a real pinch I can
probably fiddle with it in Acrobat (or pdfarrange or something).


Thank you,

Mari
___
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] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
On Fri, Dec 9, 2011 at 13:04, Willi Egger cont...@boede.nl wrote:
 When i use the attached test-file, the TOC is in palatino. May be you have to 
 check, where the \setups is called. Before calling the setups there must be a 
 page break.

It works for me, too, once I managed to fix a stupid typo... Mostly
your version works pretty well, correct fonts at correct places (I'd
actually prefer Candara at cover, too, but it is not for me to
decide...) and at correct size, too.


On the other hand, of some reason my cover page now thinks that
righttop is located at the right top of the text area, but the wiki
says it should always refer to paper edge. Is this because of the
command \placelayer or have I just piled things up in the wrong order?


...almost there...


Mari
(and now out to the darkness and horizontal sleet, could we get some
real snow, please?)


maoutput_cover_mari.tex
Description: TeX document


maoutput_cover_test_willi.tex
Description: TeX document
___
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] Pagemakeup? Was Re: Layers + simplefonts: Using different font in layers?

2011-12-12 Thread Mari Voipio
On Fri, Dec 9, 2011 at 16:52, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 \placelayer use the area of the current block (in this case the text are), 
 one way out of this is to use the “pagemakeup” environment where all margins 
 are set to 0pt.

There were no results matching the query.

Create the page pagemakeup on this wiki!

i.e. the Garden can't help here - anybody have time to give me a quick
pagemakeup for dummies? I should be fairly content with couple of
minimal examples, mostlyI manage to elaborate from there once I get
the first thing working.


Thanks,

Mari
___
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] context instal

2011-12-21 Thread Mari Voipio
On Wed, Dec 21, 2011 at 21:36, Marek Jirkovský mara.jirkov...@gmail.com wrote:
 I just
 wonder to have some easy installing package, cause these things - i never
 liked them. it's evil.

There was, but unfortunately it has been broken for a while, it just
couldn't keep up with the software.

It is both an advantage and a disadvantage to ConTeXt that it is a
rapidly developing system. That gives it a lot of flexibility and we
users can have close contact with the developers, so if you wish for
something, you may actually get it, too. On the other hand this means
that things are continuously on the move and sometimes you have to
readjust your coding or your installation to fit the bill.

It also seems that somewhere there's still a link to that old wiki
page on Windows installation, I thought I'd killed them all... Here
are the instructions that worked in September-October 2011, when I
installed a few Windows 7 machines. Unfortunately it still involves
fiddling a bit with file paths, but you only need to do this once;
after that updating is pretty smooth (if the beta isn't broken in some
other way...).

http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe


As the only TeX system I use is ConTeXt, I've been running ConTeXt +
SciTe combo almost from the moment it became available, and I've been
reasonably happy with it most of the time. I admit that when I
migrated my work stuff from Word to ConTeXt, the learning curve was
very steep - and again this week I've spent several hours cursing
non-existent documentation and trying to figure out in what order to
do things. BUT once I get things to work in the way they should,
upkeep is usually easy and I don't risk getting my graphics heavy
files broken like what used to happen with Word. [Just had to go
through another round of fighting over my right to use ConTeXt for
what I do, but it seems that I won this round. Money talks, too,
installing ConTeXt + SciTe on five computers is a lot cheaper than
doing the same with InDesign...]


Hope this helps,

Mari Voipio
ConTeXting in Windows since around 2003
___
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] Problem with \insertpages

2011-12-22 Thread Mari Voipio
Hello!

After I got my layers (i.e. covers) organize, I ran into some
postprocessing problems.

This used to work, I've last used it just a month ago.

\setuppapersize[A5][A4] %individual page A5 size, print size A4
\setuparranging[2UP,rotated] %makes a single booklet when folded
(duplex printing!)
\setupoutput[pdf]
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]
\setuppagenumbering[alternative=doublesided]

\starttext

\insertpages
  [pr-33-gp.pdf][width=0pt]

\stoptext

[see also http://wiki.contextgarden.net/Including_pages_from_PDF_document]

It no longer works, I just get a pdf with blank pages, even though the
input pdf is fine.

If I remember to tell my SciTe to Process and Arrange, it definitely
tries to arrange the pages, but something just goes wrong (the whole
log is attached).

First it goes
pr-33-gp.pdf
pagesflushing realpage 51, userpage 51
 pr-33-gp.pdf
pagesflushing realpage 52, userpage 52
 pr-33-gp.pdf
pagesflushing realpage 53, userpage 53
 pr-33-gp.pdf
pagesflushing realpage 54, userpage 54
 )

Then it does
system   48.48 arranged at 48
system   49.49 arranged at 49
system   50.50 arranged at 50
system   51.51 arranged at 51
system   52.52 arranged at 52
system   53.53 arranged at 53
system   54.54 arranged at 54
system   55.55 arranged at 55
system   56.56 arranged at 56

And then: just blank pdf, 28 A4 portrait pages of nothing.


It's quite possible it's my code that sucks and it shouldn't have
worked in the first place, but I'd love to find out how to fix it. :-)
It is not critical per se as I can do some stuff in Acrobat, but in
the long run I'd better get this to work.



Thanks,

Mari


pr-33-gp_booklet.log
Description: Binary data
___
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] Newest ConTeXt in Windows7: kpathsea60.dll is missing ?

2011-12-28 Thread Mari Voipio
So,

I went and updated my ConTeXt today as I've got nothing really
critical going on.

I'm running ConTeXt on Windows 7 (64-bit) and I used

firstsetup.bat --modules=all

to update it. Everything works fine otherwise, but during the
installation process both mpost.exe and pdftex.exe complain that The
program can't start because kpathsea60.dll is missing from your
computer. Try reinstalling the program to fix this problem.

I've never seen that complaint before, but now I get it  consistently,
also after rebooting and updating directly after restart. Both
eventually stop complaining after I'd clicked on OK multiple times
(yes,yes, just go on, will ya).


It doesn't seem critical (I don't use MetaPost and I run MKIV anyway)
- or at least the first test file compiled without complaints, but now
I'm wondering whether my Windows has a problem (MS update related,
maybe?) or whether the Suite has a problem in Windows. And my ConTeXt
is the newest available, because I'm now running version ConTeXt  ver:
2011.12.23 09:52 MKIV and that's more recent than my most recent
working day before this. :-)


Thanks,

Mari
___
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] Newest ConTeXt in Windows7: kpathsea60.dll is missing ?

2011-12-28 Thread Mari Voipio
On Wed, Dec 28, 2011 at 12:20, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 I'm just a tiny bit confused since I'm not sure if any other binary
 still needs the old kpathsea. I think that both should be present at
 the moment, but I didn't properly fix everything yet.

 Can you please try if it at least works?

Running plain MKIV works as well as can be expected (I think I just
found a bug elsewhere...), but unfortunately I do not have a clue
about MetaPost, so can't check that. And I seem to have forgotten how
to force ConTeXt to run MkII (pdftex) instead of MkIV (LuaTeX)!


So I'm good for now, for me that's just on the annoyance level as
the update won't stick to running in the background. But other than
that, I'm not bothered on the moment. :-)


Regards,


Mari
___
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] 2UP broken or changed?

2011-12-28 Thread Mari Voipio
On Thu, Dec 22, 2011 at 11:16, Mari Voipio mari.voi...@iki.fi wrote:
 After I got my layers (i.e. covers) organize, I ran into some
 postprocessing problems.

OK, back to work and I could dig deeper into the problem. It turns out
that inserting and filtering pages from a pdf file works fine and most
of imposition works out, too, and I even managed to create some fancy
folding booklets with 1*8 (thanks, Willi, for the lecture you gave at
CM4 on this stuff!), but my 2UP refuses to work.


This works:

\setuppapersize[A5][A4,landscape] %individual page A5 size, print size A4
\setuparranging[2SIDE]

\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]

\starttext

\filterpages
[maoutput.pdf][1,3,5:22][width=0pt]

\stoptext


This works, too:

\setuppapersize[A5][A3]
\setuparranging[2DOWN]

\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt,
  marking=on]

\starttext

\insertpages
  [maoutput.pdf][width=0pt]

\stoptext


However, if I switch to 2UP on either (2SIDE or 2DOWN), I get ten
pages of nothing. Or rather, on the latter I get 10 pages of cut marks
as marking is on.



I'm running the newest beta, from December 23. The problem is not
critical (at least not yet), although if I get the A5 - A4 booklet to
work on ConTeXt, it'll speed up a few processes (and shorten our
printing queues...).



Thanks,

Mari
___
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] Newest ConTeXt in Windows7: kpathsea60.dll is missing ?

2011-12-28 Thread Mari Voipio
On Wed, Dec 28, 2011 at 19:37, Hans Hagen pra...@wxs.nl wrote:
 just add a first line to the file:

 % engine=pdftex

I think clueless me missed a space there...


MkII fails miserably due to pdftex missing that .dll file:


mtxrun --autogenerate --script context --autopdf hello.tex
TeXExec | processing document 'hello.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello.top
TeXExec | using randomseed 1134
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en.mkii
TeXExec | runtime: 7.997
Exit code: 1


...and I tried something as complicated as

% engine=pdftex

\starttext

Hello world!


\stoptext




thank goodness we've already decided to migrate everything over to MkIV...



Mari
___
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] SciTE configuration to use mkiv instead of mkii

2012-01-03 Thread Mari Voipio
On Tue, Jan 3, 2012 at 05:52, Peter Park Nelson
peter.park.nel...@gmail.com wrote:
 Hello, I installed and configured SciTE today to try it out.

How did you do the configuration part? I.e. did you follow the (AFAIK)
up-to-date instructions at
http://wiki.contextgarden.net/Windows_Installation:_ConTeXt_Suite_with_SciTe
or some other version?

At least when I do a clean install in Win according to those
instructions, my system automatically uses MkIV, I have to force it to
use MKII if I really need that. I do have a few files still that try
to use MKII, but that's because I have

% engine=pdftex

on the very first line of the file. Once I delete that, LuaTeX steps in.


Note. If you had an old SciTe installation, your user directory may
have stuff that confuses SciTe, now you should only have configuration
files in the SciTe program file.

BTW, Hans advised me to use Ctrl+F12 to compile in my Win7+Ctx+SciTe
combo, so I've been using that since this summer - don't know how much
difference it makes, but you can always try it, too...



Hope this helps,

Mari
___
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] current beta

2012-01-10 Thread Mari Voipio
On Tue, Jan 10, 2012 at 11:18, Hans van der Meer havdm...@xs4all.nl wrote:
 Downloading and installing the current beta fails with:

Maybe an OS related problem? I updated my Win7 this morning and at
least all the basic stuff seems to work, no major failures this far.


Mari
(yes, the dummy Windows user)
___
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] beta

2012-01-10 Thread Mari Voipio
On Sun, Jan 8, 2012 at 19:40, Hans Hagen pra...@wxs.nl wrote:
 I uploaded a new beta. Apart from some fixes the core font/type modules have
 been cleaned up so there might be temporary font side effects.

Looks like \showsetups got broken...


! Undefined control sequence.

system   tex  error on line 6 in file fico_booklet.tex:
Undefined control sequence ...

 1
 2 \setuppapersize[A5][A4,landscape] %write on A5, put two onto A4 sheet
 3 % \setuparranging[2UP,rotated,doublesided]  %booklet arranging
 4 \setuparranging[2UP]  %booklet arranging
 5
 6   \showsetups
 7
 7
 8 \setuplayout
 9   [backspace=0pt,
10 topspace=0pt,
11width=middle,
12   height=middle,
13 location=middle,
14   header=0pt,
15   footer=0pt]
16 \setuppagenumbering[alternative=doublesided]


\font_helpers_low_level_define ...mexpr \textface
  \relax \else \d_font_scale...
\font_basics_define_font_without_parameters ...ic
  \csname \v_font_identifier...
\font_basics_defined_font_yes ...edefinedfont}{#1}
  \thedefinedfont \the \ever...
argument ...artreadingfile \startnointerference
  \cleanupfeatures \readfile...
\firstofoneargument #1-#1

\dofetchruntimecommand ...\doglobal \setflag {#2}}
  \ifx #1\undefined \writest...
l.6 \showsetups

?
Process failed to respond; forcing abrupt termination...
Exit code: 1



I double-checked with a file that definitely compiled today: as soon
as I uncomment \showsetups in the setup area (=beg of file), it
fails...



Mari
I don't use it often, but I'm pretty sure it worked in the Dec 23
version and it doesn't on the ConTeXt I installed this morning.
___
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] beta

2012-01-10 Thread Mari Voipio
Also, now 2UP fails totally:

system   tex  error on line 1 in file fico_booklet.tex:
Undefined control sequence ...

 1   \setuppapersize[A5][A4,landscape] %write on A5, put two onto A4 sheet
 2 % \setuparranging[2UP,rotated,doublesided]  %booklet arranging
 3 \setuparranging[2UP]  %booklet arranging
 4
 5 % \showsetups
 6
 7 \setuplayout
 8   [backspace=0pt,
 9 topspace=0pt,
10width=middle,
11   height=middle,


\meta_grab_clip_path ...ght \ifcsname \??mpmpclip
  #1\endcsname \meta_start_c...
\dostartclipping ... \width \height l 0 \height l}
  \pdfliteral {q 0 w \MPclip...
\grph_clip_yes_finish ...cpmp \!!dimena \!!dimenb
  \box \nextbox \dostopclipp...
\page_boxes_apply_clip_print_indeed ... ]{\box #2}
  }}\wd #2\scratchwidth \ht ...
\handlearrangedpage ..._print_left \arrangedpageB
  \box \arrangedpageB \page_...
\@@ar@@1 #1#2-\handlearrangedpage
   \bgroup \paperwidth \arrangedpageX \paper...
...
l.27 \stoptext

?


(That \setuppapersize works alone, but if I try adding 2UP to it, no hope...)



Mari
(who thankfully doesn't need it that badly - yet)
___
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] beta

2012-01-12 Thread Mari Voipio
On Tue, Jan 10, 2012 at 13:05, Mari Voipio mari.voi...@iki.fi wrote:
 Also, now 2UP fails totally:

This morning I updated my ConTeXt to assumably newest version (ver:
2012.01.11 14:58 MKIV  fmt: 2012.1.12) and it is back to square 1 with
2UP: it doesn't hang, but the resulting A4 landscape sheet file only
contains blank sheets.

I also found, that e.g. the following works if I force MKII, but MKIV
crashes on it, and it did not do that on Tuesday:


\setuppapersize[A6][A3,landscape] %individual page A6 size, print size A3
\setuparranging[1*8] %makes an 8 page gathering when folded (duplex printing!)
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]

\starttext

\insertpages
  [file.pdf][width=0pt]

\stoptext



Log message:
system   4.4 arranged at 4
! Missing { inserted.

system   tex  error on line 16 in file
seremoniakirja_booklet.tex: Missing { inserted ...

 6width=middle,
 7   height=middle,
 8 location=middle,
 9   header=0pt,
10   footer=0pt]
11
12 \starttext
13
14 \insertpages
15   [Aarni_seremoniakirja.pdf][width=0pt]
16 
17 \stoptext

to be read again
   \hbox
\grph_rotate_finish_indeed -\hbox
   \bgroup \ifx \p_rotation_rotation \empty ...
\syst_boxes_with_next_box ...rotate_finish_indeed
  \egroup \egroup
\handlearrangedpageXandY ...80\fi }\hbox {\box #1}
  \vfill }\wd \scratchbox \z...
\pusharrangedpage ...eXandY {#1}131\arrangedpageA
  \or \handlearrangedpageXan...
\page_shipouts_arrange ...rrangedpage \scratchbox
  \deadcycles \zerocount \en...
...
l.16


___


Good news is that I obviously can rely on MKII to postprocess pdf:s
(2UP works there, too), so my somewhat urgent current project just
became unstuck. :-)




Regards,

Mari
___
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] Surprising changes in vers. 2012.01.11

2012-01-12 Thread Mari Voipio
On Wed, Jan 11, 2012 at 14:22, Steffen Wolfrum cont...@st.estfiles.de wrote:
 testing the current beta gave me several errors and Undefined control 
 sequence,

Yep. This is my newest find (and this code worked last week...):


:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
! Illegal unit of measure (pt inserted).

system   tex  error on line 212 in file fico.tex: Illegal
unit of measure (pt inserted) ...

202 % paragraph formatted right for the specification itself
203 \definetabulate[specstable][|il|p|]
204 \setuptabulate[bodyfont=8pt]
205
206
207
208 % -- COVERS, generic settings -
209
210
211 \definelayer[etukansi]
212   [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
213
214 \definelayer[takakansi]
215 [x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
216
217 \useexternalfigure[kplogo][kplogo][width=4cm]
218 \useexternalfigure[fico_cover][fico_cover_graphic]%[width=4cm]
219
220
221
222

to be read again
   h
l.212 [x=0mm,y=0mm,width=\paperwidth,h
  eight=\paperheight]
?



Regards,

Mari
___
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] new beta

2012-01-17 Thread Mari Voipio
On Mon, Jan 16, 2012 at 19:47, Hans Hagen pra...@wxs.nl wrote:
 I uploaded a new beta. This time a couple of fixes + some reorganization of
 font related code. More to follow.

There's something fishy somewhere in the fonts or the simplefonts
module, because a file that worked last week now gets

.
c:/windows/fonts/arial.ttfc:/windows/fonts/ariali.ttfC:/context/tex/texmf/fonts/opentype/public/lm/lmmath-regular.otf
!LuaTeX error (file
C:/context/tex/texmf/fonts/opentype/public/lm/lmmath-regular.otf):
Parsing CFF DICT failed. (error=-1)
 == Fatal error occurred, no output PDF file produced!




It's a complicated history with layers and stuff and I couldn't
straight out isolate the cause of the problem, but I've never seen
this CFF DICT complaint before. :-)



Mari
___
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] What’s your favorite command?

2012-01-31 Thread Mari Voipio
I'm with Mikael in that natural tables is one of the things that has
made a real difference to my ConTeXting, and I no longer hesitate with
adding tables to the my documents.

My current favourite is probably \usemodule, especially
\usemodule[simplefonts]. Being a Windows dummy and working mostly in a
standard (M$) Office environment, the Simplefonts module has taken a
lot of sweat out of coding.

In my non-working life as a half-professional craftster and budding
publisher I'm learning to enjoy playing around with \setuplayout; the
learning curve is sometimes pretty steep, but it still beats fiddling
with Word because once you get something right, it stays right. :-)


Mari
___
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] Getting changing/random graphics?

2012-02-15 Thread Mari Voipio
Hello all,

I'm trying to do something that should be possible and I think
variables is the answer, I just can't figure out how.

I have a pile of photos (jpg) in a directory and the assumption is
that they are all the same size and there's a spot for the photo on a
layer at the top of the page. I already found out how I can get
ConTeXt to draw the layer separately for each page (at
http://wiki.contextgarden.net/layers#Use_dynamic_content), but I think
I need a variables for dummies page...

This time I'm not too picky, the images can be used randomly or in the
order they are in the directory and then cycled, I'd just like to use
more than one (and I'm so not doing every page by hand).


So, if I have

photo1.jpg
photo2.jpg
photo3.jpg
photo4.jpg


and \dorecurse{10}{insert random photo here}, how do I do it?


Thank you,

Mari
___
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] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
Hello!

I'm trying to place dynamic content on a layer and now it turns out
that while getting a different pic every time is easy, getting the
layers redrawn wasn't that simple. The wiki has this code:

\definelayer
  [pagenumber]
  [width=\paperwidth,
   height=\paperheight,
   preset=middle,
   state=repeat]

\setlayer[pagenumber]{Page \pagenumber}

\setupbackgrounds[page][background=pagenumber]

\starttext
\dorecurse{4}{\page[empty]}
\stoptext



AFAIK, that should be a complete  minimal sample. Unfortunately it
doesn't seem to work, at least my ConTeXt MkIV of February 8 only
gives Page 1 on every one of those 4 pages...


How to fix this? Preferably on the Dummies level, I'd prefer not to
see the bowels of my ConTeXt, if I can avoid it.



Thanks,

Mari
___
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] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
On Tue, Feb 21, 2012 at 13:06, Marco net...@lavabit.com wrote:
 This is an example of how it's *not* going to work:

Doh! Either I can't read or I can't copy Sorry for the waste of bandwidth!
The correct example works fine - however, I tried something similar in
my file and it didn't work; but there are so many things that can have
gone wrong as my understanding of layers in ConTeXt is still pretty
shaky. (I understand layers as concept as I've done my share of vector
drawing, I just can't translate that knowledge into ConTeXt, at least
not yet.)
Which is why I needed to backtrack a bit and start from something
simple that works.


I added comments to the examples on the wiki so the next person doing
a careless copy-paste won't fall into the same pit. :-D


Slightly red-eared,

Mari
___
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] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
On Tue, Feb 21, 2012 at 13:53, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Here is a slightly different version which is better when you need more 
 dynamic layers.

Hey, I can get it to work. Will take more than a bit of effort to
understanding it, but at least I got it wikified (hopefully correctly)
so I can find it later...
(http://wiki.contextgarden.net/Layers#Use_dynamic_content)


Thank you,

Mari
___
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] Getting changing/random graphics?

2012-02-21 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:53, Marco net...@lavabit.com wrote:
 On 2012-02-16 Mari Voipio mari.voi...@iki.fi wrote:

 So, if I have

 photo1.jpg
 photo2.jpg
 photo3.jpg
 photo4.jpg

 and \dorecurse{10}{insert random photo here}, how do I do it?

 \dorecurse{4}{\externalfigure[photo\recurselevel]}

 Beware, \recurselevel  counts go  like this  1 2 3 4 5 ….  If your
 photos are not numbered according to this scheme, the 10th picture
 will bite you.

Beautiful, it works - and I even understand it. :-) And I managed to
figure out by myself that I can do a nested \dorecurse to multiply
this:

\dorecurse{3}{\dorecurse{6}{\externalfigure[pikkukuva\recurselevel][height=25mm,frame=on]}}


My not be the most elegant (or fastest compiling!) solution, but this
one I can definitely get to work and it'll suit my purpose well
enough.


Thank you,

Mari
___
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] Getting changing/random graphics?

2012-02-22 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:50, Hans Hagen pra...@wxs.nl wrote:
 On 16-2-2012 07:43, Mari Voipio wrote:

 I'm trying to do something that should be possible and I think
 variables is the answer, I just can't figure out how.


 attached .. (will be in test suite)

It works. :-)
However, this one apparently uses each pic only once and after that I
just get dummies. Nesting this \dorecurse didn't work (not that I
expected it to, but had to try anyway) - how to tell this code either
when you've used up all the photos, start over or add any random
graphic in this directory?

It looks like I'm going to have 50-100 pages, so if there are 10-15
graphics and they are added completely at random, the likelihood of
each one to appear at least once is pretty high (at least according to
what I remember of my probability math). Thus I won't need any
complicated checkups, any old randomizer in the take a card out of a
bag and put it bag sense should do the trick; I'm just not used to
doing this type of stuff, so I cannot even fathom where to start!


Hmm... I'd like to include besides png and jpg also vector graphics in
pdf format, but obviously I need to exclude any pdf documents in the
same directory. Of course one solution is to put the graphics into a
separate directory, but if I only want to included .png, .jpg and .pdf
with a certain name (like 33s-sensor.jpg, 33s-cutthrough.pdf, etc.),
how should the lua code then look like? The name can be written into
the code, as long as I put decent comments in, I should be able to
adjust it as needed.

(File size shouldn't be a concern, the graphics are going to be 2-2.5
cm tall and once I've collected the appropriate graphics, I'll make
sure the bitmaps are fit for this use. Besides, I'll be using a print
shop and they get a lot worse than anything I can produce with
ConTeXt...)



In a need-to-know mode,

Mari
___
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] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist

2012-04-04 Thread Mari Voipio
On Wed, Mar 28, 2012 at 15:33, Jan Heinen jahei...@gmx.de wrote:
 It's not perfekt jet - but it helps to get more information to each command
 and to integrate the wiki and the mailinglist.
 What do you think about this and could it be improved?

I really like it!

However, having just used it to trawl through everything looking for
a solution (...didn't find it yet...), I do have a little wish
concerning the mailing list part - could it be possible to easily sort
the results by date or even filter them?

Because of the fast pace ConTeXt develops in and because the mailing
list existed when MkIV wasn't there yet, I've learned to skim through
the newest messages first and then going backwards if it seems
needful. Being able to sort the search results newest first or show
only the last three years would make my life easier.


But in general this is already a great improvement, thank you!


Mari
___
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] lucida ot

2012-04-06 Thread Mari Voipio
Hello!

On Fri, Mar 16, 2012 at 22:50, Hans Hagen pra...@wxs.nl wrote:
 It's now possible to order the new lucida open type (+math) fonts.

If I ask nicely, could somebody who understands these things update
the following wiki page accordingly?

http://wiki.contextgarden.net/Lucida


(I think my problem is that I can't figure out how to update the
TeXShop combo on my Mac. But it is also possible I'm being a clueless
idiot, so I'd really appreciate some extra hints.)


Giving up for tonight,

Mari
___
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] ConTeXt User Meeting / EuroTeX 2012?

2012-04-13 Thread Mari Voipio
Hello!

I know I shouldn't be asking until after BachoTeX, but unfortunately
my calendar for autumn is starting to fill up and there are things
that should be settled pretty soon. (And I can't go to BachoTeX to
sort things out there.)

The page http://meeting.contextgarden.net/2012/ says that 6CM will be
held in The Netherlands in connection with EuroTeX on October 8-12.
The page also says that the arrangers can be contacted at
euro...@ntg.nl, but that address bounces so I had to resort to the
list.

Are the dates and the place correct and so settled that I can rely on
them while planning the autumn program (both work and otherwise)? And
whom should I contact about the conference program and such things?
I've got a few suggestions for them...


nitpicking
The page title for  http://meeting.contextgarden.net/2012/ is
ConTeXt User Meeting 2009. This is mildly annoying as that is the
text that Firefox shows as tab name and I always go oops, wrong page
even though it isn't. Could somebody change that year to 2012, please?
/nitpicking


Thanks,
Mari
___
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] lucida ot

2012-04-13 Thread Mari Voipio
On Sat, Apr 7, 2012 at 00:25, Hans Hagen pra...@wxs.nl wrote:

 Just copy the *.otf files to for instance a directory
  yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot

 and then run
  mtxrun --generate

 after that
  \setupbodyfont[lucidaot]
 should work.

It does! I had a prolonged fight with my Mac about using an up-to-date
version of ConTeXt, but once I got that far, the rest wasn't that bad.

So the next for dummies question is:

If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do
I access Blackletter, Calligraphy and Handwriting?

A quick excursion into \cg and \hw didn't work out, I think I'm
missing something here...


I'd have a real use for all of the three like about right now,
recreating something from 15th and 17th century with 21st century
technology, with output in both period style and in various more
modern forms - ConTeXt should be the perfect tool for the job, if I
can learn enough to make it work :-)



Thank you,

Mari
___
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] lucida ot

2012-04-13 Thread Mari Voipio
On Fri, Apr 13, 2012 at 20:40, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 I attached a modified version of the typescript file where I added 
 calligraphic and handwriting,

That was quick! And working, of course. :-)

Not sure I like the word spacing of the handwriting font and the
kerning on the calligraphy version, but that's why we have ConTeXt,
for a bit of tweaking.
Now I can at least get started, and figure out about the Blackletter a
bit later - especially as it probably isn't appropriate style for this
project anyway, wrong time and place (and probably least legible of
these, too).


Thank you!

Mari
___
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] Project structure, (simple)font woes

2012-04-16 Thread Mari Voipio
Hello all,

I'm trying to teach myself to use the project structure. After a few
rounds of trial and error (...and stupid naming schemes...) I'm almost
there, but got stuck at my font setups.


If I do this as a single file, it works fine (Win7 and newest ConTeXt,
updated it this morning):

% FONT related setups
\usemodule[simplefonts] % to get access to Calibri  Cambria, win ttf fonts

\starttypescript[Manuals]
\definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
\definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
\stoptypescript

\usetypescript[Manuals]
\setupbodyfont[Manuals,10pt,sans]

% end of font setups


\starttext
\input knuth
\stoptext




However, if I make a really simple project structure and try to put
the above in an environment file, compiling fails. What am I missing
here?


proj-test.tex:

\startproject proj-test
\environment env-fonts-simplefonts
\product prd-test1
\stopproject


prd-test1.tex:

\startproduct prd-test1
\project proj-test
\input knuth
\stopproduct



env-fonts-simplefonts:


\startenvironment env-fonts-simplefonts
% FONT related setups
\usemodule[simplefonts] % to get access to Calibri  Cambria, win ttf fonts

\starttypescript[Manuals]
\definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
\definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
\stoptypescript

\usetypescript[Manuals]
\setupbodyfont[Manuals,10pt,sans]

% end of font setups


\stopenvironment



If I look at proj-test.log (the whole thing attached), I think the
problem is here:

loading  ConTeXt User Module / Simplefonts
+ 
C:/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.lua)
(C:/context/tex/texmf-context/tex/context/base/type-imp-cambria.mkiv)
(C:/context/tex/texmf-context/tex/context/base/type-imp-cleartype.mkiv)
fontsdefining  font with asked name
'LMMathRoman-Regular' is not found using lookup 'file'
fontsdefining  unknown font LMMathRoman-Regular, loading aborted
fontsdefining  unable to define LMMathRoman-Regular as
[Manuals-10pt-mm-mr--3]
fontsdefining  font with asked name
'LMMathRoman-Regular' is not found using lookup 'file'
fontsdefining  unknown font LMMathRoman-Regular, loading aborted
fontsdefining  unable to define LMMathRoman-Regular as
[Manuals-10pt-mm-mr--2]
fontsdefining  font with asked name
'LMMathRoman-Regular' is not found using lookup 'file'
fontsdefining  unknown font LMMathRoman-Regular, loading aborted
fontsdefining  unable to define LMMathRoman-Regular as
[Manuals-10pt-mm-mr--1]


But why? What is it I should do differently? ...I wouldn't even need
any math fonts...


Regards,

Mari


prd-test1.log
Description: Binary data


proj-test.log
Description: Binary data


prd-test1.tex
Description: TeX document


proj-test.tex
Description: TeX document


env-fonts-simplefonts.tex
Description: TeX document


test_simplefonts_Manuals.tex
Description: TeX document


test_simplefonts_Manuals.log
Description: Binary data
___
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] Project structure, (simple)font woes

2012-04-17 Thread Mari Voipio
On Mon, Apr 16, 2012 at 14:19, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 You load the simplefonts module but you don’t use it, instead you try to 
 define a typescript the old.

See, I *was* being stupid. Now it works perfectly. And I found all the
additional info I'll need now in the new Font manual/chapter, book
page 34-35. Just hadn't thought to look for it...


Thank you!


Mari
___
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] lucida ot

2012-04-18 Thread Mari Voipio
Hello,

more font dummy questions about using Lucida OT...


On Fri, Apr 13, 2012 at 21:06, Mari Voipio mari.voi...@iki.fi wrote:
 Now I can at least get started, and figure out about the Blackletter a
 bit later

It turns out that I need it rather sooner than later as it is used in
my source of inspiration. But I just can't figure out how to use it!
(Otherwise this is good news because gothic hand is my least bad
calligraphy font, so the handwritten copy of the book might be
somewhat representable, although I trust ConTeXt to make the nicely
typeset versions.)


I know that I've managed to use a Gothic or Fraktur font once upon a
time (long, long ago in texexec), but don't have a clue how. The font
chapter of the manual mentions macros \goth and \frak, can they be
used somehow? I'd call the Lucida Blackletter Gothic, but I'm not
picky...

The file is called LucidaBlackletterOT.otf and the font name (I
assume) is Lucida Blackletter OT - and there's only a Regular
available (which is correct as the Gothic lettering should always
stand straight, without any slant). All the other fonts in the family
work, I just need to find out how to load the Blackletter for one
product in my project.



Thanks in advance,

Mari
___
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] lucida ot

2012-04-20 Thread Mari Voipio
On Wed, Apr 18, 2012 at 14:37, Mari Voipio mari.voi...@iki.fi wrote:
 Now I can at least get started, and figure out about the Blackletter a
 bit later

 It turns out that I need it rather sooner than later

ARGH, I give up!

ConTeXt finds the Lucida Blackletter OT font on my system (Mac OS X), because:

mtxrun --script fonts --list --all --pattern=Lucida*

says (among others)

lucidablackletterot lucidablackletterot
 /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf
lucidablackletterotnormal   lucidablackletterot
 /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf
lucidablackletterotregular  lucidablackletterot
 /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf



But whatever versions of font synonyms and typescripts and all other
commands I try, I always get something like
 typescripts  unknown: library 'blackletter

I'm sure I'm missing something really elementary here, but what?

This is one of my more recent attempts at calling for the font:

\starttypescript [rm] [blackletter]
  \definefontsynonym [Serif]  [file:LucidaBlackletterOT.otf]
\stoptypescript

\definetypeface [blackletter]   [rm][serif] [blackletter]

\setupbodyfont[blackletter]



Any ideas of what I'm doing wrong?


TIA,

Mari
___
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] lucida ot

2012-04-21 Thread Mari Voipio
On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT]

 \setupbodyfont[lucidaot]

 \starttext
 Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright
 \stoptext


...and of course it works... :-)


Thanks a million,

Mari
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-04-23 Thread Mari Voipio
Hello all,

any graphic experts around who can bump me past a stupid hinder on my
way to understanding MPgraphics?


I'm trying to create a system of describing certain type of braiding
patterns (fingerloop braiding), based on what has been used in the
field before me - but they did it all manually either by pen or
computer, and I just do not fancy doing 40+ patterns by hand in
Inkscape, especially as my pattern recipe book keeps expanding and I'm
planning on that, too.

I think Metapost could be the solution, because I need simple shapes
and sometimes complicated but well-regulated paths/arrows to go
between them; I'm just being a clueless newbie, too much in the
WYSIWYG vector graphics mode to really know what to do.


Mostly with the examples in the Metafun manual I've managed to get as
far as to my basic building block, two circles joined by a curve:


\startMPpage
path p, q, r ;

p := fullcircle scaled 8mm ;
q := p shifted (0cm,24mm) ;
r := center p .. (12mm,12mm) .. center q ;

pair pr, qr ;

pr := p intersectionpoint r ;
qr := q intersectionpoint r ;

r := r cutbefore pr cutafter qr ;
r := r cutends 0.2mm ;

draw r withpen pencircle scaled 0.2mm withcolor black ;
draw p withpen pencircle scaled 0.2mm withcolor black ; fill p withcolor white;
draw q withpen pencircle scaled 0.2mm withcolor black ; fill q withcolor black;
\stopMPpage



However, I don't seem to be able to find the answers to the next questions:

a) I need to be able to stack four of these on top of each other and
then four mirrored ones next to them (all-in-all a 2 x 4 grid/block),
and probably a 1-block space between the two columns. I realize I can
do that with shift, but should I make my single 'building block' a
group, a buffer or overlay or something else? Keeping in mind that I
will have to be able to draw a path/arrow on top, so I need to know
where they are.
(At some point I need to expand to more columns, but the number of
rows is still 4 as we have humans have just four aligned fingers per
hand - thumbs aren't counted - but one can add hands i.e. people to
work wider braids.)


b) The circles p and q can be filled with the same colour or two
different colours, and each of the blocks in a pattern can have
different fill colour (e.g. two totally black, two totally white, two
half-and-half with either black or white on top). The pen/outline
colour should stay as black, which means that I can't implement the
symbol example in the Metafun manual (the smiley that is totally
switched from black to red).
I don't mind having different blocks for monocoloured and bicoloured
versions, but it would be nice to be able to say something like
\usesloop[lh,blue] for 'take a single-coloured left-hand loop in blue'
instead of having to dig deeper into the MP code every time.

I assume the answer is use variables, but how?



I used millimeters here because it just feels more natural to me,
that's what textile crafts does (when not based on inches like
quilting and scrapbooking...). The measurements won't be shown
anywhere - these are graphs or pictograms, not real pictures - so I
can still switch to using something else. Besides, if the building
block approach works, there isn't that much to be changed, get the
first block right and the rest can be calculated from there.



Any ideas on how I can achieve the ease that surely exists somewhere there?
I'll take plain Metapost or a combination of Metapost and Metafun +
ConTeXt as I'll use ConTeXt anyway to achieve multi-format output with
a minimum of fuss.



Help thankfully received, as always,

Mari



PS. Today's craft related metaphor: I feel just like I was staring at
a messed up skein of yarn: I know  that I'm now holding one of the
ends, I thus can start to untangle the knot - and the more I pry
loose, the less there's left to sort out. However, in the beginning
the process tends to be very slow and awkward...
___
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] Reducing inter-character spacing?

2012-04-24 Thread Mari Voipio
Hello,

here comes yet another I could do this in Word but can't figure it
out how ConTeXt does it font-related question:

How can I reduces inter-character spacing in a font?
I've found out that the spacing can be temporarily expanded by
\stretched{}, but what's the opposite and how to control it? And I
want to do it all over one product in my project, but on the other
hand I don't need to reset it for any individual words or anything.

(I assume that if the overall inter-character spacing is reduced,
inter-word spacing will follow, but if not, I need to be able to
reduce that, too.)


I guess it isn't easily available because I'm not really supposed to
be cramping the nicely designed fonts, especially not my nice new
shiny Lucida OT - but I'm trying to create something in the style of
past centuries when the style and requirements were different from
today's.
I've decided to use ConTeXt just because it should allow me to produce
both the period-looking-but-illegible and
nicely-typeset-modern-but-actually-usable versions of the same
project. :-)


TIA,

Mari
___
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] Reducing inter-character spacing?

2012-04-24 Thread Mari Voipio
On Tue, Apr 24, 2012 at 18:20, Marco net...@lavabit.com wrote:
 \definecharacterkerning [narrow] [factor=-.1]

 \starttext

 \setcharacterkerning [narrow]
 \input knuth

 \stoptext

This did the trick - and -.1 was just enough to dense the text up but
not into total mess (-.2 was definitely Far Too Much).


 Watch out, this mechanism breaks ligatures.

Doesn't matter in this case, I'm not that good at them when doing this
by hand (involves ink, steel nib and too many splotches). My kerning
still sucks big time in hand calligraphy, ConTeXt does it better.  :-D
Besides, if I ever want to do this really properly, I'll have to
define my own ligatures anyway, they had all kinds of weird
abbreviations which depend on whether you write English, Latin or
Swedish... Won't happen this round, the contents won't be in fully
period style either, just in the inspired by range. Maybe for
September.



Thank you, this admirably solved that little problem!


Mari
___
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] lucida ot

2012-04-24 Thread Mari Voipio
On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 You need \starttypescript[serif][blackletter] but there is a shorter method:

 \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT]

 \setupbodyfont[lucidaot]

 \starttext
 Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright
 \stoptext


OK, so I went and got stuck again...

I want to use blackletter as my bodyfont (text and headings, no
footers or headers or captions or anything else), BUT I'd prefer to
use Lucida Calligraphy OT (\cg) as the font in emphasis both for the
sake of legibility and because that is at least close to correct for
the period I'm doing.


If I do

{\lucidablackletter
  component 5-loops-broad
}

that is a) not neat and b) overrides any definition in my environment file like

\definebodyfontenvironment[lucidablackletter][em=cg]

or


\definebodyfontenvironment[default][em=cg]



I can get either or, but not both - I think I'm being a clueless
again, operating outside of the standard five font switches definitely
is uncharted waters for me... So what's the neatest way of ensuring
that when I compile this particular version of my product (with the
appropriate environment file), bodyfont is blackletter and emphasis is
calligraphy?
All the other versions will use ConTeXt defaults (or at least close),
it's just this one that needs a bit of expert help...



Thank you for your patience,

Mari
___
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] lucida ot

2012-04-25 Thread Mari Voipio
On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 \definetypeface[mainface][rm][specserif]  [Lucida Blackletter 
 OT][default][features=default]
 \definetypeface[mainface][cg][calligraphy][lucidaot]             
 [default][features=default]

 \setupbodyfont[mainface]

 \definebodyfontenvironment[default][em=cg]

 \starttext

 \input knuth

 roman {\cg calligraphic} roman {\em emphasized} roman

 \stoptext

Works fine in a single file, but as soon as I try using it in a
project environment, it hangs..

A minimal environment test file:
\startenvironment env_ms_blackletter

\definetypeface[mainface][rm][specserif]  [Lucida Blackletter
OT][default][features=default]

\setupbodyfont[mainface]

\stopenvironment



And this is what it hangs onto:

   \3mainface-12pt-mm-mr--3
\font_helpers_preset_math_family_indeed ...csname
  \scriptfont #1\csname \??f...
\font_helpers_set_math_family ...amily_indeed #1#2
  \else \font_helpers_set_ma...
\font_helpers_bidirectional_mathstrategy_nop ...r
  \textfont \c_font_fam_mr_r...
inserted text ...bidirectional_mathstrategy_nop
  \fi \font_helpers_apply_co...
\font_helpers_synchronize_math ...math_strategies
  \fi
...



(Not going to give in yet - but maybe, just maybe, I'll migrate couple
of centuries for now...)



Thank you again for your patience,

Mari
___
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] FLOWcharts - connector line length?

2012-04-26 Thread Mari Voipio
Hi,

I've just fallen in love with the chart module, my first flowchart is
almost done. I'll never draw these by hand again... Besides, it
seems that the chart module forces me to do flowcharts right, that
should help with consistency and legibility. Now I just have to read a
bit on how to do charts properly!

I've figured out about text font and box sizes and making connections
and all that, but there's one important question that I just can't
seem to find the answer for: how do I adjust the connector line
length? My labels just don't fit between the boxes and I'd have a
whole A4 for a ny=5 flowchart, so I'd have space...


(Oh, the other question is: is there a way to span a cell across
several slots on the grid? If not, I can deal with *that*, the line is
a lot more of a problem.)



Thank you in advance,

Mari
(apparently in the expand your ConTeXt skills mode this week)
___
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] FLOWcharts - connector line length?

2012-04-26 Thread Mari Voipio
On Thu, Apr 26, 2012 at 10:30, Mari Voipio mari.voi...@iki.fi wrote:
 I've figured out about text font and box sizes and making connections
 and all that, but there's one important question that I just can't
 seem to find the answer for: how do I adjust the connector line
 length?


Answering to myself - DOH.


If I put my flowcells e.g. on rows 1, 3, 5 and 7, the lines are
automatically extended to reach past the unused rows - longer
distances between the flowcells.


The fact that there is a grid does not mean one has to fill the whole
thing, wider spacing is sometimes quite ok.

Now I really do feel stupid. :-D

On the other hand, the flowchart looks good, so no complaints about
the module, once again the bug was definitely between the chair and
the screen...



Mari
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-04-30 Thread Mari Voipio
On Mon, Apr 23, 2012 at 20:34, Mari Voipio mari.voi...@iki.fi wrote:
 a) I need to be able to stack four of these on top of each other and
 then four mirrored ones next to them

OK, I really was being stupid - I had already managed to do a shift
inside a single 'block', somehow I just didn't see that I could do the
same to the blocks:



\startMPpage


picture ll ; % left-hand loop
ll :=
image (
path p, q, r ;

p := fullcircle scaled 4mm ;
q := p shifted (0mm,10mm) ;
r := center p .. (5mm,5mm) .. center q ;

pair pr, qr ;

pr := p intersectionpoint r ;
qr := q intersectionpoint r ;

r := r cutbefore pr cutafter qr ;
r := r cutends 0.2mm ;

draw r withpen pencircle scaled 0.2mm withcolor black ; % the 
connecting curve
draw p withpen pencircle scaled 0.2mm withcolor black ; fill p
withcolor black ; % upper shank
draw q withpen pencircle scaled 0.2mm withcolor black ; fill q
withcolor black ; % lower shank
);


draw ll ;
draw ll shifted (0mm,20mm) ;
draw ll shifted (0mm,40mm) ;
draw ll shifted (0mm,60mm) ;


\stopMPpage


 Keeping in mind that I
 will have to be able to draw a path/arrow on top, so I need to know
 where they are.

My little brain got an overflow from all this abstract thinking, but
then it dawned on me that I could use the millimeter grid recipe in
the MetaFun manual (p. 214) to draw a grid behind my pattern drawing.
Now placing the arrows should be a walk in the park...



 b) The circles p and q can be filled with the same colour or two
 different colours, and each of the blocks in a pattern can have
 different fill colour

 I assume the answer is use variables, but how?

Gaah, I still cannot figure it out!
A real example: one of my own patterns has white up and down on first
loop, black up white down on second, white up and down on third and
blue up and down on fourth. So I'd need

draw ll ; % and fill both circles with white
draw ll shifted (0mm,20mm) ; % and fill lower circle with white,
shifted/upper circle with black
draw ll shifted (0mm,40mm) ; % fill both circles with white
draw ll shifted (0mm,60mm) ; % fill both circles with blue


What is the shortest way of doing this? I don't mind writing
definitions earlier in the file, but I'd rather keep this part as
short as possible to be able to see the pattern at one glance. The
main problem comes from the bicoloured loops as I can't just apply the
same fill on both. And on the whole I'd prefer to make sure I apply
the fill only locally per each half-loop and not all over the place...



Getting closer,

Mari


PS. I don't have any photos of the above braid, but here's a typical
fingerloop braid that I did and need to document:
http://www.lucet.fi/2012/04/sydamellista-hearty/
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-05-06 Thread Mari Voipio
On Mon, Apr 23, 2012 at 9:04 PM, Hans Hagen pra...@wxs.nl wrote:
 beware, metapost is addictive once you get better in it,

It is. :-)

This one is to both you and Peter, because your snippets together
helped me adjust from WYSIWYG vector graphics to MetaPost - not that
I'm that far yet, but I understand a lot more than I did.

http://www.lucet.fi/textiles/


The fingerloop braiding patterns are still under construction, but I
think I now know a lot better what I need to do there. And my
fingerloop braiding suite idea was well received, so it looks like
ConTeXt will be present at Braids 2012 in August
(http://www.braidsociety.com/confer.htm); not as a talk, but as
finished materials, in poster form and, obviously, on my computer.


 (btw, a talk about this will fit nicely in the upcoming eurotex theme)

I think I already happened to promise that to Taco... I guess the
title of my talk is now TeXtile craft or TeXtiles or something
like that. You still time to make a wish or two. :-)


Definitely hooked on MetaPost,

Mari
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-05-06 Thread Mari Voipio
PS. I got this link from a friend who'd struggled with an event
registration system, but it SO applies to my MetaPost project:

http://www.howtogeek.com/102420/geeks-versus-non-geeks-when-doing-repetitive-tasks-funny-chart/


(Scary, I seem to count as geeknow...)
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-05-06 Thread Mari Voipio
On Sun, May 6, 2012 at 3:47 PM, Hans Hagen pra...@wxs.nl wrote:
 http://www.lucet.fi/textiles/


 Best change that in:

 ConTeXt, developed by the Dutch company Pragma Advanced Document
 Engineering, is open source software and avaliable as stand alone
 distribution (www.contextgarden.net) and is also part of regular tex
 distributions (like texlive).


OK, done. And I added some more stuff that I forgot originally.

Don't know if I should split the page into smaller units - but somehow
I feel that those who'll be interested in it, are capable of reading
more than one screenful. We'll see what this turns into.
Today I used my new skills with frames and the Lucida OT Handwriting
to create insides for a Mother's Day card as I needed something that
is exactly the right size. :-D



Thank you,

Mari
___
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] Metapost/Metafun Q: using variables and building blocks?

2012-05-07 Thread Mari Voipio
On Sun, May 6, 2012 at 4:52 PM, Hans Hagen pra...@wxs.nl wrote:
 You have seen this one, haven't you? Posted by Don Knuth:

 http://www.youtube.com/watch?v=YVuggGxeBVk

 So that's your next challenge.

Yes, I've seen it, had to watch the whole thing, it is so fascinating.

If I ever decide to invest in such a machine, it'll be an expensive
one that allows me to digitize my own graphics (not just ready-made
sets), preferably as vectors. In which case doing *that* isn't so much
of a challenge any more.

I've coveted one of those for a while, but currently cannot justifty
getting one, neither for fun nor for my tiny craft business as that
one is concentrated on the pre-steam era. However, I'm planning to use
MetaPost to create blackwork charts, I've got the feeling that it'll
give me neater results than any existing software. And I won't be
stuck with one OS, either. :-)


Mari
___
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] FLOWcharts - connector line length?

2012-05-08 Thread Mari Voipio
On Thu, Apr 26, 2012 at 11:08 PM, Willi Egger cont...@boede.nl wrote:
 It is not possible to make cells spanning more than one column. This is 
 related to the fact that the cells are on a grid. It is also not possible to 
 have cells on e.g. half way down/left/right.

Oh well, I can live with that. Besides, the result is probably better,
when the flowchart is governed by fairly strict rules.


 The advantage of this module is that you can number the cell relatively. Only 
 the first cell has an explicit position. So if you have to insert new cells 
 you have to look only for cells which could be outside of the grid, but that 
 is easier than to walk through the whole chart and renumber the cells.

Thank you! I already got stuck on this one, so this is a very useful
tip (to be exact, got stuck on both: first had a cell outside of the
original grid, then had to move almost half of the chart one spot to
the right...). On the moment I'm dealing with processes that have
existed for a long time but never been documented, so the flowcharts
are bit of a work in progress and even with a first sketch on paper
changes are unavoidable.


Now, to implementing all this new knowledge in Chart 2.



Gratefully yours,

Mari
___
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] FLOWcharts - connector line length?

2012-05-08 Thread Mari Voipio
On Thu, Apr 26, 2012 at 1:27 PM, Marco net...@lavabit.com wrote:

 You can adjust the distance indirectly with changing the distance
 between the cells:

 \setupFLOWcharts [dx=8ex, dy=4em]

Ah, that naming does make sense, now that I think of it. It seems that
I'm still (re)learning to think of things as coordinates, it's been a
while since school when I last needed that stuff...


 (apparently in the expand your ConTeXt skills mode this week)

 Procrastination? Sounds like if you have important stuff to do ;)

Nope. Two deadlines within the same week, for two totally different
projects; one for my real work and one for my craft hobby/business.
So my ConTeXt learning curve, based on need to know, suddenly went
upwards in a pretty steep angle, that'll probably level out soonish
while I assimilate everything gained recently.



And if I haven't remembered to say this before, I'm very thankful for
all the tips and offers for help that I've gotten, they are very much
appreciated!



Mari
(...back in the FLOWchart land...)
___
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] figures and footnotes

2006-08-29 Thread Mari Voipio


On Tue, 29 Aug 2006, Horacio Suarez wrote:
 Files are 1 bit Potoshop tif, or 8 bit photoshop tif or 8 bit gimp tif.

According to ConTeXt wiki (wiki.contextgarden.net), tif(f) is NOT a 
generally accepted file format in ConTeXt, some systems process it, but 
most don't.
As I process ConTeXt straight into pdf (in Windows, using the wincontext 
distribution), I used jpg and png as bitmap file formats and that has been 
successful this far - so you may want to try another figure file format.

See http://wiki.contextgarden.net/File_Formats for up-to-date information 
about what formats work with what configurations, the information in at 
least my version of the big manual (chapter 13) is partly obsolete.


Mari
(who's gotten her share of grey squares while working with ConTeXt...)

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


Re: [NTG-context] Making context produce dvi file.

2006-09-11 Thread Mari Voipio


On Mon, 11 Sep 2006, John R. Culleton wrote:
 But how do I get Context to produce a dvi file?

If I recall correctly from my time with TeXLive, dvi is the 'native' 
format of ConTeXt, which was less than handy with Windows
i.e. you normally get dvi by *not* telling ConTeXt to make ps/pdf. (See 
beginner manual p. 6, second paragraph.)

However, the systems have changed over the last couple of years and for 
example I now run the stand-alone WinConText that pdfs everything, whether 
I want it or not (I do, so it doesn't bother me), so this is not so 
self-evident any more. From http://wiki.contextgarden.net/First_Document I 
understand that most ConTeXt configurations now produce pdfs by default.

On Linux you might be able to find the place where your \setupoutput[pdf] 
or texexec --pdf sits, if it's in a configuration file.
On the other hand, I dug a bit into my stand-alone Windows distribution 
and didn't get any smarter by that. Now I know why my pdf opens 
automatically into Acrobat, but not how *not* to produce pdf (or ps).



That was a very good question. :-)


Mari
(...three years with ConTeXt and I sound like a dinosaur...)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Update ConTeXt + standalone distr (Windows)

2006-09-11 Thread Mari Voipio

With my new work computer I finally gave up on my old but working ConTeXt 
in TeXLive2004 and upgraded for good to the standalone distribution, run 
on hard disk. One of the new things I found in the Tools menu was the 
'Update ConTeXt' command, so today, when I'm *not* in the middle of a 
urgent project, I decided to try it out.

Good news: for the first time in my ConTeXting career, I managed to 
update my system without reinstalling the whole thing. And the very new 
ConTeXt version (today's?!) compiles my ever-important manuals without 
complaints.

Somewhat bad news: without fiddling, the updating gets stuck at unzipping 
after downloading, because 'unzip' is not in the path and that's it then. 
So it is not quite on 'Windows dummy' level yet, although real close.
Note, though, that the standalone distribution I use is about four weeks 
old, I might be complaining about something that's already fixed!


How I solved it: just today, I dug out an old tool and learned that it 
ain't gonna work without cygwin. Installed Cygwin, dumped the tool in the 
bin directory - and realized, that my cygwin/bin also contained a file 
called 'unzip.exe'. Putting it (cygwin/bin) into my Windows path didn't 
help (not a recommendable operation for standard users anyway), but then I 
realized that 'standalone' really is standalone and copied 'unzip.exe' to 
where my ctxtools.bat lives, i.e. 
\ConText\usr\local\context\tex\texmf-mswin\bin - and presto, the update 
went through. It seems to me that it even generates formats on the fly, so 
with one mouse-click I can get the most up-to-date ConTeXt.

How I think this might be solved:
In the texmf-mswin\bin directory, there is a 'gunzip.exe'. If I remember 
correctly, gunzip is fairly simple to use, so this might just mean a 
change somewhere in the stand-alone package so update would use gunzip to 
unpack the update files.
Or, as it seems to me that different types of 'unzip.exe's are public 
domain stuff, just include that in the standalone distribution and 
everything works (no other changes were needed, just bringing 'unzip.exe' 
into the correct directory.



I really like the standalone distribution. Of the many ConTeXt variations 
I've used until today's date, this year's standalone has been the most 
Windows-minded and most Windows-friendly in many ways. It works 
out-of-the-box (has less options to uncheck than Word), seems to live 
happily even under C:\Program Files and has a logic that I as a 
non-programming Windows power user find easy to follow. I no longer need 
to refer to the manual to get as far as to compile a test pdf with 
standard postscript fonts, now I can concentrate on the layout, not the 
innards of TeX.

So, even though there are slight blemishes and wrinkles to be ironed out 
like this update thing, ConTeXt in Windows is definitely becoming a nice 
package for those of us who find that Word just doesn't do what we want. 
:-)



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


Re: [NTG-context] Update ConTeXt + standalone distr (Windows)

2006-09-13 Thread Mari Voipio


On Mon, 11 Sep 2006, Hans Hagen wrote:
 ...\usr\local\context\goodies\bin

 has unzip

Not in my Windows standalone distros. :-(
The one at work is about a month old, the one at home just a week old, my 
older CD version is from April, but it's the same with all of them: in 
../usr/local/context/ the folders goodies, gs, perl, ruby and xmlib are 
empty. Ergo, the stand-alone for Windows doesn't seem to contain unzip.exe 
and thus the excellent context update feature won't work without 
fiddling.


[I know, I know, I'm being a pain in the *. But the standalone is so close 
to being accessible to the fairly average Windows user and still so far in 
these little things...]


Mari
(who *has* to stick with Windows at work anyway)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Natural table + interlinespacing

2006-10-11 Thread Mari Voipio

I'd love natural tables except for one aspect that drives me crazy: How 
do I diminish the interlinespacing in my table? That is, I want the 
lines in the multiline cells to be closer together.
The overall interlinespacing is default, i.e. I haven't used 
\setupinterlinespace in the setup of my document.



Mari
(with a #¤#¤ table that doesn't want to fit on its page)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Directories of pictures

2006-10-20 Thread Mari Voipio



On Fri, 20 Oct 2006, Jörg Hagmann wrote:

Use:
\setupexternalfigures[directory={path_to_your_figures,another_path}]


And you can even use relative paths and go 'down' in the directory tree:

\setupexternalfigures[directory={../pdf-images,../png-images}]


See also: http://wiki.contextgarden.net/Using_Graphics



Mari
(who's had her share of 'why in the bleep doesn't it found that pic')___
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-29 Thread Mari Voipio
Luuk Beurskens wrote:
 Q: Installing the minimal context distribution on a Windows 98 machine
 gives problems when copying on harddisk E:. Running the batch-file
 cscite.bat results in the following message: cscite root, e.g. cscite
 d:\copyofcdrom (more info: C: exists but D: is a non-writable linux
 partition).

This maybe a feature in your Windows installation and may occasionally 
turn up with installation from CD and such.

I've stumbled on this problem several times with earlier versions of 
Windows (95, 98, NT) - the common nominator for all was that Windows had 
been installed from CD to unpartitioned hard disk and thus the CD drive 
letter became D. After another hard drive was added or the existing one 
partitioned in two, the CD drive or similar moved to become drive E. 
Unfortunately, this kind of changes didn't always make it to Windows 
registry and thus programs still attempt to use D when they mean E.

Once upon a time I knew how to fix this in a Windows-only computer, but 
don't unfortunately remember very well any more how to do it. I think it 
involved time and some careful searching in the registry editor to get 
rid of all the obsolete D letters.


This is the main reason why I still change my drive letters in a new 
Windows to R for read (for CD reader) and W for write (for CD/DVD 
writer), so additional hard drives don't 'push' them. Nowadays I just go 
crazy with a multitude of external USB devices trying to use each 
other's drive letters or network drive letters and not showing up as 
result; I'm seriously running out of alphabets on my work XP!



Good Luck,

Mari the Windows user
___
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


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

2007-03-31 Thread Mari Voipio
List Mail wrote:
 Well, yes, this works. However, this isn't documented in *the manual*.

This is why there's an Errata page in the wiki for both the full manual 
and the Excursion. All input there is very valuable; it seems that the 
problem you found isn't entered yet...

The Errata page for Manual: http://wiki.contextgarden.net/ConTeXtEN_Errata

The Errata page for Excursion:
http://wiki.contextgarden.net/Typos_in_beginners_manual


 An up-to-date cheat sheet containing all commands and
 options or arguments would be fine.

I frankly don't know if it exists with all distributions and you don't 
state what you use, but I recently found out that my WinConTeXt includes 
a stand-alone version of TeXShow, which is very hand for this kind of 
use - and I think the program is more up to date than any paper manuals; 
the developers will be able to tell, if they make a new one for a new 
distribution of ConTeXt or just occasionally. Searching for file texshow 
might find yours (no luck on my Mac...); the online version is at 
http://texshow.contextgarden.net/

TeXShow was also discussed at the recent ConTeXt meeting and the people 
present promised to help adding explanations in there, so it should get 
better and better.

If you happen to use Emacs (any OS will do), the creator of TexShow, 
Patrick, also has a texshow browser for it, called etexshow, so you can 
easily check stuff while you write. I found it quite handy as long as I 
used Emacs for editor and I actually somewhat miss it now that I've gone 
over to WinConTeXt and SciTe.
The etexshow can be downloaded at http://levana.de/emacs/ - however, I 
don't know how up to date it is, Patrick will be able to answer that 
question better.


THIS might be what you were asking for:
There's a quick reference file that can be handy as augmentation to 
other manuals: http://www.pragma-ade.com/show-man-10.htm or, if your 
preferred language is English, directly here: 
http://www.pragma-ade.com/general/qrcs/setup-en.pdf - at least the 
English version is *very* new, dated on March 19, 2007, so it should be 
quite up to date [probably too up-to-date for my old ConTeXt 
distribution...].



Mari
(Who's found her share of problems now in errata; it IS sometimes 
frustrating!)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Microsoft Word - Context

2007-04-03 Thread Mari Voipio
Vyatcheslav Yatskovsky wrote:
 What can community say about the sensibility of my idea?And did
 anyone attempt to implement some conversion tool?

As has been mentioned (and as you can find out by searching the mailing
list archives), this pops up once in a while and has been discussed.


However, as former Word teacher and currently IT support and power user
I must say that making a really working converter that would
save a substantial amount of time is very hard.

Why? Because at least 70% of Word users don't seem to know how to make a 
clearly structured document. And even if they'd once known that, all 
Word versions newer than 97 make it very hard to keep the consistency, 
at least with the default settings (which most users never change) that
involve umpteen different yucky automatic features. I just got back a 
Word document that left with nice clean consistent styles and came back 
twice the size and a complete mess, thanks to Word2003...


For example if the user has formatted the titles by hand, the human eye
sees easily that that's top level heading and this is second level
heading, but Word thinks they are just specially formatted normal text.
Consequentely, if your converter recognizes only the built-in Heading 1
style as top-level heading, you lose that in conversion anyway (even
when converting to HTML, for example). Or, even worse, you can 
half-accidentally make new styles that count to the same level in the 
table of contents without looking like a heading... Ergo, everything has 
to be fixed by hand anyway.


If the journal you are doing is not very complicated but the problem is 
  getting a consistent quality, I'd do something like this:


1) Make a separate environment file with all the layout information 
(this is the bit that will take a chunk of your time in the first go if 
you don't have a huge amoung of experience from before.)

2) Mark the Word files (journal articles) with simple typesetting codes 
while in Word document format; i.e. add \chapter{} around the main 
title, \section{} around first level headings etc. And remember to add 
\starttext-\stoptext tags into the very beginning and end of the file; 
as environment is in a separate file, nothing is needed above \starttext.
If you write a cheat sheet with examples, almost anyone can deal with 
this, if they have any idea of how document structure works out (and 
your lady has to have it as she's done it in Word). The human eye is a 
lot better at discerning what is a heading than an automatic system.
I can even write that cheat sheet for you with references to the English 
version of Word, if that'll help.
Now, if you have a lot of mathematics in the stuff, this may be 
trickier. Although so is the use of MS Equation Editor, a reasonable 
number of examples on 'if it looks like this, typeset like this' could 
work out.
BTW, you could probably make a VBA macro to do some of the markup job - 
but it'll still only work if the original writer uses heading styles 
properly! At least in business environment this seems to be rather an 
exception than a rule, especially with the newer Words that make all 
kinds of deduction of their own and mess up with styles and heading 
levels and *everything* (frustated? me? never...) But Word's replace 
function is actually quite good, you can look for formats and do 
wildcards etc, so in theory you can do a macro that looks for 14 pt 
Arial bold and puts \section{ in front of it and } after it. [I've done 
some html conversion this way, because Word's own html is totally 
useless mess as it doesn't do css...]

Note! If your files  contain graphics, for ConTeXt you have to ask 
people to send them in separately as pdf, png or jpg (instead of putting 
them inline in the Word file). I have found *this* hard to achieve once 
in a while and I still often spend substantial time chasing down 
originals of graphics I get in Word files.


3) When the basic markup is done in the Word doc where you can see how 
the writer uses styles, save the file in text format.

4) Either make sure your typist's computer has a fully functioning 
WinConTeXt (you'll have to install and adjust a bit) with Cyrillic fonts 
and everything else, or just have her do the basic markup and then 
compile on your computer.

But a lot depends on how your journal looks and how complicated stuff it 
contains and whether your typist is willing to live with having to type 
in some strange tags, i.e. if she'll want to learn anything new.
[I've found that generally my fellow office workers don't want to deal 
with *anything* like this, but professional translators have no problems 
with ConTeXt code; and anybody with html-by-hand experience usually gets 
the drift very fast.]


Having switched a very long structured file from Word to ConTeXt, I can 
say that doing to layout and the basic markup takes some time. But in 
the long run I have saved that time many times over. For example, when I 
have to do a new manual, I can use my 

Re: [NTG-context] Section title font define

2007-04-03 Thread Mari Voipio


On Tue, 3 Apr 2007, Roy Zuo wrote:
 I do not want to use \switchtobodyfont every time I type a chapter
 title, but I have no idea how to make it a style in the setup area.

Good news is that this is fairly easily done.

The Hello World document on ConTextwiki (ConTeXtGarden) has one 
solution where the common nominators are given in one go and then more 
stuff is added separately; see http://wiki.contextgarden.net/Hello_world 
and the stuff starting with \setuphead


Now, my solution has been to define each heading level separately:

% This sets the look of the first level headings
\setuphead
 [chapter]
 [style=\sstfc,
 prefix=+]

% This sets the look of the second level headings
\setuphead
 [section]
 [style=\sstfb,
 before={\blank[2*big]}]

\setuphead
 [subject]
 [style=\sstfb,
  before={\blank[2*big]}]

% Third level headings
\setuphead
 [subsection]
 [style=\ssbf]


Note: section and subject are of same level, but section is numbered 
(1.2 etc.) while subject is not.


You can find this information and more

1) In the wiki on page http://wiki.contextgarden.net/Titles

2) In the beginner's manual (Excursion) at 
http://www.pragma-ade.com/general/manuals/ms-cb-en.pdf under 5 Headers 
(!)

3) In the big manual at 
http://www.pragma-ade.com/general/manuals/cont-eni.pdf (this is the 
interactive on-screen version) under 8 Text Elements



Now, interestingly, I cannot find any direct examples how to give point 
size to chapter heading, I'm used to doing just \tfa, \tfb and \tfc 
(somewhat bigger than standard, quite a bit bigger, huge).

However, judging from the Hello World document, this might work out:

\setuphead
[chapter]
[style={\switchtobodyfont[18pt]}] %is {} needed here?

If the text should also be sans serif (Arial etc), this might be the way:

\setuphead
 [chapter]
 [style={\ss\switchtobodyfont[18pt]}]


Yep, both of the above work at least in my ConTeXt. So I learned something 
new today! (Mostly thanks to Sanjoy's wonderful Hello World...)



This should give you a reasonable starting point, the rest you can 
probably figure out with the documentation and some testing (been there, 
done that, got it right in the end)


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


Re: [NTG-context] mirrored pages

2007-04-19 Thread Mari Voipio


On Wed, 18 Apr 2007, Horacio Suarez wrote:
 Is there a way to obtain a mirrored pdf?

Mirrored in what way? (I use Acrobat when necessary, but I'm not familiar 
with the plug-ins, which is why I have to ask...)


Do you mean mirror margins, i.e. inside and outside margins instead of 
left and right? For double-sided printing? Are you doing your pdf from 
ConTeXt source or do you just want to rearrange an existing pdf for mirror 
margin layout?

Mirror margins can be done in ConTeXt code. This wiki page gives the first 
hint on margins: http://wiki.contextgarden.net/Layout
Note that you always layout the 'odd' page, i.e the right-hand page and 
then define a double-sided layout (nb. even though the command 
\showlayout will give you several pages of layout, it will *only* show 
the right-hand layout - look at the text itself to make sure you got the 
mirror margins right).


I frankly don't know if my solution is the most elegant one, but this 
works for me:

\setuplayout
  [footer=1cm,
  backspace=5.5cm, %inside margin
  width=12cm] %textwidth, leaves 3.5cm for outside margin on A4

\setuppagenumbering
[alternative=doublesided, %this is where doublesided comes in
location={header,margin}] %pagenumber location

If you use the above page number location, the page number is placed just 
outside of outer margin in the header and you can see very easily if 
mirroring is in place.


I'm not sure if rearranging existing pdf works A4-A4, but if you need to 
do a book layout or leaflet or something similar, imposition is the term 
you want and pdfarrange can be the answer, see 
http://wiki.contextgarden.net/Imposition for more information and tips.



The other meaning for 'mirrored':
Do you, for some reason, really want to mirror a page like a mirror 
would reflect it, i.e. text backwards etc? Like for printing on t-shirt 
transfer?

I don't know if this can be done... I'd assume ConTeXt or texexec knows 
how to do it, I just haven't needed to find out (yet). :-)



Hope this helps,

Mari
(who found out about mirrored margins with the trial-and-error method 
before the wiki existed...)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] crop pdf page via \externalfigure options

2007-04-25 Thread Mari Voipio
Vyatcheslav Yatskovsky wrote:
 Is there a way to crop pdf page via \externalfigure options? (All the
 switches listed at TeXshow seem to scale an image, not to crop.)

It doesn't always seem to work for me (with various Windows-created 
pdfs), but you can try this (example from texshow-web under 
\externalfigure):


\externalfigure[whatever.pdf][size=artbox]


If I read contextgarden right, you also have the options

trimbox
cropbox
bleedbox

while mediabox is the default.


Hope this helps,

Mari
(still cropping her pdf figures with Adobe Acrobat, yuck)
___
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] Sorting index (in Spanish)

2005-08-05 Thread Mari Voipio


Dear Fellow-Contexters,

I have been charged with editing a ConTeXt document in Spanish (of which 
I understand preciously little). This far I have gotten over the hurdles 
of hyphenation, labeltexts and the upside-down exclamation mark (and as 
far as we can tell, the Spanish hyphenation patterns get loaded, too), 
but now I have a problem sorting the index: the words 'ángulo' and 
'índice' get sorted in the beginning of the index instead of among a and i.


It tried putting something like the example below in a) the setup part 
of my document, b) just before the index (a bit like in the example at 
http://www.ntg.nl/pipermail/ntg-context/2005/008346.html, except that 
I use the command \placeindex and not \completeindex) and c) in the 
lang-ita.tex file.


% Changes to sorting to fix the sorting of accented letters
\startlanguagespecifics[es]
\definesortkey {\´a}{a}{a}{\´a}  % á sorted among 'a'
\definesortkey {\´i}{i}{i}{\´i}  % í sorted among 'i'
\stoplanguagespecifics

None of the options a)-c) worked and I'm thinking that this is more of a 
 stupid user problem, i.e. as I cannot find any description on how 
\definesortkey works, I just don't understand how to use it properly.



Any help???

Mari


PS. Tried to find related info in contextgarden.net, but can't find much 
 - if it isn't there, I can add stuff (*after* I solve this problem) if 
somebody tells me where I may start growing this flower of mine.


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


Re: [NTG-context] Toward an errata sheet.

2005-09-01 Thread Mari Voipio

John R. Culleton wrote:

Perhaps we all should exchange annotations where there is a typo or
other error we have uncovered. It would be a kind of group errata
sheet.


Yes, this would be a very good idea - for example I bumped into the 
combination 'bug' so long ago that I'd already forgotten about it; but 
at a time I both knew that it existed and how to fix it, so it's kind of 
stupid that you had to stumble on the same problem.



Here's a stupid one from the big manual in English; doesn't bother me, 
but would confuse a newcomer (and yes, I checked this one with the 
online version, it still exists):


---
on p. 241 every single example says
\exernalfigure[blaa] instead of \externalfigure
  ^^^



I think contextgarden/wiki seems like an ideal place where to put these 
(that way we also avoid duplicates). I'm not very familiar with the 
system and find it somewhat hard to navigate, but if somebody points me 
to the correct direction, I'll enter anything I find in the manuals...


The beginner's manual has some 'interesting' errors, too, and I assume 
the Dutch versions have their problems too, so maybe a separate 
entry/page for each manual and language?



Sometimes a simple typo causes lots of frustration, so I'm all for this 
suggestion!



mari
(...using ConteXt to write manuals, guaranteed to come with typos, 
sometimes in awkward places...)

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


Re: [NTG-context] Header design

2005-10-06 Thread Mari Voipio

Alexander Lazic wrote:

... what i have also tryed:

\setupheadertexts[text][{Title | \getmarking[chapter]}]

which don't work because i get the following error:


At least on my computer (Mac+TeXshop) the above solution works fine - 
once you realize that a pipe character doesn't work if typed straight!
So the code in itself is correct, but you've included a character that 
has a special meaning to ConTeXt and that's why it doesn't understand you.


If you really need the pipe, I got this one to work - I don't know if 
there's a more elegant solution to the problem:


\setupheadertexts[text][{Title \type{|}  \getmarking[section]}]

(BTW, if you don't want any text on the left side of the header, do
\setupheadertexts[][{Title \type{|}  \getmarking[section]}]
instead, now it really says 'text' in the left edge of the header...)


Been there, done that - had to learn this pipe thingy the hard way, too.


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


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-04 Thread Mari Voipio

Taco Hoekwater wrote:

  What do you do with ConTeXT?


I first learned ConTeXt because of work:
My employer makes measuring instruments for industry and I write and/or 
compile and layout the end-user manuals for those instruments. 
Traditionally, those manuals were written and edited in Word, but when 
the mass of text and the amount of figures grew, it was obvious that I 
needed a new tool before becoming a total wreck due to corrupted and 
unruly Word files. A workmate had written his thesis in TeX and started 
to look for various TeX based solutions, of which I finally chose ConTeXt.


I had to stick to Windows because of work. We first tried MikTeX, but 
that just didn't work out. Then I got TeXLive and it worked - except 
fonts Hours later and with the help of the email list I finally 
found the correct combination of magical lines and there it was. And 
then somebody mentioned that I could get Emacs with Context-mode in 
Windows and that's it. That's still how I run ConteXt at work, although 
now there are easier Windows options available (not to talk about the 
Mac option...). Using Emacs usually gains points from younger nerds we 
occassionally employ. :-)


ConTeXt was the first TeX based system I've ever used, but I was used to 
using styles and had done HTML (still do it by hand), so I have some 
idea of what I was getting into. Looking back I realize that I've 
learned an awful lot of things although I often feel that I don't know 
any of the things I should. Having to do something new usually results 
in curses at the beginning, but when it works, it always works. I'll 
still use Word (and equivalents) for small stuff, but when I need 
something big and printable, ConTeXt is the tool.


My real ConTeXt moment came last summer, when I had to redo the layout 
on one of our old Word files that had been edited by somebody else in 
between. It was disgustingly difficult to the degree that I seriously 
considered cutting and pasting the whole thing into Emacs and ConTeXting 
it to my liking!



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


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Mari Voipio

Hooman Javidnia wrote:

Should I install Ruby on my machine?


Yes, you'll need both Ruby and Perl. Both are scripting languages.
You must have missed the discussion about this earlier today, but no 
problem, it got wikified:


http://wiki.contextgarden.net/Windows_Installation#Stand-alone_ConTeXt_distribution


If you like to use command interface and unix type command line tools, 
you can install cygwin on your Windows and with Cygwin you get perl and 
ruby.
Cygwin is available at http://www.cygwin.com/ - the Install or update 
now link is made for us Windows dummies, it'll tell you what to do.



So: Either follow the nine-step program given in the wiki (link above) 
or install cygwin and continue the nine-step program from step 3 
(although, judging by your question and my own experience with the same 
issue, the only things you miss at this point are Ruby and possibly 
Perl). Whichever way, somehow you need to make sure you have Ruby and 
Perl on your machine before things start to work.



Hope this helps,


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


Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Mari Voipio
It would of course help if I learned to read - I didn't exactly answer 
your question fully and I'm sorry about that. I cannot quite answer to 
all parts of your questions, but here's a bit more:



Yes, you need to have working installations of Ruby and Perl on your 
computer. If you can make them tell you their version (see the wiki 
Windows installation page), you can assume the installations work.


Then you also need to find the appropriate *.properties files the 
mscite.pdf manual explains about. I must admit that I have no idea 
whether they are included in MikTex, but the Windows search will tell 
you pretty fast if you have them or not.


It may be useful to know that the file SciTEUser.properties doesn't 
exist until you put something in there, so instruction copy 
context.properties where your SciTEUser.properties file is doesn't 
necessarily make make much sense. In the Scite I downloaded today on my 
Windows 2000, the user properties file went into my C:\Documents and 
Settings\Username folder, I think it'll do the same in XP - so put the 
context.properties into equivalent folder on your computer.



I get this far. Having copied the properties files and restarted Scite, 
the menu looks good, I have the build and compile commands and the test 
file is now recognized as tex/context. But that's it then for tonight, 
something is still missing either in my Windows path or somewhere else. 
And it's time for me to go to bed.



But yes, I'd like to know, too, how this is done. Will need to reinstall 
a computer soonish and that means reinstalling (upgrading) context into 
a brand new XP. It would be nice to try MikTeX for a change...



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


Re: [NTG-context] figure as figura

2006-02-17 Thread Mari Voipio
Quoting andrea valle [EMAIL PROTECTED]:
 What have I to do?

You'll have to tell ConTeXt to use the Italian glossary instead (and hope it's
ok...) so the labeltexts (and hyphenation) gets fixed.

This is how I do it for our Spanish manual and how I adjusted the few labeltexts
our translator didn't like; these go into the setup section of the file, before
\starttext.

% Language specific settings for the Spanish version

%Uses the Spanish hyphenation module and labeltexts
\mainlanguage[es]

% Changes the default label Illustraciòn to Figura
% as that's the term the translators preferred
% Note the space after the text!
\setuplabeltext[es][figure=Figura ]
\setuplabeltext[es][see=ver ]


I don't *know* for sure, but my somewhat educated guess is that

\mainlanguage[it]

would be the key to success for you.

See the big manual (ConTeXt the manual), pages 131-132 for more information.


(Hmm... if this isn't in the wiki yet, it should probably go there. I can do a
bit later...)


Mari



This message was sent using IMP, the Internet Messaging Program.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Natural tables: how to adjust row height/vertical spacing?

2006-04-18 Thread Mari Voipio


This may almost be a FAQ question, but I just cannot find the answer in the wiki
nor in mailing list archives: How do I adjust row height/vertical spacing in
natural tables?

In my old tables (\starttable etc.) the trick was
\noalign{\vskip-6pt}
but this one doesn't work with my natural tables. In Word I'd just adjust
linespacing and paragraph spacing in the table, but that obviously isn't the
soluction in ConTeXt - or at least I don't seem to understand enough to get it
to work.

Any ideas of what to do?
I like natural tables, but if vertical spacing isn't adjustable, I'll have to
stick to my old alternatives, tables and tabulate. If somebody gives me a
working solution (that's simple enough that I manage to implement it), I
promise to wikify it for future use...

Mari
(with lots of specifications and parts lists to fit into tables in small
print...)





This message was sent using IMP, the Internet Messaging Program.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] 2c considerations about win installer

2006-04-22 Thread Mari Voipio
olivier wrote:
 Your students can also install Ruby (single click .exe
  : Rubyinstaller from
  : http://rubyforge.org/frs/download.php/9417/ruby184-16_rc1.exe) 
 and Perl (single click .exe : activePerl
 :http://www.activestate.com/Products/ActivePerl/) whithout any pb's of
 adding new executables to the path, since it's done while installation. 

Except that I found out the very hard way, that at least Ruby installs 
nicely for a power user, but doesn't change the path unless the 
installation is done when logged in as Administrator - which may be a 
problem in a multi-user environment.

Other than that, I haven't had any problems with newer versions of the 
MSWinConTeXt distribution (the one that unzips into 'isoimage' folder). 
I'm currently running the April 10 version from CD at work and once Perl 
and Ruby got installed into the path, the system has been really easy to 
use. [I downloaded the mswincontext.zip, unzipped and burned the 
*contents* of the isoimage folder onto a CD - and that's it, then.)

Yes I agree, it is harder to put a working ConTeXt into Windows than 
into a Mac where it was *very* easy, but with Administrator rights to 
Windows2000/XP, the abovementioned Perl and Ruby installation packages 
are no problem and after that things just work.


Mari
(multi-OS user, but best in Windows)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context user meeting: 25-26 March 2007

2006-06-08 Thread Mari Voipio

Ummm... According to my calendar, in *2007*, March 25 is a Sunday and
March 26 is a Monday while the meeting program talks about Sat-Sun.

Looking at the meeting programme, maybe your intention is to have the
meeting from Friday, March 23 to Sunday March 25, 2007?


Just checking, it'll be a while before I get as far as to booking
flights...


Mari
from Finland

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


[NTG-context] Variables how-to needed

2012-07-24 Thread Mari Voipio
Hello All,

I'm looking for some for dummies information about using variables.
I tried looking for it in the wiki, but only found this Internals
page that's a bit too advantaged to me:
http://wiki.contextgarden.net/Inside_ConTeXt#Using_variables
I'm obviously missing something important, so I'd love to see a few
more examples of variables and variable input files...


What I want is price tags with the item name in Finnish and
English/Swedish and then the price. These are placed on a small page
and those small pages are then fit onto one A4 by imposition.

Like this:

Pieni nyörihaarukka, koivua   %variable 1,v-descr-fi
{\em Small lucet, beech}   %variable 2, v-descr-en

6 eur  %variable 3, v-price1

Made in xxx %variable 4, v-origin


I can do the imposition, that is not a problem - and it works a lot
better than a table, so no tables this way...
.
My data is in a list that can be converted to csv (although it'll then
have a bunch of quotes to be removed), the list format is just like
above:
Item in Finnish, Item in English, price, country of origin.

So the main problem is database/mailmerge/variablerelated: How do I
(or should I) use variables to fetch this information from a separate
spreadsheet type file, i.e. my price list?

(IF this was MS Word or OpenOffice, it would be called Mail Merge, but
in OO it sucks a bit; and I think the operation itself should be easy
if  I just figure out how to do it...


Thank you,

Mari
___
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] Using MPgraphics as externalfigures?

2012-08-01 Thread Mari Voipio
Hi All,

I'm being a bit clueless about the MPgraphics again...

I've got a pile of instructional graphics that will be used and reused
in a project. My first try is/was an unwieldy buffer construction, but
I'm sure there's a better way than

\placefigure[here]
[fig: 5 loop departed setup]
{The start position for a 5-loop braid with departed loops}
{\framed{\getbuffer[setup 5-loop basic]}}


Come to think of it, is there another way of framing the incoming
graphic? I don't want to include the frames in the MPcode as I may not
always want them, but that \framed{\getbuffer} construction is
downright ugly.


I think the solution to my problem can be found somewhere in the
\startreuseagleMPgraphic and \reuseMPgraphic, but I don't seem to be
able to figure out the last bits...


On the moment my MPgraphics have

\startbuffer[g1]
\startMPcode
...
\stopMPcode
\stopbuffer

but that's probably an overkill... And I'd really prefer to have the
graphic as just a pic so I can easily use them as external figures.


Of course one option would be to pdf the MPgraphics and then to insert
the pdf, but I'd prefer to skip that step.


Any ideas of how to do this in a smart way? Preferably without having
to go into the bowels of ConTeXt to get it done...


Thank you,

Mari
___
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] Using MPgraphics as externalfigures?

2012-08-03 Thread Mari Voipio
Hi Marco  al,

On Thu, Aug 2, 2012 at 11:34 AM, Marco Patzer home...@lavabit.com wrote:
 Read http://wiki.contextgarden.net/Metapost

I was on http://wiki.contextgarden.net/Mpgraphic which I actually
found for informative, but not quite enough for my very dummy level.


 and 3.3 Integrated Graphics in the MetaFun Manual.

*This* was my missing link (and I was being pretty stupid). I dug the
book out of my pile of ConTeXt papers and found exactly what I needed,
at the end of chapter 3.3, pages 115-117 in my paper copy.


To  answer to myself (in case somebody else ever looks for this);

At least in theory the key to the problem is to create a file
somefile.mp, then write the MP code in the file

beginfig{01}
   .
   .
   .
endfig ;
end .


The whole file is used by

\startMPrun
   input somefile ;
\stopMPrun

and the individual figure is available in the virtual file mprun.01.
Thus it can be included with
\externalfigure[mprun.01][width=0.5\textwidth] %etcetera


Page 117 even has an example of exactly the type of combination I'm
trying to achieve, so now it's just down to creating the graphic(s)
file(s). As my braiding graphics come in groups (steps and variations,
to be exact), this solution looks like a winner for now.


 \defineframed
   [graphicframe]
   [frame=on,offset=none]

 \define[1]\MPframed
   {\graphicframe{\useMPgraphic{#1}}}

 \startuseMPgraphic{first}
   fill fullcircle scaled 2cm withcolor red;
 \stopuseMPgraphic

 \startreusableMPgraphic{second}
   fill fullsquare rotated 45 scaled 2cm withcolor blue;
 \stopreusableMPgraphic

 \startbuffer [third]
   fill fullsquare scaled 1cm withcolor green;
 \stopbuffer

 \starttext
   \useMPgraphic{first}
   \reuseMPgraphic{second}
   \processMPbuffer [third]
   \MPframed{second}
 \stoptext


Thank you! I'll have to delve into this bit once the current
almost-past-deadline project is done, looks like this'll take a bit of
processing before it starts to make sense to me (my computer has no
such problems...).


Now, time for some recoding, thanks once more!

Mari
___
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] Creating a background texture with text/graphic

2012-10-29 Thread Mari Voipio
Hello all!

While staring at the pile of ConTeXt instruction book(let)s on my
desk, I realized that I should be able to use a logo or a text to
create a background texture to use in scrapbooking and cardcraft. The
problem is that my skills don't quite stretch that far and I can't
remember where I once saw the code for this...

The logo I'm thinking of is originally an Inkscape svg file that I've
this far used in ConTeXt in pdf format. Other available and compatible
vector formats are at least plain svg, ps eps and pdf.


Possible solution 1:
to insert the logo in MetaPost and use loops, rotate, shft and
randomize to create a texture. Loop+shift would make a nice
alternating background, randomized with loop and 90degree rotation
steps would make a denser texture.

The problem: I don't know how to input the logo graphic into Metapost
code. This did not work, even though the pdf is in the same directory:

externalfigure vaaka-logo.pdf scaled 1cm;

Don't know if I'm missing something here, this snippet comes from the
MetaFun manual p. 199. Unfortunately I don't have pstoedit on my Mac,
so the conversion trick on page 198 doesn't work for me.

For text there're more ideas and I think I can handle that based on
MetaFun manual p. 92 + randomize, but with the external figure I'm at
loss on how to do it.



Possible solution 2:

ConTeXt. Insert here some code I don't have a clue about. Might be
ConTeXt only or ConTeXt and Metapost/Metafun together.  Inserting the
graphic is no big deal in this case, \externalfigure will do that.


(I got almost what I wanted by tweaking an older label/imposition
file, but I have some weird margin issues there and the positioning
system is not very exact and there are a bit too many things that
affect the layout. I'd rather put stuff on a grid than just tweak it
with the location and margin settings. That's the Word way, in the
long run not the smartest way of doing things. I'm planning to use
this feature a lot, so I'd rather code something that stands for
longer.)



Feel free to point me towards the correct wiki pages, my problem may
just be that I cannot come up with the correct search term,
background is not a very good one. And of some reason the garden is
not very good at scrapbooking terms (yet). ;-)

Note. On the moment I have no need to put text on top of those
textures, and I'm not worried about that bit anyway, layers usually
work nicely there. Now I'm interested into creating a personilized
background texture onto which I can e.g. glue a chipboard shape or
paper flower or a bit of glitter. It feels stupid to pay for so called
digital stamps/textures/backgrounds when I have the tools to create
some myself. Running text is easy, but using and reusing one logo
would be more fun. :-)


Thanks,

Mari
___
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] Two columns in a frame

2012-11-02 Thread Mari Voipio
Hi All,

I'm doing something where the example at
http://wiki.contextgarden.net/Columns#.28Simple.29Columns_in_a_narrow_frame
would be quiet useful. Except that if I copy-paste the example in my
ConTeXt, I get two columns typeset almost on top of each other, with
non-existent column distance (a lot less than on the graphic in the
wiki). Attached is what I get out of my ConTeXt, version 2012.05.30
11:26 MKIV


BTW, the columns page doesn't seem to contain information on how to
force a column break, at least not under that name I'm attaching a
short version of the file where I'd need it.


Being clueless again, thankful for any help,

Mari


simplecolumns.pdf
Description: Adobe PDF document


simplecolumns.tex
Description: TeX document
___
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] Two columns in a frame

2012-11-02 Thread Mari Voipio
I'm really being a clueless idiot again this morning, hit send instead
of attach (and they are not even next to each other). Here's my
own file that tries to implement the example from the wiki, with
limited success.

If you don't have Lucida OT, it may look a bit funny, but the pdf
should explaien the problem pretty well.

 BTW, the columns page doesn't seem to contain information on how to
 force a column break, at least not under that name I'm attaching a
 short version of the file where I'd need it.


 Being clueless again, thankful for any help,

 Mari


A6_laput_valmistusaineet_20121102.tex
Description: TeX document


A6_laput_valmistusaineet_20121102.pdf
Description: Adobe PDF document
___
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] [IN TOPIC] new interview

2012-12-13 Thread Mari Voipio
On Thu, Dec 13, 2012 at 11:03 AM, luigi scarso luigi.sca...@gmail.com wrote:
 http://www.tug.org/interviews/voipio.html

 http://www.lucet.fi/craftex

And here's another one done with MetaPost and ConTeXt that I twiddled
with when on a boring 6-hour flight recently:
http://www.lucet.fi/2012/12/twpatterns/ (pattern D is the one I used
as demo at EuroTeX)

I still need to add the how I did it page under CrafTeX, explaining
about the MetaPost code, but there were people who wanted to use the
patterns, so I did that first.

And then there's a simulation system for rigid heddle weaving
(band/ribbon weaving, plain weaving) that I coded last weekend. I just
need to get around to doing the threading charts for that, too, and
then the MP code explained, too.


I've also realized that a lot of the traditionally used patterning is
binary - background-foreground, white-black, base-groove, base-relief,
over-under ... on-off - and can thus be described with a simple
monochrome chart on rectangular grid. The range of techniques is wide
from weaving to knitting to fingerloop braiding to embroidery to
mosaics, but the basic idea is always the same. When I read those
charts, my brain does the on-off thing, background colour is 'off',
pattern colour/foreground color is 'on'. E.g. in brocaded
tabletweaving 'under' (usually 'under 1' is default, so I just
remember the sequence of 'overs' and think '3-1-3' when I'm really
doing 'over 3, under 1, over 1, under 1, over 3'.
[Seems like I have seed to another article here, just don't know where
it'll end up...]



I'm glad you've enjoyed reading the interview. It's been long time
coming, but I didn't get around to finishing it until last week. If my
memory serves me right, Hans was the person who started the whole
process by suggesting that I'd be interviewed. Don't remember any more
what the main reason for this was, it's really been quite a while
since then.


Greetings from (very) snowy Finland,

Mari
___
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] [IN TOPIC] new interview

2012-12-13 Thread Mari Voipio
On Thu, Dec 13, 2012 at 2:11 PM, Sietse Brouwer sbbrou...@gmail.com wrote:
 I liked the bit where Dave asked about the process
 Mari's company uses, and that Mari also went into the issue of so
 *we* use it, but how do we deal with others who don't use it?

Could you tell that I've had that discussion more than once? Sometimes
I really wonder how difficult it is to understand the sentence The
original format is *not* a Word (or indeed word processor) document.

Remind me again why we use this strange and difficult system is
another all-time favourite that pops up regularly. [The answers are
given in the interview, in case you are reading just this message
without checking out the links.]

Yes, short-term it may appear difficult in an average office
environment. Long-term, I still think ConTeXt was and is the best
alternative out of the available options because of its versatility.
The requirements have changed over the years and will change again - I
foresee tablet-sized interactivity in the near future - but  I have
not needed new tools, just to learn new ways of using what I have. And
the first ConTeXt files I wrote still mostly work; they may need a
little bit of fiddling before compiling on MkIV, but a lot less than
what a structured Word2000 file needs on Word2010 (e.g. TOCs have a
tendency to go bad between versions, figure placement can also be
tricky).


A lot of patience, some fighting spirit (and maybe a bit of luck) is
required if one plans to go the same way, but it can be done and
should be considered as one option among other possibilities.


Regards,

Mari
___
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] Creating a folded meander book - imposition problem

2013-01-26 Thread Mari Voipio
I would love to create a folded meander book, but as far as I can see,
that means creating a new imposition scheme and that's beyond my
skill. What I want is a cross between 2*16 and x=4, y=4 (I think).

Here's an explanation and a nice graphic of a 16-page (4x4) meander
book: http://stamphenge.wordpress.com/minibooks/meander-accordion-folded-book/

A 9-page version (3x3) would also be nice to have, to make slightly
bigger pages when printed on A4.




Thank you,

Mari
(Slowly brewing: an article on using ConTeXt and MetaPost in papercrafts.)
___
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] Creating a folded meander book - imposition problem

2013-01-26 Thread Mari Voipio
On Sat, Jan 26, 2013 at 8:18 PM, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:

 \setuparranging[MEANDER]

It works (of course it does!). Now I can create a funny booklet with
my MetaPost twiddlings. :-)



 A 9-page version (3x3) would also be nice to have, to make slightly
 bigger pages when printed on A4.

 How do you plan to fold this?

I had to try it out on paper, but it turns out I had understood the
text correctly: the same idea, but only two cuts.

Top row, left to right: 1,2,3
Middle row, left to right: 6, 5, 4, all upside down
Bottom row, left to right: 7, 8, 9

Cuts 1-2/6-5 and 5-4/8-9. The cut paper is like letter S (or a snake
or meander, whatever you wish to call it). When folded, the back page
remains blank because it is from the underside of the paper due to the
odd number of pages - not necessarily a bad thing. I can always slap a
copyright sticker or signature on that back cover...

For trial I took an A4 and cut off the bottom to make it square that
makes quite nice 7x7 cm pages. Not handy for continuous text, but for
short poems/thoughts or graphics/art it work out. I need to play
around a bit, but then I can post the results in my blog. :-)


Thank you,

Mari
___
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] Finding documentation for ConTeXt

2013-01-28 Thread Mari Voipio
I think that one of the problems is that ConTeXt can do almost
anything, if you know how to ask it to do that. What I do is different
what most people use it for, but it works
(http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
and http://www.lucet.fi/2013/01/metaposting/ and
http://www.lucet.fi/2012/12/twpatterns/).

There used to be a project to create a test suite with various types
of files, but the links on the wiki refer to something from 2009 and
that is, as you say, probably a be obsolete. I remember somebody
talking about the test suite at one of the more recent ConTeXt
meetings (2011/2012) - anyone with more info on that project? I think
it'd help Keith (and many others, me included) to see what can be
done.


If you do not want to splurge in the books, the revised chapters on
typography, fonts and pagedesign are recommended reading and pretty
well up-to-date. They are linked to the main page of the garden, but
these take you directly to the pdfs:

http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf
http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf
http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf


Other than that, it'd be helpful to know what you are looking for: are
interested in typography, doing layouts for you and others? Is
automated workflow what you are looking for? Dealing with maths? XML?
What about dealing with colour? Interactivity?


I guess I've resigned to the fact that ConTeXt is so huge that I'll
never know more than a fraction of it - so I operate on a need-to-know
basis. I learn something either because I'm certain it can be done or
because I've seen it at a ConTeXt meeting or heard about it (a remark
by Hans is to be blamed for my recent MetaPosting excursions).


A slightly off-topic thought: there are hundreds of manuals on
Microsoft Word. However, once you start going deeper into the program,
it is not *that* easy to find a single good manual on the subject.
With ConTeXt it is the other way round, finding 'for Dummies'
information is hard, but once you want to dive deep, the developers
are on this list to answer questions.



Just my five cents on the subject,

Mari
(who still remembers what things were like before the wiki. this is
much better.)
___
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] arranging vs. \page[last]

2013-01-28 Thread Mari Voipio
On Mon, Jan 28, 2013 at 10:17 PM, Henning Hraban Ramm hra...@fiee.net wrote:

 What would you suggest to put something onto the last (i.e. back) page?

The wiki has a trick, but I think it stopped working at some stage -
maybe somebody can fix it (if it is broken):
http://wiki.contextgarden.net/Imposition#Getting_the_last_page_of_a_Booklet

(Obviously we aren't the only ones with this problem...)


Mari
___
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] External figures from other folders

2013-02-04 Thread Mari Voipio
On Mon, Feb 4, 2013 at 2:03 PM, Marco Patzer home...@lavabit.com wrote:

 \setupexternalfigures
   [directory=images]

The images can also be elsewhere than in a subdirectory:

\setupexternalfigures[directory=../graphics]

You can also tell ConTeXt to look into multiple directories:

\setupexternalfigures[directory={images,drawings}]


The above can of course be combined as needed, one of my recent
ConTeXt files has

\setupexternalfigures[directory={../Classic,../Celtic}]



One more trick: ConTeXt will first look for a pic in current
directory, then proceed to check out the others defined by
\setupexternalfigures.
When I worked with a master file and its translations where some
figures had translated text and others didn't, I dumped the translated
pics in the same directory with my translated tex file, while all the
untouched graphics could be found at the root. So when I compiled e.g.
the Swedish tex file, it would first look for graphics in its own
directory 'swedish', and only if a graphic could not be found, it
followed the paths set by \setupexternalfigures. That is, ConTeXt
doesn't get confused by having several graphics with the same name in
the same tree because it stops looking after the first hit.
I figured this out almost by accident and it turned out to be one of
the smartest workflow choices I've made during my 10 years of
ConTeXting. I could swear I've seen the info on a wiki page, but can't
find that now... Anyway, this is always useful to check out, it
contains a few more nifty trick:
http://wiki.contextgarden.net/Command/setupexternalfigures



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


  1   2   >