Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Tomas Hala
Hi Wolfgang, 

that's genious! Thank you very much.

Tomáš 


Sun, Mar 25, 2018 ve 02:37:17PM +0200 Wolfgang Schuster napsal(a):
#Hi Thomas,
# 
#you have to put your images in a floatcombination environment.
# 
#\setupexternalfigure[location=default]
# 
#\starttext
# 
#\startplacefigure[location=none]
#    \startfloatcombination[2*1]
#        \placefigure{A dutch cow}{\externalfigure[cow][height=5cm]}
#        \placefigure{A dutch mill}{\externalfigure[mill][height=5cm]}
#    \stopfloatcombination
#\stopplacefigure
# 
#\stoptext
# 
#Wolfgang
# 
# [1]Tomas Hala
#  25. März 2018 um 12:11
#  Hi all,
# 
#  I struggled with a pair of figures which will float together in a text,
#  each with its own caption. I found out the following solution and
#  I would like to ask whether this is the "oficial" and the best way
#  how to do it.
# 
#  \starttext
#  
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\externalfigure[a.jpg]\externalfigure[a.jpg]}
#  or
#  
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]}
#  \stoptext
# 
#  Best,
# 
#  Tomáš
# 
#  
___
#  If your question is of interest to others as well, please add an entry
#  to the Wiki!
# 
#  maillist : [2]ntg-context@ntg.nl /
#  [3]http://www.ntg.nl/mailman/listinfo/ntg-context
#  webpage : [4]http://www.pragma-ade.nl / [5]http://context.aanhet.net
#  archive : [6]https://bitbucket.org/phg/context-mirror/commits/
#  wiki : [7]http://contextgarden.net
#  
___
# [8]Tomas Hala
#  25. März 2018 um 12:21
#  I am taking it back, it has only one caption:-(
# 
#  I wanted to send this code:
# 
#  \starttext
#  \startcolumns[n=2]
#  \placefigure{c11}{\externalfigure[cow][height=3cm]}
#  \column
#  \placefigure{c12}{\externalfigure[cow][height=3cm]}
#  \stopcolumns
#  \stoptext
# 
#  Tomáš
# 
#  Sun, Mar 25, 2018 ve 12:11:58PM +0200 Tomas Hala napsal(a):
#  # Hi all,
#  #
#  # I struggled with a pair of figures which will float together in a
#  text,
#  # each with its own caption. I found out the following solution and
#  # I would like to ask whether this is the "oficial" and the best way
#  # how to do it.
#  #
#  # \starttext
#  #
#  
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\externalfigure[a.jpg]\externalfigure[a.jpg]}
#  # or
#  #
#  
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]}
#  # \stoptext
#  #
#  # Best,
#  #
#  # Tomáš
#  #
#  #
#  
___
#  # If your question is of interest to others as well, please add an entry
#  to the Wiki!
#  #
#  # maillist : [9]ntg-context@ntg.nl /
#  [10]http://www.ntg.nl/mailman/listinfo/ntg-context
#  # webpage : [11]http://www.pragma-ade.nl / [12]http://context.aanhet.net
#  # archive : [13]https://bitbucket.org/phg/context-mirror/commits/
#  # wiki : [14]http://contextgarden.net
#  #
#  
___
# 
#  
___
#  If your question is of interest to others as well, please add an entry
#  to the Wiki!
# 
#  maillist : [15]ntg-context@ntg.nl /
#  [16]http://www.ntg.nl/mailman/listinfo/ntg-context
#  webpage : [17]http://www.pragma-ade.nl / [18]http://context.aanhet.net
#  archive : [19]https://bitbucket.org/phg/context-mirror/commits/
#  wiki : [20]http://contextgarden.net
#  
___
# 
# References
# 
#Visible links
#1. mailto:tomas.h...@mendelu.cz
#2. mailto:ntg-context@ntg.nl
#3. http://www.ntg.nl/mailman/listinfo/ntg-context
#4. http://www.pragma-ade.nl/
#5. http://context.aanhet.net/
#6. https://bitbucket.org/phg/context-mirror/commits/
#7. http://contextgarden.net/
#8. mailto:tomas.h...@mendelu.cz
#9. mailto:ntg-context@ntg.nl
#   10. http://www.ntg.nl/mailman/listinfo/ntg-context
#   11. http://www.pragma-ade.nl/
#   12. http://context.aanhet.net/
#   13. https://bitbucket.org/phg/context-mirror/commits/
#   14. http://contextgarden.net/
#   15. mailto:ntg-context@ntg.nl
#   16. http://www.ntg.nl/mailman/listinfo/ntg-context
#   17. http://www.pragma-ade.nl/
#   18. http://context.aanhet.net/
#   19. 

Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Wolfgang Schuster

Hi Thomas,

you have to put your images in a floatcombination environment.

\setupexternalfigure[location=default]

\starttext

\startplacefigure[location=none]
\startfloatcombination[2*1]
\placefigure{A dutch cow}{\externalfigure[cow][height=5cm]}
\placefigure{A dutch mill}{\externalfigure[mill][height=5cm]}
\stopfloatcombination
\stopplacefigure

\stoptext

Wolfgang

Tomas Hala 
25. März 2018 um 12:11
Hi all,

I struggled with a pair of figures which will float together in a text,
each with its own caption. I found out the following solution and
I would like to ask whether this is the "oficial" and the best way
how to do it.

\starttext
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\externalfigure[a.jpg]\externalfigure[a.jpg]}
or
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]}
\stoptext

Best,

Tomáš

___
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
___
Tomas Hala 
25. März 2018 um 12:21
I am taking it back, it has only one caption:-(

I wanted to send this code:

\starttext
\startcolumns[n=2]
\placefigure{c11}{\externalfigure[cow][height=3cm]}
\column
\placefigure{c12}{\externalfigure[cow][height=3cm]}
\stopcolumns
\stoptext

Tomáš

Sun, Mar 25, 2018 ve 12:11:58PM +0200 Tomas Hala napsal(a):
# Hi all,
#
# I struggled with a pair of figures which will float together in a text,
# each with its own caption. I found out the following solution and
# I would like to ask whether this is the "oficial" and the best way
# how to do it.
#
# \starttext
# 
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\externalfigure[a.jpg]\externalfigure[a.jpg]}

# or
# 
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]}

# \stoptext
#
# Best,
#
# Tomáš
#
# 
___
# 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
# 
___


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


___
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] Question about a pair of floating fugures

2018-03-25 Thread Tomas Hala
I am taking it back, it has only one caption:-(

I wanted to send this code:

\starttext
\startcolumns[n=2]
\placefigure{c11}{\externalfigure[cow][height=3cm]}
\column
\placefigure{c12}{\externalfigure[cow][height=3cm]}
\stopcolumns
\stoptext

Tomáš

Sun, Mar 25, 2018 ve 12:11:58PM +0200 Tomas Hala napsal(a):
# Hi all,
# 
# I struggled with a pair of figures which will float together in a text, 
# each with its own caption. I found out the following solution and 
# I would like to ask whether this is the "oficial" and the best way
# how to do it. 
# 
# \starttext
# 
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\externalfigure[a.jpg]\externalfigure[a.jpg]}
# or
# 
\placefigure{}{\dontleavehmode\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]\hfill\externalfigure[a.jpg]}
# \stoptext
# 
# Best,
# 
# Tomáš
# 
# 
___
# 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
# 
___

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