[NTG-context] Gobbled spaces after \starttyping

2015-06-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

suppose the following code:


\starttext
\starttyping
  Aaa
  Bbb
\stoptyping
\stoptext


It produces:


Aaa
  Bbb


How to force ConTeXt not to gobble spaces after \setuptyping, to get:


  Aaa
  Bbb


i.e. to obey two blanksbefore Aaa?

Thank you in advance.

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Verb.mkiv
Description: Binary data


Verb.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] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Christoph Reller
On Sun, Jun 7, 2015 at 12:00 PM ota...@gmail.com wrote:


 Hi Christoph,

 There exists a local footnotes environment in floats, as in the following
 example: I don’t know if it solves the problem you mention…

 
 \starttext
 \startlocalfootnotes
 \placetable[align=middle]{A table with footnotes.}
 {\starttable[|l|r|]
   \HL
   \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR
   \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR
   \HL
   \stoptable}
 {\placelocalfootnotes}
 \stoplocalfootnotes
 \stoptext
 

 Best regards: OK


Thank you Otared for your suggestion!

\startlocalfootnotes ... \stoplocalfootnotes only solves the problem
partially.

Solved: I can now use the usual \footnote{...} command and the footnote
does not disappear.
Unsolved: All the footnotes in the table still appear on the last page of a
multi-page table instead of the actual page where they are written.

To illustrate the latter problem I have a new MWE. The footnote mark in the
first table row receives a footnote text on the second page - it should be
on the first page.

Does anybody have a solution to this? Is it not supported? (I have ConTeXt
Version 2015.05.03 21:46)

Thank you for any feedback,
Christoph

MWE:

\starttext

\startlocalfootnotes
  \placetable[split][]{}{
\bTABLE
\bTR \bTD This \eTD \bTD That
\footnote{This footnote should appear on page 1.}
\eTD \eTR
\dorecurse{50}{\bTR \bTD This \eTD \bTD That \eTD \eTR}
\eTABLE}
  \placelocalfootnotes
\stoplocalfootnotes

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

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Otared Kavian
Hi Christoph,

There exists a local footnotes environment in floats, as in the following 
example: I don’t know if it solves the problem you mention…


\starttext

\startlocalfootnotes 
\placetable[align=middle]{A table with footnotes.}
{\starttable[|l|r|]
  \HL
  \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR
  \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR
  \HL
  \stoptable}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext


Best regards: OK

 On 06 Jun 2015, at 21:41, Christoph Reller christoph.rel...@gmail.com wrote:
 
 Hi,
 
 How can I get footnotes working with split tables? Is this not supported?
 
 The workaround with \note[...] \footnotetext[...]{...} can only be used to 
 place footnotes on the first or on the last page of the table. For a long 
 multi-page table this is not satisfactory.
 
 The wiki mentions using \automigrateinserts, but it has no effect here.
 
 Any help is welcome!
 
 Cheers,
 Christoph
 
 MWE:
 
 \automigrateinserts
 \starttext
 \placetable[split][]{}{
   \bTABLE
   \bTR \bTD This \eTD \bTD That.
   \footnote{This footnote disappears.}
   \note[working]
   \eTD \eTR
   \eTABLE}
   \footnotetext[working]{This footnote works.}
 \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
 ___

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