Formatting code in word

Richmond Mathewson richmondmathewson at gmail.com
Wed May 25 13:57:31 EDT 2022


A better bet is LibreOffice as cheap jacks like me can see no obvious
reason for paying for something when a functional equivalent exists for
free.

On Wed, 25 May 2022, 20:53 Hakan--- via use-livecode, <
use-livecode at lists.runrev.com> wrote:

> Yes, you need to use something to create the PDF first of course. And here
> Word might be a good candidate. Especially if you are to write a lot of
> explaining text and then paste some code.
> I think I still would go for an automated setup and write the explanations
> in the code. Then you could automate the full process (in Livecode of
> course :) But it all depends on the purpose of course.
>
> If you are looking for a tool to convert between a lot of different
> formats I suggest you take a look at pandoc. A command line Swiss army tool
> for document conversion.
>
> Good Luck!
> :-Håkan
>
> Skickat från min iPhone
>
> > 24 maj 2022 kl. 22:37 skrev Mark Smith <marksmithhfx at gmail.com>:
> >
> > Thanks, I wasn’t aware that could be applied to just a specific format…
> I had always thought of it as document wide. Mind you, I don’t take
> advantage of 90% of the features in Word either. PDF sounds like a good
> option for distribution but don’t you still need to create the file in
> something else? I’ve only ever converted documents to/from PDF.
> >
> >> On 24 May 2022, at 3:57 pm, Håkan Liljegren <hakan at exformedia.se>
> wrote:
> >>
> >> Probably not what you want to hear, but I never distribute documents in
> Word as I then have no control on the formatting. The receiver might not
> have the same font installed and then the text might reflow and all kinds
> of bad things might happen! :)
> >>
> >> I always use PDF for distrution. BUT, if you still want to use Word you
> can create a specific format for the code blocks and then select the
> language for that format and check the “Do not check spelling or grammar”
> for that format. You can also select the newly pasted text and then do the
> same procedure (Select language and check the do not check checkbox).
> >>
> >> :-Håkan
> >>
> >>> On 24 May 2022, at 13:00, Mark Smith via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >>>
> >>> Hello list,
> >>>
> >>> Do you use anything to make code look more readable when inserted into
> a Word document? I ask because all those squiggly red underlines
> (spellcheck marks) makes it pretty unattractive, although they can be
> turned off. However, when distributing a document to others they may not
> know how to turn that off. Just wondering if you’ve found a better way for
> distributing code in word docs.
> >>>
> >>> Thanks!
> >>> Mark
> >>>
> >>>
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list