Re: [NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Thanks,  it works ok.

On 2/22/19 2:55 PM, Wolfgang Schuster wrote:
> Lizardo M. Reyna Bowen schrieb am 22.02.19 um 18:20:
>> Hi all,
>>
>> How to insert a sample code and the result in a "minipage" in a
>> presentation? For example, I need to show the result of a
>> startdarmakeup, as in the following pdf.
>>
>> http://www.pragma-ade.com/show-art.pdf#[0,{%22name%22:%22Fit%22}]
>
> \setuppapersize[A4,landscape]
>
> \starttext
>
> \startbuffer[standardmakeup]
> \startstandardmakeup
> Hello
> \stopstandardmakeup
> \stopbuffer
>
> \typesetbuffer[standardmakeup][frame=on,height=\textheight]
>
> \stoptext
>
> Wolfgang
>
-- 
Lizardo Mauricio Reyna Bowen
Docente-Investigador
Facultad de Ingerniería Agrícola
Universidad Técnica de Manabí
+593 982924637 | lre...@utm.edu.ec |reyna@gmail.com
Manabí - Ecuador
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Thanks,  it is exactly what I want.

On 2/22/19 2:55 PM, Wolfgang Schuster wrote:
> Lizardo M. Reyna Bowen schrieb am 22.02.19 um 18:20:
>> Hi all,
>>
>> How to insert a sample code and the result in a "minipage" in a
>> presentation? For example, I need to show the result of a
>> startdarmakeup, as in the following pdf.
>>
>> http://www.pragma-ade.com/show-art.pdf#[0,{%22name%22:%22Fit%22}]
>
> \setuppapersize[A4,landscape]
>
> \starttext
>
> \startbuffer[standardmakeup]
> \startstandardmakeup
> Hello
> \stopstandardmakeup
> \stopbuffer
>
> \typesetbuffer[standardmakeup][frame=on,height=\textheight]
>
> \stoptext
>
> Wolfgang
>
-- 
Lizardo Mauricio Reyna Bowen
Docente-Investigador
Facultad de Ingerniería Agrícola
Universidad Técnica de Manabí
+593 982924637 | lre...@utm.edu.ec |reyna@gmail.com
Manabí - Ecuador
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Hi all,

How to insert a sample code and the result in a "minipage" in a 
presentation? For example, I need to show the result of a
startdarmakeup, as in the following pdf.

http://www.pragma-ade.com/show-art.pdf#[0,{%22name%22:%22Fit%22}]

Regards

-- 
Lizardo


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] startchapter in two columns

2019-01-18 Thread Lizardo M. Reyna Bowen

Thanks Wolfgang,

The insidesection/aftersection options in \setuphead works well. I have 
been used the following way:



\starttext

\chapter{title of the chapter}

\startcolumns

\section{Introduction}

\dorecurse{5}{\input davis\par}

\section{Methods}

\dorecurse{5}{\input davis\par}

%

\stopcolumns

\stoptext

I have read that the \start...\stop way of the commands are better for 
exporting  to another format like xml.



On 1/18/19 2:23 PM, Wolfgang Schuster wrote:

Lizardo M. Reyna Bowen schrieb am 18.01.19 um 19:42:

Hi all,

I'm trying to use \startchapter...\stopchapter command to typeset  an
article, I  need the title of the chapter in the entire \textwidth and
the following parts  in two columns (from abstract to references). With
\chapter command, it is not problem, but I can not do it with
\start..\stop command.


Do you have a example where you use \chapter?


Somebody knows how to do it ?


\setuphead
  [chapter]
  [insidesection=\startcolumns,
   aftersection=\stopcolumns]

\starttext

\startchapter[title={Greenfield}]
\dorecurse{10}{\samplefile{greenfield}}
\stopchapter

\startchapter[title={Klein}]
\dorecurse{10}{\samplefile{klein}}
\stopchapter

\stoptext

Wolfgang


--



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] startchapter in two columns

2019-01-18 Thread Lizardo M. Reyna Bowen
Hi all,

