Am 2017-08-04 um 06:30 schrieb Henri Menke :
> On 08/04/2017 07:46 AM, Henning Hraban Ramm wrote:
>> Am 2017-07-31 um 03:26 schrieb Aditya Mahajan :
>>
>>> You can't do that with buffers. If you need to define your own macros that
>>> behave like buffers, you need to use \grabbufferdata (see buf
Am 2017-07-31 um 03:26 schrieb Aditya Mahajan :
> You can't do that with buffers. If you need to define your own macros that
> behave like buffers, you need to use \grabbufferdata (see buff-ini.mkiv). But
> in this case, there is a simpler solution:
>
> \defineframed
> [CodeExampleFramed]
> [
Am 2017-07-31 um 03:26 schrieb Aditya Mahajan :
> You can't do that with buffers. If you need to define your own macros that
> behave like buffers, you need to use \grabbufferdata (see buff-ini.mkiv). But
> in this case, there is a simpler solution:
Thank you very much, I can work with that.
A
On Sun, 30 Jul 2017, Henning Hraban Ramm wrote:
Am 2017-07-29 um 00:57 schrieb Aditya Mahajan :
On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
Ahoi again,
I’m preparing some ConTeXt docs with a lot of examples and would like to
reproduce what we have in the wiki as
...
i.e. sourcecode
On 07/30/2017 07:13 PM, Henning Hraban Ramm wrote:
> [...]
> But I’d like to show a lot of similar examples to explain several options.
> Therefore, if I’d like to simplify my code, but this doesn’t work:
>
> \def\CodeExample#1{%
> \startbuffer[zB]
> #1
> \stopbuffer
> \typebuffer[zB]
> \getbuffer
Am 2017-07-29 um 00:57 schrieb Aditya Mahajan :
> On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
>
>> Ahoi again,
>>
>> I’m preparing some ConTeXt docs with a lot of examples and would like to
>> reproduce what we have in the wiki as
>>
>>
>> ...
>>
>>
>> i.e. sourcecode beside the result.
On 07/29/2017 10:58 AM, Pablo Rodriguez wrote:
> On 07/29/2017 12:57 AM, Aditya Mahajan wrote:
>> [...]
>> \placesidebyside
>> {\typebuffer[example-1]}
>> {\getbuffer[setups, example-1]}
> [...]
> Is there now hay to avoid the forced horizontal mode on both sides?
Replying to my own ques
On 07/29/2017 12:57 AM, Aditya Mahajan wrote:
> [...]
> \startbuffer[example-1]
>
> \stopbuffer
>
>
> \placesidebyside
> {\typebuffer[example-1]}
> {\getbuffer[setups, example-1]}
Many thanks for your suggestion, Aditya.
I’m afraid everything is forced to be in horizontal mode:
On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
Ahoi again,
I’m preparing some ConTeXt docs with a lot of examples and would like to
reproduce what we have in the wiki as
...
i.e. sourcecode beside the result.
Often the shown source is exactly what I want to show, in other cases I
need s
Ahoi again,
I’m preparing some ConTeXt docs with a lot of examples and would like to
reproduce what we have in the wiki as
...
i.e. sourcecode beside the result.
Often the shown source is exactly what I want to show, in other cases I need
some additional setup that I don’t want to show.
Wh
10 matches
Mail list logo