Re: [NTG-context] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Maurice Diamantini

Le 4 juin 08 à 21:34, Gour a écrit :

> Here is the reply from pandoc main developer:
>
> ...
> There's a description of a workaround here:
> http://groups.google.com/group/pandoc-discuss/browse_thread/thread/c9ecef59465c12c6
>  
> "
> ...

Then in the next message:

> ... after a 'port sync', pandoc should again be installable
> using macports." ...

Thank you very much, I'll try it;
(other message not related to ConTeXt could now be send off-list please)
-- Maurice
  
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt ultraminimals

2008-06-04 Thread John Culleton
On Sunday 25 May 2008 05:04:22 pm Hans Hagen wrote:
> Patrick Gundlach wrote:
> > Hello Hans,
> >
> > But also much bigger. Having an ubuntu/context (vmware) image
> > is not hard to create, but it will take something like 2 gig.
> > Nice idea, though.
> >>
> >> so much?
> >
> > With a lot of effort one could cut it down a bit. The problem is
> > that there is no way to get a minimal ubuntu/gnome desktop, only
> > the regular one with all kinds of software (open office etc.) pre
> > installed. You can remove this software, but I don't know how far
> > to go. It takes some time experimenting. I've played around with
> > this quite a bit and I always get about 2 gig of disk space.
> > Without java, this could be 1.5 or so. Installing such a vm
> > (vmware based) takes about 10-20 minutes, including all vmware
> > hacks. So this is the smallest part.
>
> aren't there those tiny linuxes of some 50 meg ?
>
> Hans

Slackware allows you to pick and choose which software you install. 
And a CDR variant, Slax, will run from a mini-cdr.  There are other 
diminutive Linuxes. 

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Last attempt: numbered margin notes in ConTeXt?

2008-06-04 Thread Joachim Kreimer-de Fries

Hey friendly helpers,

I see, this list is one for experts and programmers, less for simple  
users. But given that there is no list for beginners of ConTeXt, I  
make my last attempt to get help in the following problem:


How to create _numbered_ margin notes in ConTeXt?

I have already spent some week of my disposable time to that problem  
without success. I attach an example file as pdf, created in several  
attempts with OpenOffice-writer, with spare success and giving up  
after the 14th note on this half-page. But it can illustrate what I  
want and need:


- Margin(al) notes, numbered/referenced like footnotes, preferably in  
the wider right margin of the page.


- Each margin note possibly on the same line with the referenced word/ 
expression in the text body which shall be translated/explained => if  
possible, i. e. if this place is not yet occupied by a foregoing  
margin note for a word or phrase in the same or a former line.


- In the latter case, the margin note shall be typeset _below_ the  
former margin note (without printing one note on the other).


Is there a way to setup/define the inmargin in the preamble of a  
ConTeXt document but then getting this result with a normal or  
(foregoing defined) command?


Any other advice for to get this result?

Or is it - for TeXnical reasons - not possible to achieve this result  
with reasonable effort in ConTeXt neither?


I would be happy to get assistance (best the necessary commands/setup  
text) or any other advice to get the wanted result.


Hopefully,

Joachim Kreimer-de Fries

Am 23.05.2008 um 09:23 schrieb Wolfgang Schuster:


3. How to setup page/layout dimensions?

\setuplayout
  [backspace=2cm,
   width=10cm,
   rightmargin=8cm,
   ...]


This worked immediatly. Thank you very much, Wolfgang,  for your
swift help!


Text from 1844 by F. W. Lyra in the Westphalian language:



lyra-test.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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Gour
> "Maurice" == Maurice Diamantini <[EMAIL PROTECTED]> writes:

Hi!

Excuse me for the noise...

Maurice> port info ghc => ghc 6.8.2, Revision 3, lang/ghc (Variants:
Maurice> universal, darwin_6, darwin_7, darwin_8_powerpc, darwin_8_i386,
Maurice> darwin_9_powerpc, darwin_9_i386, no_opengl) http://haskell.org/

but just received another message from pandoc dev:

"Thanks!  As luck would have it, the patch was committed to macports
just after your message.  So the workaround should no longer be
necessary -- after a 'port sync', pandoc should again be installable
using macports."

Pls. try it!


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp6E8ZDu0WyP.pgp
Description: PGP 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Gour
> "Maurice" == Maurice Diamantini <[EMAIL PROTECTED]> writes:

Maurice> Le 4 juin 08 à 15:34, Gour a écrit :

Hello!

Maurice> port info ghc => ghc 6.8.2, Revision 3, lang/ghc (Variants:
Maurice> universal, darwin_6, darwin_7, darwin_8_powerpc, darwin_8_i386,
Maurice> darwin_9_powerpc, darwin_9_i386, no_opengl) http://haskell.org/

