ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* learning path
@ 2005-10-17 20:58 olivier Turlier
       [not found] ` <6faad9f00510180324s4f4426b7t@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: olivier Turlier @ 2005-10-17 20:58 UTC (permalink / raw)


Hi everybody,

I wish to set up kind of a "learning path" (= "pedagogic" progression 
bar, like in http://www.dokeos.com/scorm_compliant_course_content.php) 
in the inner margin of documents issued of a project/product/component 
structure. Ideally, this learning path will look like 2 full bars with 
percentage indication, one for project, the other for product.

I've seen progression spots in Hans'presentations, but far from able to 
reproduce them. I'm thinking that those indicators get their names 
"automatically", on each new component or product made under a same 
project, either via a variable mecanisme or another one I don't know 
yet. Graphically, the whole mecanism must stay in a light color to not 
overcome the content.

TIA for any answer
-- 
Olivier TURLIER

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: learning path
       [not found] ` <6faad9f00510180324s4f4426b7t@mail.gmail.com>
@ 2005-10-21 19:33   ` olivier Turlier
  2005-10-28 22:31     ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: olivier Turlier @ 2005-10-21 19:33 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

Mojca Miklavec wrote:
> 2005/10/17, olivier Turlier <o.turlier@free.fr>:
> 
>>Hi everybody,
>>
>>I wish to set up kind of a "learning path" (= "pedagogic" progression
>>bar, like in http://www.dokeos.com/scorm_compliant_course_content.php)
> 
> 
> The page doesn't exist. Perhaps send also the names of Hans's
> documents to the list that you would like to mimic. Would you provide
> the percentage or would you like to be automatically generated. I
> guess it should be done with metafun (see s-pre-xx.tex files, although
> you are not requested to understand them (yet)), but you first need to
> tell how it should look like (the link above cannot help).
> 
> Mojca
> 
> 
Sorry for not being clear enough.

"learning path" is an acronym I've found while using Dokeos elearning 
platform, as an equivalent to a course i guess. For creating a 
course/learning path  you assemble differents documents in a l.p.. When 
the alumni/trainee reads this course, he will be able what he have to 
read next after the fisrt doc, and so on. I've made a graphic capture of 
the webpage for showing what elements are making a learning path in the 
Dokeos vision : list of doc allready readen, docs to read, progression 
bar, plus the breadcrumb trail;

i don't want to put so much stuff in the pdfs made wit Context(apart 
putting an A4 text on an A3 page!) because i keep a printable A4 format 
for my courses, even i there interaction in it, for screen usage.

So i wish to have only vertical progression bars + percentage in the 
inner margin. s-pre-01 "original" style show a bottom interaction bar 
filled with pagenumbers drawn as little rectangles. Maybe it's possible 
to draw a continuous bar with metapost, but for percentage ?

Ideally, i wish to have 2 progression bars : one for project progression 
and second for product prog.

Thanks for listening.

--
olivier Turlier

-- 
Olivier TURLIER

[-- Attachment #2: learning-path-explained.png --]
[-- Type: image/png, Size: 87343 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: learning path
  2005-10-21 19:33   ` olivier Turlier
@ 2005-10-28 22:31     ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2005-10-28 22:31 UTC (permalink / raw)


olivier Turlier wrote:
> >
> >>Hi everybody,
> >>
> >>I wish to set up kind of a "learning path" (= "pedagogic" progression
> >>bar, like in http://www.dokeos.com/scorm_compliant_course_content.php)

/.../

> Sorry for not being clear enough.
>
> "learning path" is an acronym I've found while using Dokeos elearning
> platform, as an equivalent to a course i guess. For creating a
> course/learning path  you assemble differents documents in a l.p.. When
> the alumni/trainee reads this course, he will be able what he have to
> read next after the fisrt doc, and so on. I've made a graphic capture of
> the webpage for showing what elements are making a learning path in the
> Dokeos vision : list of doc allready readen, docs to read, progression
> bar, plus the breadcrumb trail;

for lists of already learnt documents: you can make a list of
chapters/sections/subsections somewhere on the page if you have enough
place. If you would like to get the chapter/section/subsection name,
you can get them with something like
\getmarking[chapter] $>$ \getmarking[section] $>$ \getmarking[subsection]
Perhaps some "if"s are missing to check if a section/subsection is
defined, but someone else has to help you with it.

> i don't want to put so much stuff in the pdfs made wit Context(apart
> putting an A4 text on an A3 page!) because i keep a printable A4 format
> for my courses, even i there interaction in it, for screen usage.

I'm not sure if I understood it properly, but if you need two
different versions of your documents with the same content, but
different layout, you can use modes
(http://wiki.contextgarden.net/Modes).

> So i wish to have only vertical progression bars + percentage in the
> inner margin. s-pre-01 "original" style show a bottom interaction bar
> filled with pagenumbers drawn as little rectangles. Maybe it's possible
> to draw a continuous bar with metapost, but for percentage ?
>
> Ideally, i wish to have 2 progression bars : one for project progression
> and second for product prog.

How would you calculate the project progression? The example below
calculates the percentage out of the number of pages in the current
document.

Here's an example how to make an extremely simple and ugly progression
bar at the bottom of the page. Take a look into the .mp file produced.
You'll find many other variables thay you may use to position your
progression bar properly.

\defineoverlay
  [ProgressBar A]
  [\useMPgraphic{ProgressBarA}]
\setupbackgrounds
  [text]
  [background={ProgressBar A}]

\startuseMPgraphic{ProgressBarA}
barW = 5cm;
barH = .7cm;

StartPage;
   fill unitsquare xyscaled(barW*(PageNumber/NOfPages),barH)
      withcolor .625red;
   draw unitsquare xyscaled(barW,barH);
   label.rt(textext("$" & decimal(round(100*PageNumber/NOfPages)) &
      "\,\%$"), (barW,.5barH));
   currentpicture := currentpicture shifted
(LeftMarginWidth+LeftMarginDistance,2cm);
StopPage;
\stopuseMPgraphic

\starttext

first page\page
second page\page
third page

\stoptext


I would suggest you to get familiar with metapost/metafun ("learning
metapost by doing", "the metapost manual", "metafun manual", ...) if
you aren't yet. It's a simple and great programming/drawing language
and you can do amazing things with it.

Mojca


PS: just a note. Trying to execute the code written above under MikTeX
(on the "old" ;) ConTeXt version, 2005.08.31) leads to distrous
results and nothing worked as expected. It claims
\loadfontfileoncetrue to be undefined command, it complains about file
endings (it doesn't create .mpx files, so the label(textext ...)
doesn't work) ... and so on. It may be that something is wrongly
configured here, but I'm glad that I'm able to use the minimal ConTeXt
distr. as an alternative when something fails under MikTeX.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-28 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-17 20:58 learning path olivier Turlier
     [not found] ` <6faad9f00510180324s4f4426b7t@mail.gmail.com>
2005-10-21 19:33   ` olivier Turlier
2005-10-28 22:31     ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).