[LON-CAPA-admin] List of parts and hidden parts
Raeburn, Stuart
raeburn at msu.edu
Fri Sep 4 08:31:51 EDT 2020
Hello HK,
The part id is available from $external::part
See: http://mail.lon-capa.org/pipermail/lon-capa-users/2019-March/005400.html
Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of H. K. Ng <hkng at fsu.edu>
Sent: Thursday, September 3, 2020 6:39 PM
To: list about administration and system updating
Subject: Re: [LON-CAPA-admin] List of parts and hidden parts
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<mailto: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
More information about the LON-CAPA-admin
mailing list