[LON-CAPA-admin] List of parts and hidden parts

H. K. Ng hkng at fsu.edu
Thu Sep 3 18:39:51 EDT 2020


Hi all,

My bad, the &EXT('resource.visibleparts') only returns the visible parts.
My issue is that the style file loops over the problem and each time it
sees a part tag, it processes it regardless of whether it is hidden or not.
What I need is when it sees a part tag, I need to be able to get the part
id and if it is not in the visibleparts list, to skip it. Any idea how to
get the part id when the sty file sees a part tag? Thanks.

Regards,
-hk


On Thu, Sep 3, 2020 at 4:09 PM H. K. Ng <hkng at fsu.edu> wrote:

> Hi all,
>
> I have a sty file to standardize the display of problems. The
> &EXT('resource.visibleparts') function returns all parts including those
> that are hidden. Is there a call function that returns the parts that are
> not hidden? Thanks.
>
> Regards,
> -hk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20200903/ef1ac1b2/attachment.html>


More information about the LON-CAPA-admin mailing list