Re: Any electronic document formats offering interactivity?

2020-03-19 Thread Trevor DeVore via use-livecode
On Thu, Mar 19, 2020 at 5:49 AM David V Glasgow via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> I did briefly consider HTML, but wanted to deliver a single file as the
> output, and an image of the dashboard profile is essential.
>

You can embed images within the HTML itself using the "data:" URLs:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any electronic document formats offering interactivity?

2020-03-19 Thread Richard Gaskin via use-livecode

David V Glasgow wrote:

> The interactivity within LC is no problem.  The user effectively
> creates a ‘dashboard’ profile representing their own assessment of
> multiple risk factors at play in a particular case.  Currently, a
> representation of the resultant profile can then be captured as static
> image or PDF.  To keep the dashboard as clean as possible, within the
> app, explanatory notes are hidden unless labels are clicked.  I was
> wondering if it might be possible to retain just this aspect of
> functionality.  So someone viewing previously saved profiles could
> access pop-up explanatory notes.  It seems to me that PDF could offer
> that, but 1 it is hard to do and 2 many PDF viewers don’t offer the
> interactivity promised by Adobe.
>
> I did briefly consider HTML, but wanted to deliver a single file as
> the output, and an image of the dashboard profile is essential.

Being an LC fanboy I'd suggest making a viewer app in LC for these 
documents. :)


But ePub may be an excellent choice here: the format is essentially 
HTML/CSS in a Zip wrapper - all the things we love about HTML/CSS, 
delivered in a tidy single file.


You could write an exporter from your stack if you need to do it often.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any electronic document formats offering interactivity?

2020-03-19 Thread David V Glasgow via use-livecode
Thanks for responses.

I should have been clearer.  As usual.

The interactivity within LC is no problem.  The user effectively creates a 
‘dashboard’ profile representing their own assessment of multiple risk factors 
at play in a particular case.  Currently, a representation of the resultant 
profile can then be captured as static image or PDF.  To keep the dashboard as 
clean as possible, within the app, explanatory notes are hidden unless labels 
are clicked.  I was wondering if it might be possible to retain just this 
aspect of functionality.  So someone viewing previously saved profiles could 
access pop-up explanatory notes.  It seems to me that PDF could offer that, but 
1 it is hard to do and 2 many PDF viewers don’t offer the interactivity 
promised by Adobe.

I did briefly consider HTML, but wanted to deliver a single file as the output, 
and an image of the dashboard profile is essential.  

An alternative strategy I think is going to be preferable, would be to save 
locked cards to a ‘results’ stack as the output format.  I was kind of hoping 
minimally interactive profiles could be saved in a more generally accessible 
format, but it seems (once again) what is easy in LC is blimming tricky outside 
it.

Cheers,

David G

> On 19 Mar 2020, at 12:05 am, Alex Tweedly via use-livecode 
>  wrote:
> 
> Hi David,
> 
> as Richard says, there are many unknowns, or unstated constraints, etc. - so 
> anyone who would try to give a detailed answer without more details is either:
> 
>  - brave
> 
>  - foolhardy  or
> 
>  - just foolish.
> 
> 
> So here I go  you choose which of the above adjectives fits :-)
> 
> Possibly a suitable format is  HTML.
> 
> Not just any old html, but a carefully selected subset / context.
> 
> Deliver a single, self-contained file of html. CSS and a small amount of JS 
> all inline within the file.
> 
> Put in enough JS library/framework  (i.e. probably lift a minimal subset of 
> Bootstrap or similar) to provide any kinds of interactivity you need such as 
> clever tooltips, etc.), and build a LC tool to create the elements you want 
> to place.
> 
> -- Alex.
> 
> P.S. If you need images then this "single page" idea breaks - you might need 
> to make images be "in the cloud" and require Internet connectivity.
> 
> 
> On 18/03/2020 18:00, David V Glasgow via use-livecode wrote:
>> Hi folks,
>> 
>> I would like to be able to generate a document from LC consisting of a 
>> single page (effectively a copy of a card) which can offer some basic 
>> interactivity.
>> 
>> I would be pretty happy if users can create a document that would display 
>> ‘tooltip-like’ explanatory notes if summary fields are clicked.
>> 
>> I couldn’t make any sense of the interactivity offered by PDF.  I did a bit 
>> better with ePub, but the emphasis seems to be on links, animation and video 
>> etc, which is far more than I want.
>> 
>> Any advice or suggestions?
>> 
>> 
>> Best Wishes,
>> David Glasgow
>> Consultant Forensic & Clinical Psychologist
>> 
>>  > 
>> >
>> 
>>  > 
>> > >
>>  > >
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any electronic document formats offering interactivity?

2020-03-18 Thread Alex Tweedly via use-livecode

Hi David,

as Richard says, there are many unknowns, or unstated constraints, etc. 
- so anyone who would try to give a detailed answer without more details 
is either:


 - brave

 - foolhardy  or

 - just foolish.


So here I go  you choose which of the above adjectives fits :-)

Possibly a suitable format is  HTML.

Not just any old html, but a carefully selected subset / context.

Deliver a single, self-contained file of html. CSS and a small amount of 
JS all inline within the file.


Put in enough JS library/framework  (i.e. probably lift a minimal subset 
of Bootstrap or similar) to provide any kinds of interactivity you need 
such as clever tooltips, etc.), and build a LC tool to create the 
elements you want to place.


-- Alex.

P.S. If you need images then this "single page" idea breaks - you might 
need to make images be "in the cloud" and require Internet connectivity.



On 18/03/2020 18:00, David V Glasgow via use-livecode wrote:

Hi folks,

I would like to be able to generate a document from LC consisting of a single 
page (effectively a copy of a card) which can offer some basic interactivity.

I would be pretty happy if users can create a document that would display 
‘tooltip-like’ explanatory notes if summary fields are clicked.

I couldn’t make any sense of the interactivity offered by PDF.  I did a bit 
better with ePub, but the emphasis seems to be on links, animation and video 
etc, which is far more than I want.

Any advice or suggestions?


Best Wishes,
David Glasgow
Consultant Forensic & Clinical Psychologist

   

   
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any electronic document formats offering interactivity?

2020-03-18 Thread Richard Gaskin via use-livecode

David V Glasgow wrote:

> I would like to be able to generate a document from LC consisting of a
> single page (effectively a copy of a card) which can offer some basic
> interactivity.
>
> I would be pretty happy if users can create a document that would
> display ‘tooltip-like’ explanatory notes if summary fields are
> clicked.
>
> I couldn’t make any sense of the interactivity offered by PDF.  I did
> a bit better with ePub, but the emphasis seems to be on links,
> animation and video etc, which is far more than I want.
>
> Any advice or suggestions?

LiveCode is a good format for delivering interactivity.

But I'm guessing there are requirements in play not yet described here 
which might rule that out.  Knowing what those requirements are will 
help us meet them.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Any electronic document formats offering interactivity?

2020-03-18 Thread David V Glasgow via use-livecode
Hi folks,

I would like to be able to generate a document from LC consisting of a single 
page (effectively a copy of a card) which can offer some basic interactivity. 

I would be pretty happy if users can create a document that would display 
‘tooltip-like’ explanatory notes if summary fields are clicked.

I couldn’t make any sense of the interactivity offered by PDF.  I did a bit 
better with ePub, but the emphasis seems to be on links, animation and video 
etc, which is far more than I want.

Any advice or suggestions?


Best Wishes,
David Glasgow
Consultant Forensic & Clinical Psychologist

  

  
 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode