Hi Andrei and thanks for your quick response,
On 10/17/2014 07:40 PM, Andrei Chis wrote:
Hi Offray,
In Glamour a presentation does not know about it's parent so what you want to do
might not be possible.
Wow... I have been having so much learning/pleasure working with
Glamour.... but this is a stopper... I don't know to circumvent this issue.
Now, it's not very clear for me what you are
trying to do. Is the code available
somewhere?
I'm trying to create and environment to write (interactive) documents
using a tree like metaphor so there are some kind of deep nodes which
are invisible to the exported file. Here is an screen shot of the
original tree in Pharo and the exported file from that tree side by side
here:
http://mutabit.com/deltas/repos.fossil/grafoscopio/doc/tip/Figuras/intro-la…
The pdf file of a still draft paper which was wrote completely using
this prototype here (in Spanish):
http://mutabit.com/deltas/repos.fossil/grafoscopio/doc/tip/bootstrapping-ob…
The original format of this file is a STON file with all the "metadata"
and deep nodes:
http://mutabit.com/deltas/repos.fossil/grafoscopio/doc/tip/bootstrapping-ob…
I have added functionality to export to markdown from STON to produce
the pdf (using pandoc). This is the output:
http://mutabit.com/deltas/repos.fossil/grafoscopio/doc/tip/bootstrapping-ob…
(it can be render from the web site but is better to download it).
The code is hosted here:
http://smalltalkhub.com/#!/~Offray/Ubakye/
And can be installed following this instructions:
http://wiki.hackbo.co/doku.php/herramientas:grafoscopio:instalacion
Is my first project on Smalltalk (except from some Bots Inc, Etoys and
Scratch approaches) so is rookie code with a lot of errors.
Anyway if you can take a look of it and see in there is any way to "save
trees" to files or give any clue on how to solve the issue I really
appreciate it. I will make some test to see if I get some ideas.
Thanks again,
Offray