Here is the reply from pandoc main developer:

"This problem was introduced when MacPorts updated to the most recent
version of the haddock documentation tool.  I submitted a patch to
MacPorts a long time ago, but nobody has committed it to the repository.
(The committer who looked at the patch has had trouble building
GHC 6.8.2 on his Mac, so he can't test the pandoc patch.)

There's a description of a workaround here:
http://groups.google.com/group/pandoc-discuss/browse_thread/thread/c9ecef59465c12c6";


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpZTBkYa6sC3.pgp
Description: PGP 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] markup format ---> ConTeXt (Out of Topic)

2008-06-04 Thread Maurice Diamantini

Le 4 juin 08 à 15:34, Gour a écrit :

> ... about the pandoc "wiki-docbook-*TeX" Haskell translator ...
> Which ghc?

port info  ghc
=>
ghc 6.8.2, Revision 3, lang/ghc (Variants: universal, darwin_6,  
darwin_7, darwin_8_powerpc, darwin_8_i386, darwin_9_powerpc,  
darwin_9_i386, no_opengl)
http://haskell.org/

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler and interactive environment for Haskell 98, GHC compiles
Haskell to either native code or C. etc...

-- Maurice
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] markup format ---> ConTeXt

2008-06-04 Thread Gour
> "Maurice" == Maurice Diamantini <[EMAIL PROTECTED]> writes:

Maurice> About docbook: --

Maurice> But one current need is about docbook, because file already
Maurice> exists as a "dokuwiki hacked" generated file (by a php expert
Maurice> from jelix team) !  So other wiki format is not an option?
Maurice> docbook is request

Export Docbook to html and then import (e.g. with pandoc) into
e.g. markdown ;)


Maurice> But Gour said alsewhere:
>> ...it doesn’t handle tables,...

pandoc's extended markdown handles tables.


Which ghc?


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpW3kHEpIq0k.pgp
Description: PGP 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] markup format ---> ConTeXt

2008-06-04 Thread Maurice Diamantini
First of all, thank you for your propositions,


About markup format:
( a markdown header ;-)

Markdown seems an interesting one because:
- it's alive (as many other format)
- it's available in severall scripting languages (ruby, php, python...)
- it seems extensible
- it is (more or less) translatable to docbook (and finaly to xxTeX)
   so allows good quality pdf results

About docbook:
--

But one current need is about docbook, because file already exists as a
"dokuwiki hacked" generated file (by a php expert from jelix team) !
So other wiki format is not an option? docbook is request

About the pandoc tools:
---

Le 3 juin 08 à 16:09, Gour a écrit :
> Take a look at http://johnmacfarlane.net/pandoc/ - it uses 'extended'
> markdown syntax and can export to ConTeXt.

But Gour said alsewhere:
> ...it doesn’t handle tables,...


Interesting, but a first try didn't compile with macport (GHC didn't
compile). But not important: was just for trying...

About dblatex tools
---

It just works for now but need LaTeX custom style for advanced  
customisation
which is much lower level than ConTeXt one, so...


About ConTeXt tools(THE important information ;-))
===

Le 3 juin 08 à 15:11, Hans Hagen a écrit :

>> If some magic command (or a simple tutorial) like :
>> texexec --docbook jelix-manual.xml
>> do some equivalent work than the above dblatex, no doubt that the
>> ConTeXt community will increase by more than 100%!
>
> i can probably cook up a basic docbook converter in a couple of hours
> but since i never run into docbook ...

So instead of the "not in ConTeXt objective" expected response, this is
a great news.

For all (docbook + ConTeXt) tool maintainers like "dbcontext" or  
"DocbookInContext",
it is a great opportunity to help Hans defining a standard module  
which would then
be maintain in the standard ConTeXt distribution.


Other replies about dbcontext tools :
-
Le 3 juin 08 à 09:43, Wolfgang Schuster a écrit :

>> - dbcontext seams not to be maintained very much
>
> I don't think the code in the module is nowadays a good example for  
> writing
> a module because many low level commands are redefined and it should
> work now out of the box with the current code or better witth MkIV.

I thought so, but ...

Le 3 juin 08 à 20:22, nico a écrit :

>> - dbcontext seams not to be maintained very much
>
> dbcontext is still alive, but asleep because of few users, and mostly
> works in the current state. You can give it a try. You can provide  
> your
> own context layout to customize section titles and layout. It is much
> cleaner and easier than the latex .sty hack. As an example of the  
> powerful
> layout capabilities that ConTeXt provides, you can build a PDF with a
> layout similar to what docbook FO does.

So dbcontext resume in a ConTeXt module, it should be part od the  
context
distrib (as a contrib): see above about Hans response.


-- Maurice


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___