I'm trying to use \startchapter...\stopchapter command to typeset  an
article, I  need the title of the chapter in the entire \textwidth and
the following parts  in two columns (from abstract to references). With
\chapter command, it is not problem, but I can not do it with
\start..\stop command.

Somebody knows how to do it ?

Thanks

-- 
Lizardo Mauricio Reyna Bowen
Docente-Investigador
Facultad de Ingerniería Agrícola
Universidad Técnica de Manabí
+593 982924637 | lre...@utm.edu.ec |reyna@gmail.com
Manabí - Ecuador
PGP Key: 0xa35a15b90ee64e8d


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Guitar chords

2018-08-19 Thread Lizardo M. Reyna Bowen
Hi,
There is a way to put the guitar chords above of a syllable? I have
tried with \high{G} command, but it is not the correct form.

The result must be similar to this.

https://tex.stackexchange.com/questions/104222/songs-package-chord-size


Thanks for you help

-- 

Lizardo

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Define the dimensions of a layout

2018-08-09 Thread Lizardo M. Reyna Bowen
Hi,

May be this setup works.

\setuppapersize[A4]


\setuplayout[
  header=20mm,
  footer=20mm,
  height=fit,
  topspace=0cm,
  width=fit,
  backspace=2cm,
  rightmargin=0cm,
  leftmargin=0cm,
  leftmargindistance=0pt,
  rightmargindistance=0pt]

\showframe

\starttext
 \showsetups
\stoptext


Regards

-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Define the dimensions of a layout

2018-08-08 Thread Lizardo M. Reyna Bowen
Hi,

May be this setup works.

\setuppapersize[A4]

\setuplayout[
  header=20mm,
  footer=20mm,
  height=fit,
  topspace=0cm,
  width=fit,
  backspace=2cm,
  rightmargin=0cm,
  leftmargin=0cm,
  leftmargindistance=0pt,
  rightmargindistance=0pt]

\showframe

\starttext
 \showsetups
\stoptext

-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem of compiling a file with Emacs

2018-07-31 Thread Lizardo M. Reyna Bowen
I tested the file and conTeXt works well from emacs. The problem seems
to be related with your conTeXt standalone installation. when the file
is compiled, emacs create a log buffer  *... output*.  You could post
that information to look the possible error.

Have you tried reinstalling conTeXt?

attached test.pdf


