[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear gang, Objectives: i) Prevent footnotes from splitting across a page or pagebreak ii) Make sure that the footnote reference number in the main text is always on the same page as the footnote. Yes, the result may not be pretty, but for some manuscript submissions it will make sense.

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Hi, On Mon, 13 Dec 2021 12:06:33 -0700, Hans Hagen via ntg-context wrote: i'll also add it to mkiv By about when do you expect mkiv to become frozen a la mkii? Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 08:51:03 -0700, Henning Hraban Ramm via ntg-context wrote: TeX comments will illustrate: == This text goes into the abridged version. % This text will appear in the unabridged version. And this text goes into the abridged version. % And this text goes into

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context wrote: Blocks are a better mechanism, but I still prefer modes here because I find the \beginblock ... \endblock syntax to be a bit awkward in a context document. it also depends on usage ... you can have blocks and delay

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
On Wed, 17 Nov 2021 10:56:46 -0700, Aditya Mahajan via ntg-context wrote: But you don't have to directly use the modes. The following will work: \definestartstop[abridged] % By default, don't show the unabridged text \definebuffer[unabridged][local=yes, nested=yes] \startmode[unabridged]

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Hi Hraban, Many thanks; see below: On Wed, 17 Nov 2021 04:32:56 -0700, Henning Hraban Ramm via ntg-context wrote: Am 17.11.2021 um 04:06 schrieb ⁨Idris Samawi Hamid ادريس سماوي حامد via ntg-context⁩ <⁨ntg-context@ntg.nl⁩>: You know about \startnotmode and that you can use

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Hi Aditya, Many thanks; see below: On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context wrote: On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content

[NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear gang, For creating/authoring content in ConTeXt: Can modes or the like be used for content control? For example, someone wants to write at least two versions of a book managed from a single file. So, e.g., we may have a) abridged content b) unabridged content - includes a) c) abridged

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
s. In this case the circumstance is % \setupdirections[bidi=global,method=one] Uncommenting this line will bring the bidi issue back, but it's not needed for the desired result. Best wishes Idris On Wed, 10 Nov 2021 09:00:26 -0700, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: Dea

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
For III: See attached! On Wed, 10 Nov 2021 09:00:26 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Hans and gang, Consider the following MWE: == \definefont[ARABICFONT][file:Adobe_Naskh.ttf*arabic at 28pt] % \definefont[ARABICFONT][file:Amiri-Regular_0.ttf*arabic

[NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Dear Hans and gang, Consider the following MWE: == \definefont[ARABICFONT][file:Adobe_Naskh.ttf*arabic at 28pt] % \definefont[ARABICFONT][file:Amiri-Regular_0.ttf*arabic at 28pt] % \definefont[ARABICFONT][file:Scheherazade-Regular.ttf*arabic at 28pt] %

Re: [NTG-context] Converting footnotes to endnotes

2021-06-05 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 04 Jun 2021 12:06:31 -0600, Hans Hagen wrote: On 6/3/2021 10:09 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Generally, I do not use endnotes - see Robert Bringhurst's criticisms of endnotes in typography - but a publisher is demanding them. Converting footnotes

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Jun 2021 14:17:15 -0600, Wolfgang Schuster wrote: \setupnote [footnote] [location=none] That did the trick; many thanks! == \setupnote [footnote] [location=none] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Generally, I do not use endnotes - see Robert Bringhurst's criticisms of endnotes in typography - but a publisher is demanding them. Converting footnotes to endnotes must be quite simple yet I'm missing it: \setupnotation[footnote] [way=bychapter] % \setupnote[footnote] %

[NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={}

Re: [NTG-context] future versions

2018-07-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, all, On Tue, 24 Jul 2018 12:43:51 -0600, Hans Hagen wrote: Hi, Around the upcoming context meeting we expect to release luatex 1.09 (or 1.10 ... yet undecided) which is the prelude to the next year tex live version. It's another step towards a stable version in terms of

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 03 Jul 2018 15:30:18 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Martin, Wolfgang, On Mon, 02 Jul 2018 14:41:31 -0600, Wolfgang Schuster wrote: Martin Hasoň <mailto:martin.ha...@gmail.com> 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double c

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Martin, Wolfgang, On Mon, 02 Jul 2018 14:41:31 -0600, Wolfgang Schuster wrote: Martin Hasoň 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double columns. I've tried paragraphs, tabulate, table and column environments.The best result of

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 02 Jul 2018 07:21:19 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 2. Juli 2018 um 14:34 Hi Wolfgang, On Mon, 02 Jul 2018 00:58:44 -0600, Wolfgang Schuster wrote: Hi Idris, you can enable the display of chapter n

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
. == \defineconversionset [OLIE] [n,R,n,n,n,n] [n] \setuphead[sectionconversionset=OLIE] == Amazing and elegant. Many thanks! Best wishes Idris Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 30. Juni 2018 um 22:42 Dear gang, Chapter numbers are indicated

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
mechanism to set the prefix for each of the above three would be useful. If not currently supported, would like to make this a feature request. == Thank you again, Wolfgang. Best wishes Idris Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 30. Juni 2018 um

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Attached! On Sat, 30 Jun 2018 15:04:02 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, When referencing footnotes that reset each chapter, is there a way to include the chapter information? See attached and below: === \setuphead[chapter] [alternative=normal

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, When referencing footnotes that reset each chapter, is there a way to include the chapter information? See attached and below: === \setuphead[chapter] [alternative=normal,conversion=R] \setuphead[subsection][alternative=text] \setuphead[subsection][distance=0em,

[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Chapter numbers are indicated roman numerals (conversion=R), all subsectioning by decimal numerals. See attached and below: === \setuphead[chapter] [alternative=normal,conversion=R] \setuphead[subsection][alternative=text] \setuphead[subsection][distance=0em,

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
ion / \startsection 2. Argument: reference type -> default == \in 3. Argument: settings which differ from \setuphead Many thanks, this is exactly what was needed! Your replies and pointers are appreciated and not taken for granted. Best wishes Idris Idris Samawi Hamid ادريس سماو

[NTG-context] referencing and stoppers

2018-06-29 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, For, e.g., \setuphead[...][alternative=text], one often wants the stopper to appear in the main text sectioning but not in the references to those sections. For example (attached and below): === \setuphead[chapter] [alternative=normal]

Re: [NTG-context] bidi in footnotes

2018-06-27 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 27 Jun 2018 02:03:32 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 23. Juni 2018 um 23:49 On Sat, 23 Jun 2018 07:10:27 -0600, Wolfgang Schuster wrote: When you use the global whitespace settings in footnotes y

Re: [NTG-context] Align TOC section numbers flushright

2018-06-26 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 14:20:03 -0600, Wolfgang Schuster wrote: If one turns on \showframe, one sees that the width value does not prevent crossing the left side of the textblock (a good thing). OTOH, getting the TOC numerals to lineup with the left side is a matter of trial and error.

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 07:20:43 -0600, Wolfgang Schuster wrote: You have to change the value of textdistance. \setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Trying to get the sectioning numerals in the left margin of the TOC to be fushright; by default they are flushleft; see attached and below: === \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter,

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
\Paragraph\input ward \stopchapter \stoptext Can this be made into Wolfgang Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 04:45 Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \set

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 01:10:18 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example d

[NTG-context] space sectioning control

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's an interesting one, attached and below: === \setuphead[chapter] [alternative=normal] \setuphead[subsection][alternative=text] \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] \starttext \startchapter[title={First},reference={}]

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the default fonts are loaded after \starttext. When you now put text in a box before \starttext a

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local]

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 23 Jun 2018 07:10:27 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 23. Juni 2018 um 14:17 On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespac

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
oops, attached On Sat, 23 Jun 2018 06:17:27 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace, etc,) which are have to explicitly setup

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 22. Juni 2018 um 21:01 On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: Many thanks. Is there (Hans? Wolfgang?) available somewhere 1. a co

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 22 Jun 2018 14:13:22 -0600, Wolfgang Schuster wrote: 2. a complete list of those typographical settings (bidi, whitespace, etc,) which are have to explicitly setup for such environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal

Re: [NTG-context] bidi in footnotes

2018-06-22 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 21 Jun 2018 08:36:52 -0600, Alan Braslau wrote: On Thu, 21 Jun 2018 06:20:45 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: Many thanks. Question: Is this use of setups now the "official" or preferred way to handle footnote typography options? On the surface,

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Idris Samawi Hamid ادريس سماوي حامد
Salaam, Mohammad Hossein, Otared, On Wed, 20 Jun 2018 15:27:56 -0600, Mohammad Hossein Bateni wrote: \startsetups[bidi:footnotes] \setupdirections[bidi=on] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] On Wed, 20 Jun 2018 22:31:05 -0600, Otared Kavian wrote: % begin

[NTG-context] bidi in footnotes

2018-06-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached/following example, bidi is not applied in the footnote: \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \stopfootnote{} \stoptext

[NTG-context] bidi protocols

2018-06-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Greetings, mtx-context | current version: 2018.06.02 22:34 In the following, bidi does not work: === \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \righttoleft Test امتحان test \stoptext === See attached. This used to

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Idris Samawi Hamid ادريس سماوي حامد
is\par}, location=bottom] \starttext \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stoptext Wow.. many thanks! Idris Wolfgang Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 19. Mai 2018 um 23:34 Dear gang, Just put together a macro that appears to do wh

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 19 May 2018 16:47:34 -0600, Henri Menke <henrime...@gmail.com> wrote: On 05/20/2018 09:34 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Just put together a macro that appears to do what's desired. However, is there a cleaner, more ConTeXt-like way

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 19 May 2018 16:40:13 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 20. Mai 2018 um 00:30 Dear gang, Related to the last thread ("Numbered, counted snippets in running text&q

[NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Related to the last thread ("Numbered, counted snippets in running text"). Let us consider the same macro: === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1

[NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Just put together a macro that appears to do what's desired. However, is there a cleaner, more ConTeXt-like way to do this? === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-26 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 25 Mar 2018 16:34:08 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 26. März 2018 um 00:24 2) Alternatively, would like to be able to define a conversion that sets the footnote num

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 25 Mar 2018 09:29:01 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. März 2018 um 17:04 Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=of

[NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext ==

[NTG-context] ANNOUNCEMENT: Notepad++ for ConTeXt - Version 0.98

2018-03-05 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear ConTeXt gang, A continuing desideratum for ConTeXt is a user-friendly writing and editing environment, where the range of application of the category “user-friendly” includes especially non-experts in programming or software development. The lack of such an environment is one factor

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13 below:

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 02:47:17 -0700, Hans Hagen <pra...@wxs.nl> wrote: On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Here's a strange situation: In approach I) we get the subject heading in the TOC, but style=bold doesn't work. In approach II) style=bold

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's a strange situation: In approach I) we get the subject heading in the TOC, but style=bold doesn't work. In approach II) style=bold works, but the subject heading doesn't show up. For each approach, how do we get both subject heading and style=bold in the TOC? Between

Re: [NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 11 Feb 2018 09:56:40 -0700, Hans Hagen <pra...@wxs.nl> wrote: On 2/11/2018 5:20 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Is there an analogous symbol for a midsentence, which requires a mark only at its beginning? |=| Excellent! -- Idris Samawi Hamid, Professor Depa

[NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Midsentences in the ConTeXt sense are quite common. Consider the following: === \setuplanguage[en] [leftsentence={{} \endash\nobreakspace}, rightsentence={{} \endash\nobreakspace}, leftsubsentence={{} \textbar\nobreakspace}, rightsubsentence={{} \textbar\nobreakspace},

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 17 Nov 2017 13:06:02 -0700, Pablo Rodriguez wrote: With average user, I mean I don’t fully understand the code that I read (and I cannot write code for ConTeXt [either TeX or Lua]). Otherwise, I would be contributing code to ConTeXt. But what you contribute by answering

Re: [NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 16 Nov 2017 11:40:40 -0700, Pablo Rodriguez <oi...@gmx.es> wrote: On 11/16/2017 07:18 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Yes, but the point of this scenario is to do everything with \definefont. pagella is just for purposes of a MWE: otherwise the scenario calls for

Re: [NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 16 Nov 2017 11:11:50 -0700, Pablo Rodriguez <oi...@gmx.es> wrote: On 11/16/2017 06:57 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 16 Nov 2017 10:47:13 -0700, Pablo Rodriguez <oi...@gmx.es> wrote: [...] You should rewrite your \setupnote command in the f

Re: [NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Pablo, On Thu, 16 Nov 2017 10:47:13 -0700, Pablo Rodriguez <oi...@gmx.es> wrote: On 11/16/2017 06:11 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: What do we need to do to get a raised footnote symbol in the main text (line 6 of the pdf)? Thanks in advance. BTW, I mixed the

[NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
Der gang, For the following \definefont scenario, the footnote symbol in the main text is not raised: === \setuppapersize[letter][letter] % \setupbodyfont[schola,12pt] \definefont[PagellaRegular] [texgyrepagella-regular.otf at 14pt]

Re: [NTG-context] show bounding boxes

2017-08-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Herbert, On Wed, 23 Aug 2017 02:18:34 -0600, Herbert Voss wrote: Hello all, is it possible to get additional frames around words and the whole line? \definefontfeature[default][default][boundingbox=frame] \starttext »Tee for Two« shows negative kerning.

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Aug 2017 22:14:15 -0600, Idris Samawi Hamid ادريس سماوي حامد <idris.ha...@colostate.edu> wrote: Wikified by Pablo: http://wiki.contextgarden.net/Paragraph_Enumeration#Using_Section_Numbering_to_Improve_Paragraph_Numbering And coming soon to a beta near you:

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Aug 2017 08:13:22 -0600, Idris Samawi Hamid ادريس سماوي حامد Here is a first attempt to combine this paragraph numbering with sectioning: \defineseparatorset [ParagraphNumber][.,] % no second decimal for susubparagraphs % \defineseparatorset [ParagraphNumber][.,.] % second

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 07 Aug 2017 13:57:56 -0600, Wolfgang Schuster wrote: Simpler version: \defineseparatorset [ParagraphNumber][.,] \definecounter[ParagraphNumber][numberseparatorset=ParagraphNumber,criterium=all] \define\ParagraphNumber

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Aug 2017 01:29:12 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/8/2017 12:32 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Thank you again, Wolfgang. After playing with this, figured out how to do the full decimal version; just toggle % \defineseparatorset [Paragraph

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
[off-topic] Hi Jean-Pierre, On Tue, 08 Aug 2017 01:34:28 -0600, Jean-Pierre Delange wrote: Hi Idriss, Pablo, Wolfgang and Hans, It has been a long time since I have read the Wittgenstein "Tractacus-Logico-Philosophicus". I remember, when I was 20, that I was very

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Aug 2017 01:36:00 -0600, Hans Hagen wrote: On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: On 08/07/2017 08:57 PM, Hans Hagen wrote: On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: [...] I mean, in a common sectioning structure a \subsubsection comes after a

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, Pablo, On Mon, 07 Aug 2017 15:03:41 -0600, Pablo Rodriguez wrote: On 08/07/2017 08:57 PM, Hans Hagen wrote: On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: [...] I mean, in a common sectioning structure a \subsubsection comes after a \subsection. But I don’t think it must

Re: [NTG-context] Could you look at this?

2017-08-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 07 Aug 2017 13:57:56 -0600, Wolfgang Schuster wrote: Simpler version: \defineseparatorset [ParagraphNumber][.,] \definecounter[ParagraphNumber][numberseparatorset=ParagraphNumber,criterium=all] \define\ParagraphNumber

Re: [NTG-context] Could you look at this?

2017-08-07 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Mon, 07 Aug 2017 12:17:21 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 7. August 2017 um 15:54 Hi Hans, https://mailman.ntg.nl/pipermail/ntg-context/2017/089431.html For

[NTG-context] Could you look at this?

2017-08-07 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, https://mailman.ntg.nl/pipermail/ntg-context/2017/089431.html For the current writing project: It seems I've gotten about as far as I'm going to get on the list with this. Could you kindly take a look at the two automation challenges at the end of the message when you get a chance?

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 06 Aug 2017 13:49:37 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: On 08/06/2017 03:54 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: In addition to the two dropbox links above, see the following: https://people.umass.edu/klement/tlp/tlp.html#bodytext https://people.umass.edu/k

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 06 Aug 2017 13:39:50 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: On 08/06/2017 03:54 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] Something along the lines of the following would be a sufficient (and easier) first step for the current project, although we may want to r

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 05 Aug 2017 21:28:30 -0600, Idris Samawi Hamid ادريس سماوي حامد <idris.ha...@colostate.edu> wrote: The parameter insidesection= helps: \setupwhitespace[big] \def\SPACE#1{#1\hskip2em\hbox{}} \setuphead[section] [style=\bf, after={\bla

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Sun, 06 Aug 2017 03:09:16 -0600, Wolfgang Schuster wrote: \setupwhitespace[big] \definelabel[ParagraphNumber][text=Paragraph,closesymbol={\hspace[big]}] \setupparagraphintro[each][\ParagraphNumber] \starttext \section{Section} \input ward \input

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 05 Aug 2017 14:08:28 -0600, Idris Samawi Hamid ادريس سماوي حامد <idris.ha...@colostate.edu> wrote: [Sent this a couple of days ago, maybe will get some takers this time -)] Dear syndicate, Not sure if there is a canonical way to do numbered paragraphs. In the following,

[NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
[Sent this a couple of days ago, maybe will get some takers this time -)] Dear syndicate, Not sure if there is a canonical way to do numbered paragraphs. In the following, I use subsections to mimic numbered paragraphs: ===section-intext.tex===

[NTG-context] methods for numbered paragraphs

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear syndicate, Not sure if there is a canonical way to do numbered paragraphs. In the following, I use subsections to mimic numbered paragraphs: ===section-intext.tex=== \setuphead[section][style=\bfa,after={\blank[big]},before={\blank[big,medium]},color=walayahblue]

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Aug 2017 01:41:42 -0600, Henning Hraban Ramm wrote: Am 2017-08-02 um 23:46 schrieb Aditya Mahajan : I occasionally experience a similar issue (after an update wrong fontface is used, especially with math fonts) and reloading the fonts

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 02 Aug 2017 15:17:07 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/2/2017 11:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 02 Aug 2017 15:15:59 -0600, Aditya Mahajan <adit...@umich.edu> wrote: On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, There appears to be something awry with type-imp-cambria.mkiv or type-imp-dejavu.mkiv. Consider the following: === \setupbo

[NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, There appears to be something awry with type-imp-cambria.mkiv or type-imp-dejavu.mkiv. Consider the following: === \setupbodyfont [cambria,12pt] \starttext Test % {\it Test} {\bf Test} {\bi Test} \stoptext === This produces a pdf with Cambria Italic instead of Cambria

Re: [NTG-context] replace characters with bounding boxes

2017-07-20 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 20 Jul 2017 15:05:31 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 7/20/2017 8:06 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 20 Jul 2017 07:31:00 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 7/20/2017 3:04 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear

Re: [NTG-context] replace characters with bounding boxes

2017-07-20 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 20 Jul 2017 07:31:00 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 7/20/2017 3:04 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Given a set body font and text, how does one replace all characters of that font in that text with the corresponding rectangular bounding

[NTG-context] replace characters with bounding boxes

2017-07-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Given a set body font and text, how does one replace all characters of that font in that text with the corresponding rectangular bounding boxes? Once an answer to the above is spelled out: How does one control the width of the lines which make up the bounding boxes? Thank you

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 14:33:05 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: On 06/07/2017 10:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: And creating a keyboard shortcut to launch the script automat

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez wrote: And creating a keyboard shortcut to launch the script automatically helps a lot. Scite: Ctrl-0 Notepad++: Ctrl-Shift-0 (new n++ setup for context currently under development) Idris -- Idris Samawi Hamid, Professor

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 12:11:14 -0600, Pablo Rodriguez wrote: (but i have to admit that i normally just run files and redo after fixing an error, running is fast enough) My question here isn’t about speed. If a source may load twenty source files and it actually loads five source

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 02:09:48 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 6/7/2017 7:02 AM, Pablo Rodriguez wrote: On 06/06/2017 10:56 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] Would it be any way to make ConTeXt report that \linenote{ hasn’t been closed? Just check you

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Pablo, On Tue, 06 Jun 2017 14:02:24 -0600, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext This is \linenote{abed intended. \stoptext From which I get the error: close source> level 2, order 3, name '/home/ousia/untitled.tex'

[NTG-context] Fwd: ANNOUNCE: pandoc scholar

2017-05-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, This just in. Slightly off-topic, but in the wake of the recent markdown thread some of you may find this approach interesting or a source of ideas for doing something similar in ConTeXt. Best wishes Idris --- Forwarded message --- From: "Albert Krewinkel"

Re: [NTG-context] math font fallback for palatino \cal

2016-08-14 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 14 Aug 2016 13:17:35 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 14. August 2016 um 20:33 Dear gang, Using pagella (palatino) for a project here. Unfortunately texgyrepagella-

Re: [NTG-context] math font fallback for palatino \cal

2016-08-14 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 14 Aug 2016 12:33:53 -0600, Idris Samawi Hamid ادريس سماوي حامد <idris.ha...@colostate.edu> wrote: Dear gang, Using pagella (palatino) for a project here. Unfortunately texgyrepagella-math.otf has a rather unattractive set of \cal caps; schola, termes, bonum etc. all use th

[NTG-context] math font fallback for palatino \cal

2016-08-14 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Using pagella (palatino) for a project here. Unfortunately texgyrepagella-math.otf has a rather unattractive set of \cal caps; schola, termes, bonum etc. all use the same and much better-looking set. So I decided to try and define a palatino math set with the \cal caps from

[NTG-context] first-setup.bat weirdness II: xetex etc.

2016-07-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear syndicate, As mentioned in my other message, "first-setup.bat weirdness I: cloned system" I've now switched to the first-setup.bat way of updating. Two pieces of weirdness on the main machine: 1. mtx-context | running command: xetex --ini --etex --8bit cont-en.mkii \dump makes

[NTG-context] first-setup.bat weirdness I: cloned system

2016-07-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the past I updated to the latest via installing cont-tmf.zip (and luatex.exe if needed) manually, but recently I switched to first-setup.bat. I got things working on one 64-bit machine (vista), and want to set up context on another (windows7), also 64-bit. Normally all I

  1   2   3   4   >