[NTG-context] How to align \mframed correctly?

2011-08-02 Thread Marcin Borkowski
As the example below shows, \mframed part of the formula is placed too high. I found that \inmframed helps, but my question is: does \inmframed alter spacing? In other words: does $...whatever...$ look the same as $...\inmframed[frame=off]{whatever}...$? \starttext $E=\mframed{mc^2}$ % wrong $E

Re: [NTG-context] [OT] Research into Generative Typesetting

2011-07-27 Thread John Haltiwanger
g after a picture or line of code looks odd to me and can cause > strange results. (See e.g. page 65. After "rm -rf /*" there is an indent in > the middle of the sentence. > -There are some issues with the links in the bibliography (e.g. page 99). > Also, bibliographies should be set

Re: [NTG-context] [OT] Research into Generative Typesetting

2011-07-23 Thread Christian
t or space, not both") -Indenting after a picture or line of code looks odd to me and can cause strange results. (See e.g. page 65. After "rm -rf /*" there is an indent in the middle of the sentence. -There are some issues with the links in the bibliography (e.g. page 99).

[NTG-context] How to prepare a template for list of names in ConTeXt

2011-07-13 Thread Marcin Borkowski
e this (in ascii art;)): List of names Class Date A-F M-R G-L S-Z (Of course, there will be more horizontal lines). In other words, I'd like to have two columns (and a title spanning them) and a lot of places to put down a name.

Re: [NTG-context] beta

2011-07-08 Thread Hans Hagen
On 8-7-2011 5:27, Ian Lawrence wrote: Back on topic... In starting out we often want to write out the units in full - that is the words, not the abbreviations. any chance of implementing these? At the moment I have (crudely, I suspect) a large number of definitions of the kind \define\metre

Re: [NTG-context] beta

2011-07-08 Thread Ian Lawrence
Back on topic... In starting out we often want to write out the units in full - that is the words, not the abbreviations. any chance of implementing these? At the moment I have (crudely, I suspect) a large number of definitions of the kind \define\metre{\;{\tf m}} \define\metrew{\;{\tf metre

Re: [NTG-context] space between label and number

2011-06-29 Thread dalyoung
Dear Hans, I'll send a patched file after adding more preferable translation of the words into Korean in lang-txt.lua. Thank you. Best regards, Dalyoung On 2011. 6. 30., at 오전 2:14, Hans Hagen wrote: > On 29-6-2011 4:47, dalyoung wrote: >> Dear Hans, >> >> I ad

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Kip Warner
t > > Check if this works. > > \startmkii > \startlines > जाति न पूछो साधु की, पूछ लीजिए ग्‍यान। > मोल करो तलवार के, पड़ा रहन दो म्‍यान।। > \stoplines > \stopmkii > > \stoptext > % \inlinemkii does not currently work with pre- and postamble > > Aditya &

Re: [NTG-context] justify

2011-06-24 Thread Pontus Lurcock
On Fri 24 Jun 2011, Hans Hagen wrote: > newspaper: spacing between letters and words are increased or decreased > as necessary. The IE reference says “it is the most sophisticated form > of justification for Latin alphabets.” This appears to be the original source: http://msdn.micr

Re: [NTG-context] justify

2011-06-24 Thread Hans Hagen
On 24-6-2011 5:45, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:42 PM, Aditya Mahajan wrote: On Fri, 24 Jun 2011, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are

Re: [NTG-context] justify

2011-06-24 Thread luigi scarso
On Fri, Jun 24, 2011 at 5:42 PM, Aditya Mahajan wrote: > On Fri, 24 Jun 2011, luigi scarso wrote: > >> On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: >>> >>> Incredible: >>> >>> http://www.css3.com/css-text-justify/ : >>> >>

Re: [NTG-context] justify

2011-06-24 Thread luigi scarso
On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: > Incredible: > > http://www.css3.com/css-text-justify/ : > > newspaper: spacing between letters and words are increased or decreased as > necessary. The IE reference says “it is the most sophisticated form of > justificatio

Re: [NTG-context] justify

2011-06-24 Thread Aditya Mahajan
On Fri, 24 Jun 2011, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most sophisticated form of

[NTG-context] justify

2011-06-24 Thread Hans Hagen
Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most sophisticated form of justification for Latin alphabets.” Hans

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Aditya Mahajan
On Thu, 23 Jun 2011, Kip Warner wrote: On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: ConTeXt MkIV (assuming it is what you use) has no proper support for Devanagari or other Indic scripts. Since you need only few words, you can produce them externally (say ConTeXt MkII with XeTeX or

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-23 Thread Kip Warner
On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: > ConTeXt MkIV (assuming it is what you use) has no proper support for > Devanagari or other Indic scripts. Since you need only few words, you > can produce them externally (say ConTeXt MkII with XeTeX or Inkscape) > and include t

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
t7 = `untitled-5-mpgraph.mp'. \openout6 = `untitled-5-mpgraph.mpb'. runsystem(mpost -progname=metafun -mem=metafun untitled-5-mpgraph)...disabled. [MP untitled-5-mpgraph.1] (/usr/share/texmf/tex/context/base/sort-def.mkii) (/usr/share/texmf/tex/context/base/sort-lan.mkii) [1.1] syste

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Mojca Miklavec
per support for > Devanagari or other Indic scripts. Since you need only few words, you > can produce them externally (say ConTeXt MkII with XeTeX or Inkscape) > and include the resultant PDF as inline figure. Or produce the whole document with ConTeXt + XeTeX :) I don't know to what

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Khaled Hosny
On Wed, Jun 22, 2011 at 03:51:56PM -0700, Kip Warner wrote: > Hey list, > > I need to sprinkle my book with a few Sanskrit words written in the > Devanagari script. I don't need to write complete paragraphs in it, but > just a word or two inline. > > Can anyone show m

[NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Kip Warner
Hey list, I need to sprinkle my book with a few Sanskrit words written in the Devanagari script. I don't need to write complete paragraphs in it, but just a word or two inline. Can anyone show me the ConTeXt source to do such a thing, with, say "तरीकिन"? -- Kip Warner -- So

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Otared Kavian
t;}\par} > \stoptext > > > > Mathieu > > > > > > From: ota...@gmail.com > > Date: Wed, 8 Jun 2011 18:52:36 +0200 > > To: ntg-context@ntg.nl > > Subject: [NTG-context] Random selection of a word in a set with lua and mkiv > > > &

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Mathieu Dupont
on"}\par}\stoptext Mathieu > From: ota...@gmail.com > Date: Wed, 8 Jun 2011 18:52:36 +0200 > To: ntg-context@ntg.nl > Subject: [NTG-context] Random selection of a word in a set with lua and mkiv > > Hi all, > > Assuming that we have a set of words or expressions, say

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Hans Hagen
On 8-6-2011 6:52, Otared Kavian wrote: Hi all, Assuming that we have a set of words or expressions, say {Maths, Physics, Algebra, Analysis, Chemistry, Geometry, Wave equation, Schrödinger equation} is it possible to write a lua function, named for instance randomselectword

[NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Otared Kavian
Hi all, Assuming that we have a set of words or expressions, say {Maths, Physics, Algebra, Analysis, Chemistry, Geometry, Wave equation, Schrödinger equation} is it possible to write a lua function, named for instance randomselectword which returns one of the words or expressions

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
t for the last line of each title, which should be 4.2 ex.In other words, all short titles that fit on one line will be 4.2ex (they're all last lines), but, only for the long titles on multiple lines, their first lines will be 2.8ex and their last line will be 4.2ex.To resume the result I

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 18:02 schrieb Mathieu DUPONT: > > When I run this code, every lines of the TOC become 2.8ex. > What I needed is every lines to be 2.8ex, except for the last line of each > title, which should be 4.2 ex. > In other words, all short titles that fit on one lin

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
When I run this code, every lines of the TOC become 2.8ex.What I needed is every lines to be 2.8ex, except for the last line of each title, which should be 4.2 ex.In other words, all short titles that fit on one line will be 4.2ex (they're all last lines), but, only for the long titl

Re: [NTG-context] [bibliography] publications layout

2011-05-24 Thread Thomas A. Schmitz
ournal articles only get capitals for the first letter, proper nouns, chemical symbols, etc.; Book Titles get Capital Letters for Most Words. This is controlled by the "bst" style you use. If you look into the directory $CONTEXT/tex/texmf-context/bibtex/bst/context/ you'

Re: [NTG-context] [bibliography] publications layout

2011-05-24 Thread Pontus Lurcock
> extra {} in the bib-file). This is the case for most bibliography styles: journal articles only get capitals for the first letter, proper nouns, chemical symbols, etc.; Book Titles get Capital Letters for Most Words. Pont _

Re: [NTG-context] Hyphenating compound words in MKIV & microtypographyy

2011-05-23 Thread Hans Hagen
given input. In such case there should not be any need to manually adjust spacing and expansion of words nor forcing the column into a ragged one. The output of this MKIV source: \mainlanguage[fi] \language[fi] \definefontfeature[default][default][protrusion=quality, expansion=quality] \setupali

Re: [NTG-context] Hyphenating compound words in MKIV & microtypography

2011-05-23 Thread Hans Hagen
On 23-5-2011 2:07, Otso Helenius wrote: Hi, MKIV seems to have a problem in hyphenating long finnish compound words in MKIV (2011.05.18 22:26). Here is a minimalist example (columns added to exaggerate the problem): \mainlanguage[fi] \language[fi] \starttext \startcolumns[n=3

[NTG-context] Hyphenating compound words in MKIV & microtypography

2011-05-23 Thread Otso Helenius
Hi, MKIV seems to have a problem in hyphenating long finnish compound words in MKIV (2011.05.18 22:26). Here is a minimalist example (columns added to exaggerate the problem): \mainlanguage[fi] \language[fi] \starttext \startcolumns[n=3] kolmivaihekilowattituntimittari ympäristöliiketoiminta

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:33 schrieb Mathieu DUPONT: > > Hi, > > I am trying to obtain the following result : > > CHAPITRE I Title of chapter > 1.1 Title of section > 1.1.1 Title of subsection > > In other words, I need my chapter numbers to be in roman number, bu

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Wolfgang Schuster
ng result : > > Contents > CHAPTER 1 Title of a chapter > APPENDIX A Title of an appendix > > In other words, this command : > \setuplist [chapter] [label=yes] > seems not to take this one : > \setuplabeltext[appendix=APPENDIX~] > into account. > > Am I forgett

[NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-22 Thread Mathieu DUPONT
Hi, I am trying to obtain the following result : CHAPITRE I Title of chapter1.1 Title of section1.1.1 Title of subsection In other words, I need my chapter numbers to be in roman number, but not in the numbers of the sections and subsections (1.1.1 and not I.1.1). Here is the base code

[NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-22 Thread Mathieu DUPONT
: Contents CHAPTER 1 Title of a chapter CHAPTER A Title of an appendix Instead, I would like to get the following result : Contents CHAPTER 1 Title of a chapter APPENDIX A Title of an appendix In other words, this command :\setuplist [chapter] [label=yes]seems not to take this one :\setuplabeltext[appendix

Re: [NTG-context] Last names

2011-05-20 Thread Mojca Miklavec
-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} >    \NC \hyphenation{Mikla-vec}  \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} >    \NC \NR >    \stoptabulate > \stoptext I'm not sure if he wanted to prevent hyphenation or to prevent to

Re: [NTG-context] Last names

2011-05-20 Thread Steffen Wolfrum
nr=2] Fachschule (Meister)|/|höherer Abschluss\eTD > > or > > “\setbreakpoints[compound]” at the begin of the document. No, this has no effect ... see attached, please: The three words in the first row "Lehre mit Abschluss" are quite uncomplicated (no componds etc.) I can see n

Re: [NTG-context] ntg-context Digest, Vol 83, Issue 56

2011-05-15 Thread Jeong Dalyoung
well. Thank you for quick fixing of fieldstack and also for enhancing the sorting of Korean words. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! mai

Re: [NTG-context] Setting width of table column

2011-05-12 Thread Wolfgang Schuster
ave: \starttable[| l s1 | s1 l | s0 lp w(10cm) | s0 l |] > > However, the entries in column 3 have line-feeds roughly every two words > and the 10 cm column width is not being used, so there's a huge gap to > column 4. Don’t mix “p” and “w” keywords, “w” sets the width for a cell where yo

Re: [NTG-context] Setting width of table column

2011-05-12 Thread Roger Mason
Hi Wolfgang, Wolfgang Schuster writes: > You need parentheses! > > … | l w(5cm) | … > Many thanks. If I may presume on your patience a little more... I now have: \starttable[| l s1 | s1 l | s0 lp w(10cm) | s0 l |] However, the entries in column 3 have line-feeds roughly every t

Re: [NTG-context] Some Ethiopic examples (hyphenation/breaking) in ConTeXt

2011-05-08 Thread Hans Hagen
that words break in text editors and web browsers, but I may be wrong. Wikipedia uses spaces for example, but all old books use separators.) So what are the rules for mixing languages/scripts then? [ethi] [latn] [ethi] (My roommate was just robbed/scammed in Ethiopia last week; no wonder that

Re: [NTG-context] Some Ethiopic examples (hyphenation/breaking) in ConTeXt

2011-05-07 Thread Mojca Miklavec
ator and another one uses spaces. My guess that the second one might have arised in the modern era due to poor computer suppor. (If they are using spaces, they have at least a chance that words break in text editors and web browsers, but I may be wrong. Wikipedia uses spaces for example, but all

Re: [NTG-context] Some Ethiopic examples (hyphenation/breaking) in ConTeXt

2011-05-07 Thread Hans Hagen
s in place for it. What is the otf language / script code? The basic requirements are: - Words may be split after any character (character = syllable; it's in the range "1200-"139F), but not before word/sentence dividers. (We have hyphenation patterns, but one could just as well us

[NTG-context] Some Ethiopic examples (hyphenation/breaking) in ConTeXt

2011-05-06 Thread Mojca Miklavec
Dear Hans, We were originally preparing the example for XeTeX (which behaves very weird anyway) and I would like to know how to typeset Ethiopic text in ConTeXt. The basic requirements are: - Words may be split after any character (character = syllable; it's in the range "1200-"

[NTG-context] Error running compiling with ConTeXt MKII

2011-05-02 Thread Isaac Mulolani
exmf-dist/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2010.05.24 13:05 MKII FilesVersion: 2010.07.30 11:35 ) ) Here is how much of TeX's memory you used: 46 strings out of 459576 740 string characters out of 2586072 4495618

Re: [NTG-context] Frame until the bottom of the page

2011-04-12 Thread Aditya Mahajan
\textheight. How can I do that? In other words, how to I find out how much space is left on the current page? \framed[width=\textwidth,height=\dimexpr\pagegoal-\pagetotal-\lineheight\relax]{} In case someone else is interested, I finally ended up using the following code: \definemeasure[page][\dimexpr

Re: [NTG-context] Frame until the bottom of the page

2011-04-07 Thread Aditya Mahajan
\textheight. How can I do that? In other words, how to I find out how much space is left on the current page? \starttext \input ward \blank \framed[width=\textwidth,height=\dimexpr\pagegoal-\pagetotal-\lineheight\relax]{} \stoptext Thanks a lot. Aditya

Re: [NTG-context] Frame until the bottom of the page

2011-04-07 Thread Wolfgang Schuster
? > > In other words, how to I find out how much space is left on the current page? \starttext \input ward \blank \framed[width=\textwidth,height=\dimexpr\pagegoal-\pagetotal-\lineheight\relax]{} \stoptext Wolfgang __

[NTG-context] Frame until the bottom of the page

2011-04-06 Thread Aditya Mahajan
Hi, I want to create a frame that should occupy the remaining space on the page. For example, if I call this frame when the page is 1/3rd full, I want the frame to have an height of 0.667\textheight. How can I do that? In other words, how to I find out how much space is left on the current

[NTG-context] Automatic cross reference to next page at automatic page breaks only

2011-03-23 Thread Matthias Weber
a link to the next page at the bottom right corner of the screen whenever a page break occurs that is not forced via say a new section. In other words, whenever *automatic* page breaks occur, I want that extra link in the footer. In all other cases, I have my own manual links. Any ideas

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
f\dostartFancyUppercase#1#2\dostopFancyUppercase >>> {\FancyFirstLetter{#1}#2} >>> >>> >>> \def\Acronym#1% >>> {\dostartAcronym#1 \dostopAcronym} >>> >>> \def\dostartAcronym#1 #2\dostopAcronym >>> {\doifsomething{#1} >&

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Aditya Mahajan
\dostartAcronym#1 #2\dostopAcronym {\doifsomething{#1} {\FancyUppercase{#1} %space \dostartAcronym#2 \dostopAcronym}} Almost. dostartAcronym needs a blanco line to put the words under each-other: Better to use an explicit \blank (A blank space is equal to \par, and can give funny results

Re: [NTG-context] Macro for acronyms

2011-03-18 Thread Cecil Westerhof
FancyUppercase} > > \def\dostartFancyUppercase#1#2\dostopFancyUppercase > {\FancyFirstLetter{#1}#2} > > > \def\Acronym#1% > {\dostartAcronym#1 \dostopAcronym} > > \def\dostartAcronym#1 #2\dostopAcronym > {\doifsomething{#1} > {\FancyUppercase{#1} %space >

Re: [NTG-context] Some problems I experienced when using ConTeXt

2011-03-18 Thread Cecil Westerhof
2011/3/19 Aditya Mahajan > manifests itself when I set lefthyphenmin and righthyphenmin. >> Then sometimes sentences are to long. Would it not be better to >> have a lot of whitespace between the words, but keep the >> formating? >> >> In the document the third

Re: [NTG-context] Some problems I experienced when using ConTeXt

2011-03-18 Thread Aditya Mahajan
sample document. There is a problem with the formatting of paragraps. This manifests itself when I set lefthyphenmin and righthyphenmin. Then sometimes sentences are to long. Would it not be better to have a lot of whitespace between the words, but keep the formating? In the document the third

[NTG-context] Some problems I experienced when using ConTeXt

2011-03-18 Thread Cecil Westerhof
formatting of paragraps. This manifests itself when I set lefthyphenmin and righthyphenmin. Then sometimes sentences are to long. Would it not be better to have a lot of whitespace between the words, but keep the formating? In the document the third line of the first paragraph is to long and the

Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
>>> So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to >>> smaller values but this does not change anything. > You have to regenerate the formats too, after you changed the value. I thought I did but obviously something went wrong. Now it works... > Otherwise you could use d

Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Reviczky, Adam
>> So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to >> smaller values but this does not change anything. You have to regenerate the formats too, after you changed the value. Otherwise you could use directly in your document: \ctxlua{languages.words.threshold=1} Adam __

[NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
Hi, I'd like to ask an early question again in a different way: I need to count every word in a document but lang-wrd.lua counts only words with 4+ letters. So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to smaller values but this does not change anything

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
· \definecharacterkerning[capitals] \setupcharacterkerning [capitals] [factor=.05] \unexpanded\def\cap{\setcharacterkerning[capitals]} \def\broadspacing{\dontleavehmode\spaceskip .33em plus.25em minus.05em \xspaceskip .66em plus.25em minus.05

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
one is centered but spaced too tightly. > > \section{test test test} > > > > \stoptext > > > > ··8<····· > > > > As you can see, adding “align=middle” to the section setup leads > > to the

Re: [NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Wolfgang Schuster
g “align=middle” to the section setup leads > to the \spaceskip setting being ignored. Any idea how to space my > capitalized words in section heads? \setuphead [section] [ style=WORD, align=middle, textcommand={\setuptolerance[space]}]

[NTG-context] structure head alignment nullifies spaceskip

2011-03-06 Thread Philipp Gesang
··8<· As you can see, adding “align=middle” to the section setup leads to the \spaceskip setting being ignored. Any idea how to space my capitalized words in section heads? Thanks very much, Philipp pgpzNrkY1B8hy.pgp Description: PGP sig

Re: [NTG-context] vertical alignment in simpleslides

2011-03-05 Thread Curiouslearn
n and the second is >> at the bottom. I would like them to be near the center. Something like >> what 'middle' does for horizontal alignment with two words, I want to >> do for vertical alignment. > > This is useful only if the previous command works. You can play aro

Re: [NTG-context] vertical alignment in simpleslides

2011-03-05 Thread Aditya Mahajan
what 'middle' does for horizontal alignment with two words, I want to do for vertical alignment. This is useful only if the previous command works. You can play around with the amount of fill at the start and end to create symmetric looking layouts. For example: \setupitemize[1][befo

Re: [NTG-context] vertical alignment in simpleslides

2011-03-05 Thread Curiouslearn
the second is at the bottom. I would like them to be near the center. Something like what 'middle' does for horizontal alignment with two words, I want to do for vertical alignment. Thanks. On Sat, Mar 5, 2011 at 11:23 PM, Aditya Mahajan wrote: > On Sat, 5 Mar 2011, Curiouslearn w

Re: [NTG-context] A question about data types?

2011-03-02 Thread Ian Lawrence
Thank you both. I got as far as \dimexpr (expressions) page in the Wiki, and all the words made sense, more or less, but not the whole. In case anyone else find this useful, I have success with Wolfgang 2 and 3, with (2) being the simplestbut that may just be the fit to my brain. It&#

[NTG-context] Short words in word list

2011-03-02 Thread Florian Wobbe
Hi, \usemodule[s-lan-03] \setupspellchecking[state=start,method=2] \setupspellchecking[list=words] \ctxlua{languages.words.tracers.showwords()} prints a word list of words with 4+ letters. Is there a way to also include 1-, 2-, and 3-letter words? Thanks, Florian

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Pontus Lurcock
On Tue 01 Mar 2011, Cecil Westerhof wrote: > > You need MkIV! > > I just installed the default version from my distribution > (openSuse). What is the best way to upgrade? I think the usual recommended approach is to install the minimals: http://wiki.contextgarden.net/ConTeXt_Minimals . Pont __

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Cecil Westerhof
2011/3/1 Wolfgang Schuster > > Am 01.03.2011 um 16:44 schrieb Cecil Westerhof: > > > ! Undefined control sequence. > > l.87 \setbreakpoints > > [compound] > > You need MkIV! > I just installed the default version from my distribution (openSuse). What is the best way to upgrad

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Florian Wobbe
>>> \setbreakpoints[compound] >> >> But isn't this supposed to do exactly the opposite of what Cecil wants >> (http://wiki.contextgarden.net/Composed_words)? Also she probably wants to >> keep hyphenation on hyphens for composed words in general and onl

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Wolfgang Schuster
Am 01.03.2011 um 16:44 schrieb Cecil Westerhof: > ! Undefined control sequence. > l.87 \setbreakpoints > [compound] You need MkIV! Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Cecil Westerhof
2011/3/1 Wolfgang Schuster > \setbreakpoints[compound] > That gives: ! Undefined control sequence. l.87 \setbreakpoints [compound] -- Cecil Westerhof ___ If your question is of interest to other

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Wolfgang Schuster
ts > (http://wiki.contextgarden.net/Composed_words)? Also she probably wants to > keep hyphenation on hyphens for composed words in general and only disable > this for the compound "e-book". You can control how many cha

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Florian Wobbe
hbox{e-book} (and the same for >> e-mail, ...), but I was hoping there is a better solution. > > \setbreakpoints[compound] But isn't this supposed to do exactly the opposite of what Cecil wants (http://wiki.contextgarden.net/Composed_words)? Also she probably wants to keep hyphe

Re: [NTG-context] No hypenation on words like e-book

2011-03-01 Thread Wolfgang Schuster
Am 01.03.2011 um 16:08 schrieb Cecil Westerhof: > I am trying to make an e-book with ConTeXt. The word e-book is used in this > e-book. ;-} Sometimes e- comes on the end of the line and book at the > beginning of the next. Is there a way to circumvent this? > > I could ofcourse change all occu

[NTG-context] No hypenation on words like e-book

2011-03-01 Thread Cecil Westerhof
I am trying to make an e-book with ConTeXt. The word e-book is used in this e-book. ;-} Sometimes e- comes on the end of the line and book at the beginning of the next. Is there a way to circumvent this? I could ofcourse change all occurences with \hbox{e-book} (and the same for e-mail, ...), but

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Ulrike Fischer
phenation of a word (e.g. between 'f' and 'h' >> in German words like 'aufhalten'; see first minimal example >> below). >> 1. Lua(La)TeX > I cannot test that (I only have the context minimals installed) but I > don't know anything about la

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Hans Hagen
coincides with a possible hyphenation of a word (e.g. between 'f' and 'h' in German words like 'aufhalten'; see first minimal example below). Ulrike Fischer was so kind to point out two things (http://tug.org/pipermail/luatex/2011-February/002569.html): First, the

[NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Heilmann, Till A.
word (e.g. between 'f' and 'h' in German words like 'aufhalten'; see first minimal example below). Ulrike Fischer was so kind to point out two things (http://tug.org/pipermail/luatex/2011-February/002569.html): First, the problem seems to be the break points betw

Re: [NTG-context] ntg-context Digest, Vol 80, Issue 49

2011-02-12 Thread Jeong Dalyoung
Dear Hans, Thank you for your concern about Korean. Korean labels are working well, but the index tagging need a little more. I checked index in my file and found that some words which should be in the same group are scattered. Also, the order of list doesn't follow the order of korean l

Re: [NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Hans Hagen
On 10-2-2011 1:05, Christian wrote: Am Donnerstag, 10. Februar 2011, um 12:44:20 schrieb Hans Hagen: On 10-2-2011 12:36, Christian wrote: Dear all, I found the attached oddity in one of my documents produced by context using mkiv. The two words (both clipped in the screenshot) are in the

Re: [NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Christian
Am Donnerstag, 10. Februar 2011, um 12:44:20 schrieb Hans Hagen: > On 10-2-2011 12:36, Christian wrote: > > Dear all, > > > > I found the attached oddity in one of my documents produced by context > > using mkiv. The two words (both clipped in the screenshot) are

Re: [NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Hans Hagen
On 10-2-2011 12:36, Christian wrote: Dear all, I found the attached oddity in one of my documents produced by context using mkiv. The two words (both clipped in the screenshot) are in the same line (last line in a justified paragraph), yet they are handled differently. Additional info

[NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Christian
Dear all, I found the attached oddity in one of my documents produced by context using mkiv. The two words (both clipped in the screenshot) are in the same line (last line in a justified paragraph), yet they are handled differently. Additional info: MinionPro-Regular.otf LuaTeX, Version beta

[NTG-context] (again) wrong page with \finishregisterentry

2011-02-08 Thread Steffen Wolfrum
telling me lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishreg

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
>>\definestartstop[TitleCase][style=\Words] >>\starttext >>\Words{What to capitalize in start case}\par >>\TitleCase{What to capitalize in start case}\par >>\startTitleCase What to capitalize in start case\stopTitleCase >>\stoptext

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Wolfgang Schuster
Am 31.01.2011 um 10:21 schrieb Reviczky, Adam: >>> \setuphead[title][style=\Words] >>> \starttext >>> \title{What to capitalize in start case} >>> \stoptext > Thanks, yes, I've seen that, but I was just wondering if this can be done

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Reviczky, Adam
>>\setuphead[title][style=\Words] >>\starttext >>\title{What to capitalize in start case} >>\stoptext Thanks, yes, I've seen that, but I was just wondering if this can be done in a paragraph, out

Re: [NTG-context] Feature request: Title Case/Start Case

2011-01-31 Thread Wolfgang Schuster
o capitalize in title case} resulting in "What to Capitalize > in Title Case" > \StartCase{What to capitalize in start case} resulting in "What To Capitalize > In Start Case" \setuphead[title][style=\Words] \starttext \title{Wha

[NTG-context] wrong page with \finishregisterentry

2011-01-30 Thread Steffen Wolfrum
telling me lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishreg

Re: [NTG-context] Translating PDF-files

2011-01-19 Thread R. Ermers
article, etcetera. Robert >> Even though the result will no doubt show cyrillic words, which looks >> interesting, the factual result will be rubbish, and most likely >> unintelligible to any Russian. > > That's an interesting statement; do you have any experience w

Re: [NTG-context] Translating PDF-files

2011-01-19 Thread Arthur Reutenauer
> Even though the result will no doubt show cyrillic words, which looks > interesting, the factual result will be rubbish, and most likely > unintelligible to any Russian. That's an interesting statement; do you have any experience with that at all, or are you simply specul

Re: [NTG-context] Translating PDF-files

2011-01-19 Thread Cecil Westerhof
by Google from the much poorer English prepositions > and the verbal foms in the text. Even though the result will no doubt show > cyrillic words, which looks interesting, the factual result will be rubbish, > and most likely unintelligible to any Russian. > I do not know if he requi

Re: [NTG-context] Translating PDF-files

2011-01-19 Thread R. Ermers
prepositions and the verbal foms in the text. Even though the result will no doubt show cyrillic words, which looks interesting, the factual result will be rubbish, and most likely unintelligible to any Russian. Regards, Robert Op 19 jan 2011, om 13:58 heeft Cecil Westerhof het volgende

Re: [NTG-context] Conditional cross references to floats

2011-01-17 Thread Wolfgang Schuster
. > > So sometimes it may happen that the reader, for instance on page 23, > will be referred to a figure on page 23, which looks rather silly. > > Is there a trick to let ConTeXt automatically omit the reference when > the picture happens to appear on the correct page (or change t

[NTG-context] Conditional cross references to floats

2011-01-16 Thread Robert Blackstone
23, which looks rather silly. Is there a trick to let ConTeXt automatically omit the reference when the picture happens to appear on the correct page (or change the reference to « on this page »). In other words, can one make a sort of conditional reference that only mentions the page if it is not

[NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
\symbol[QuarterNote] gives me words "QuarterNote", and \QuarterNote is an invalid sequence. P.S. http://wiki.contextgarden.net/Reference/en/symbol is empty :( -- Best Regards, Vyatcheslav Yatskovsky ___ If

Re: [NTG-context] kerning info (mkiv)

2011-01-07 Thread Peter Rolf
y reports a kern if it happens between the first > occurrence of a certain glyph and is predecessor. After that > first attempt, the > > if not char[u] then ... > > condition evaluates to false, so no further reporting is done. > > In other words, your longer example fai

<    8   9   10   11   12   13   14   15   16   17   >