Re: [NTG-context] \simplealignedbox (was: itemize)

2013-03-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

kind request - \simplealignedbox is not known to me - could anyone familar add 
some info to wiki?

Best regards,

Lukas



\setupitemgroup [itemize] [left=\simplealignedbox{1em}{flushright}]


--
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 244 062 238
Fax: +420 244 461 038

___
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] \simplealignedbox (was: itemize)

2013-03-07 Thread Wolfgang Schuster

Am 07.03.2013 um 14:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 kind request - \simplealignedbox is not known to me - could anyone familar 
 add some info to wiki?

With the \simplealignedbox command you can align a given text in a box with a 
given width,
the width of the box is set with the first argument, the alignment with the 
second and the content
with the third argument of the command.

Example with all possible alignments:

\starttext
\ruledhbox{\simplealignedbox{3cm}{flushleft}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{flushright}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{middle}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{left}{TEXT}}
\ruledhbox{\simplealignedbox{3cm}{right}{TEXT}}
\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \simplealignedbox (was: itemize)

2013-03-07 Thread Marco Patzer
On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote:

 kind request - \simplealignedbox is not known to me - could anyone
 familar add some info to wiki?

It's a simple wrapper around \hbox with a fixed width and the
possibility to align the content either to the left, right or
centred within the box.

\simplealignedbox{width}{left|right|flushleft|flushright|middle}{content}

translates to

\hbox to width{content\hss} %% left alignment
\hbox to width{\hsscontent} %% right alignment
\hbox to width{\hsscontent\hss}

\hss pushes the content to the left or right, respectively.


Marco


signature.asc
Description: Digital signature
___
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] [***Spam/VIR***] Re: \simplealignedbox (was: itemize)

2013-03-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... OK, thanks to Marco and Wolfgang.

Best regads,

Lukas


On Thu, 07 Mar 2013 15:09:01 +0100, Marco Patzer home...@lavabit.com wrote:


On 2013–03–07 Procházka Lukáš Ing. - Pontex s. r. o. wrote:


kind request - \simplealignedbox is not known to me - could anyone
familar add some info to wiki?


It's a simple wrapper around \hbox with a fixed width and the
possibility to align the content either to the left, right or
centred within the box.

\simplealignedbox{width}{left|right|flushleft|flushright|middle}{content}

translates to

\hbox to width{content\hss} %% left alignment
\hbox to width{\hsscontent} %% right alignment
\hbox to width{\hsscontent\hss}

\hss pushes the content to the left or right, respectively.


Marco




--
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 244 062 238
Fax: +420 244 461 038

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

[NTG-context] \usemodule not working in latest beta

2013-03-07 Thread Mica Semrick
Forgive me if this has been answered else where, I couldn't seem to spot it.

I have my own little version of t-title.tex that worked with the beta
before luatex 0.75.

Upon updating to the latest beta last night, the document wouldn't compile.
It looked like it wasn't reading up the \usemodule[title] at all, because
it was giving me an undefined control sequence error on the first macro
defined in t-title.tex (\doctitle{my title}).

Help please!

Regards,
Mica
___
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
___

[NTG-context] How to disable hyphenation?

2013-03-07 Thread Marcin Borkowski
Hi,

I'd like to typeset some text flush left and *completely* without
hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
but this is obviously not very ConTeXt-way.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] How to disable hyphenation?

2013-03-07 Thread Alan BRASLAU
On Thu, 7 Mar 2013 23:47:27 +0100
Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 Hi,
 
 I'd like to typeset some text flush left and *completely* without
 hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
 but this is obviously not very ConTeXt-way.)
 
 Best,
 

\setupalign [nothyphenated]

Alan
___
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] \usemodule not working in latest beta

2013-03-07 Thread Marco Patzer
On 2013–03–07 Mica Semrick wrote:

 Upon updating to the latest beta last night, the document wouldn't compile.
 It looked like it wasn't reading up the \usemodule[title] at all, because
 it was giving me an undefined control sequence error on the first macro
 defined in t-title.tex (\doctitle{my title}).
 
 Help please!

A title module was recently added to the context distribution. It
might be that it's interfering with your personal one. You can run
your document with

  \enabletrackers [resolvers.details]

and check if your title module is actually loaded. If you're sure
that \usemodule is broken please post a minimal example.


Marco


signature.asc
Description: Digital signature
___
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] How to disable hyphenation?

2013-03-07 Thread Aditya Mahajan

On Thu, 7 Mar 2013, Marcin Borkowski wrote:


Hi,

I'd like to typeset some text flush left and *completely* without
hyphenation.  What do I do?  (For now, I wrote \hyphenpenalty=1,
but this is obviously not very ConTeXt-way.)


\setupalign[nothypenated]

or inside an environment that accepts the align key

... align=nothyphenated

It may be a good idea to either increase the tolerance, or set the text to 
be flush left as well.


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


[NTG-context] 3/8/2013 4:19:54 AM

2013-03-07 Thread andrew Dowell
http://www.deluxeaudioandvideo.com/ricf/olip/xitk/obizv/ahgzzv  



 andrew Dowell 


3/8/2013 4:19:54 AM   ___
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
___

[NTG-context] [***SPAM***] File access for sourc, graphic, and pictures

2013-03-07 Thread hwitloc

I am just learning ConTeXt, so please bare with me.  In all of the 
documentation that I've read so far, it shows the names of imported 
photographs, graphs, blocks, etc as a simple filename without any filename 
extensions or pathnames. 

Having a bunch of photographs anc charts files in the same directory as te tex 
files reallys clutters things up.   I'd like to store photographs, etc., to use 
used in a subdirectory of the project.  Also might be nice to have 
subdirectories for the sourc
e of each part of a book.  

How do experienced people handle organizing files for large-ish scale projects 
such as a book?  It would be educational to learn how this is handled.

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