On 07/31/2018 04:43 AM, Fabrice Couvreur wrote:
> With (setenv "PATH"
> "/home/aragorn/texlive/2018/bin/x86_64-linux/context:$PATH" t)  It
> works properly with C-c C-c
>
>
> With (setenv "PATH"
> "/home/aragorn/context/tex/texmf-linux-64/bin:$PATH" t) It does not
> work with C-c C-c
>
> The compilation is however correct by using a terminal without Emacs
> from the standalone version
> Fabrice
>
> 2018-07-31 10:18 GMT+02:00 Fabrice Couvreur
> mailto:fabrice1.couvr...@gmail.com>>:
>
> Hello,
> I did the same thing as you, but nothing changes. Have you tested
> the file? The expected result is to have the title of the chapter
> with the chapter number in large and light gray color. All
> compiles except the macro that allows to have the chapter number;
> I get a small rectangle instead.
> Fabrice
>
> 2018-07-30 16:02 GMT+02:00 Lizardo Reyna  <mailto:far...@disroot.org>>:
>
>
> I had a similar issue in emacs few months ago. I use an Ubuntu
> based
> GNU/Linux distribution.
>
>  My solution was start a new terminal to execute the commands
> in .bashrc
> file. When it works, a message will appear in the top of the
> terminal.
> "Setting "/home/farliz/context/tex" as ConTeXt root."
>
> Then execute emacs from that terminal typing  $ emacs &. This
> was the
> only way I got run conTeXt from emacs.
>
> I'm not advanced GNU/Linux  user, but there are three
> configuration
> files when login; .bashrc, .bash_profile, and .profile. I
> don't know why
> this files were not execute automatically when I login, so the
> path to
> conTeXt bin is not added and setuptex file is not execute. For
> this
> reason it was necessary to start a new terminal.
>
> I have my system upgraded and now I don't have problem with that.
>
> Regards
>
>
> On 30/07/18 05:45, Fabrice Couvreur wrote:
> > Hi,
> > I made the changes that you recommend, but it does not work
> >
> > ./emacs
> >
> >
> > (custom-set-variables
> >  ;; custom-set-variables was added by Custom.
> >  ;; If you edit it by hand, you could mess it up, so be careful.
> >  ;; Your init file should contain only one such instance.
> >  ;; If there is more than one, they won't work right.
> >  '(ConTeXt-Mark-version "IV")
> >  '(ConTeXt-engine "luatex")
> >  '(custom-enabled-themes (quote (leuven)))
> >  '(package-selected-packages (quote (nova-theme auctex
> > (custom-set-faces
> >  ;; custom-set-faces was added by Custom.
> >  ;; If you edit it by hand, you could mess it up, so be careful.
> >  ;; Your init file should contain only one such instance.
> >  ;; If there is more than one, they won't work right.
> >  )
> >
> > ;; SERVER Download (MELPA):
> > (when (>= emacs-major-version 24)
> >   (require 'package)
> >   (add-to-list
> >    'package-archives
> >    '("melpa" . "http://melpa.org/packages/;)
> >    t)
> >   (package-initialize))
> >
> > ;;(setenv "PATH"
> "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t)
> >
> >
> > (setq ConTeXt-mode-hook
> >   (lambda () (setq TeX-command-extra-options "--purgeall")))
> >
> > (setq-default cursor-type 'bar)
> >
> > (set-cursor-color "#ff")
> >
> >
> > (setq TeX-view-program-list '(("Evince" "evince %o"))
> >   TeX-view-program-selection '((output-pdf "Evince")))
> >
> > (setq make-backup-files nil) ; stop creating backup~ files
> > (setq auto-save-default nil) ; stop creating #autosave# files
> >
> > ;; auto close bracket insertion. New in emac

[NTG-context] Problem of compiling a file with Emacs

2018-07-29 Thread Lizardo M. Reyna Bowen
I understand that you can not compile the document with C-c C-c in Emacs. 

I have the following setup of my .bashrc and .init files.

BASH:

export PATH=$PATH:/home/farliz/context/tex/texmf-linux-64/bin
source ~/context/tex/setuptex
export OSFONTDIR="~/.fonts"
export TEXROOT=~/context/tex


EMACS:

(custom-set-variables
 '(ConTeXt-Mark-version "IV")
 '(ConTeXt-engine "luatex"))

Using this setup I compile all documents with C-c C-c (AucTex mode).


Cheers

-- 

Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to get mail and phone symbols?

2018-07-23 Thread Lizardo M. Reyna Bowen
Thanks Hans, there are many symbols.


On 07/23/2018 11:20 AM, Hans Hagen wrote:
> On 7/23/2018 5:52 PM, Lizardo M. Reyna Bowen wrote:
>> Hi,
>>
>> I want to use the some symbols for phone and email (envelope) in my
>> curriculum vitae to get it look more modern.
>>
>> How is the way to do it in ConTexT?
> \usesymbols[mvs]
> % \setupsymbolset[martinvogel 2]
>
> \starttext
>
>   % \symbol[Telephone]
>   % \symbol[EMail]
>   % \symbol[Letter]
>
>     \symbol[martinvolel 2][Telephone]
>     \symbol[martinvolel 2][EMail]
>     \symbol[martinvolel 2][Letter]
>
>   % \showsymbolset[martinvogel 2]
>
> \stoptext
>
> One of these days we should discuss supporting the new symbols in the
> tex gyre fonts.
>
> Hans
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -

-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to get mail and phone symbols?

2018-07-23 Thread Lizardo M. Reyna Bowen
Thanks to all, the fontawesome solution was the simplest. It look nice now.



-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] How to get mail and phone symbols?

2018-07-23 Thread Lizardo M. Reyna Bowen
Hi,

I want to use the some symbols for phone and email (envelope) in my
curriculum vitae to get it look more modern.

How is the way to do it in ConTexT?


Thanks


-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___