NBHelp in Squeak (Re: [squeak-dev] Re: Why FFI is not included with latest squeak ?)

H. Hirzel hannes.hirzel at gmail.com
Sat Aug 25 14:16:17 UTC 2012


I got it working the way Igor intended it it. With PetitParser and
Markdown syntax in the help files.

If somebody is interested I can post the instructions how to do it....

--Hannes

On 8/22/12, Igor Stasenko <siguctua at gmail.com> wrote:
> On 22 August 2012 03:05, Levente Uzonyi <leves at elte.hu> wrote:
>> On Wed, 22 Aug 2012, Igor Stasenko wrote:
>>
>>> On 22 August 2012 02:11, Levente Uzonyi <leves at elte.hu> wrote:
>>>>
>>>> On Wed, 22 Aug 2012, Igor Stasenko wrote:
>>>>
>>>>> On 22 August 2012 00:04, Levente Uzonyi <leves at elte.hu> wrote:
>>>>>>
>>>>>>
>>>>>> On Tue, 21 Aug 2012, Igor Stasenko wrote:
>>>>>>
>>>>>>> On 21 August 2012 23:20, dimitris chloupis <thekilon at yahoo.co.uk>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Ah thank you , I had version 1 and now version 4 is installed
>>>>>>>> together
>>>>>>>> with
>>>>>>>> all dependencies. Any idea how I use NB-help ?
>>>>>>>>
>>>>>>>
>>>>>>> i don't know how you can do it in squeak image, in pharo image just
>>>>>>> open help browser
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> It uses too many "pharoisms", so it won't work in Squeak out of the
>>>>>> box:
>>>>>> - Gofer
>>>>>> - LogicalFont
>>>>>> - StandardFonts
>>>>>> - pragma-based "registration" for HelpSystem
>>>>>>
>>>>>> The first can be loaded, the lines containing the next two can be
>>>>>> replaced
>>>>>> with "TextStyle defaultFont" and then you can open the HelpBrowser
>>>>>> with:
>>>>>> HelpBrowser openOn: NBHelp asHelpTopic.
>>>>>>
>>>>>> Btw, green text for source code doesn't look very nice and it would
>>>>>> be
>>>>>> better to use the Metacello API to load PP.
>>>>>>
>>>>>
>>>>> I never tried it on squeak, so sure thing it may not work.
>>>>
>>>>
>>>>
>>>> Sure.
>>>>
>>>>
>>>>> I have two questions:
>>>>> - why LogicalFont considered pharoism?
>>>>> (StandardFonts is, but LogicalFont?)
>>>>
>>>>
>>>>
>>>> Because it doesn't exist in Squeak.
>>>>
>>>>
>>>>> and
>>>>> - what is the metacello API you mentioned. I don't know much about
>>>>> metacello beyond the way how to create and manage own configs. Any
>>>>> pointers?
>>>>
>>>>
>>>>
>>>>
>>>> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
>>>>
>>>>
>>>>>
>>>>> how i can use it, if metacello is not installed by default in image?
>>>>
>>>>
>>>>
>>>>
>>>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-August/165199.html
>>>>
>>>>
>>>>> (well, of course, by all logic people will load NB anyways, so i can
>>>>> safely assume it already in image)
>>>>
>>>>
>>>>
>>>> Um, a few mails before you wrote that NBHelp can be loaded without NB,
>>>> so
>>>> that was what I did. :)
>>>>
>>> So, i repeating my question, how you can use Metacello API to load
>>> something, if it not in image?
>>
>>
>> You can't. But the idea is that it will be present in all base images.
>>
> Yeah.. i would wellcome that.
> So it can wait till this become true :)
> Thanks, Levente.
>
>>
>> Levente
>>
>>
>>>
>>>>
>>>> Levente
>>>>
>>>>
>>>>>
>>>>>>
>>>>>> Levente
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko.
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NBHelpInSqueak4.3WithPetitParserAndMarkdownSyntax.png
Type: image/png
Size: 62728 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120825/31ba2b88/NBHelpInSqueak4.3WithPetitParserAndMarkdownSyntax.png


More information about the Squeak-dev mailing list