• TechWriter

    From Jean-Michel@21:1/5 to All on Sat May 4 11:13:15 2024
    Bonjour,
    I would like to be able to write with correct font, the corresponding
    letter for the sets N, R, Z,Q...
    I can use the Tex/msbm10 fonts, but it's not very practical.
    It would be ideal to add them to the math symbols panel.

    All ideas are welcome, thank you

    --
    Jean-Michel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim Lesurf@21:1/5 to Jean-Michel on Mon May 6 08:45:04 2024
    In article <[email protected]>,
    Jean-Michel <[email protected]> wrote:
    Bonjour,
    I would like to be able to write with correct font, the corresponding
    letter for the sets N, R, Z,Q...
    I can use the Tex/msbm10 fonts, but it's not very practical.
    It would be ideal to add them to the math symbols panel.

    All ideas are welcome, thank you

    Not quite clear what you want, but...

    Have a look at the "Messages" file and some of the other control files like "_Config". You can use these to hack changes.

    e.g. in my case I use the "x35" setting in "Messages" to let me use smart quotes in a user-controllable manner. In effect, mutliple presses of a key
    then give different gliphs.

    Experiment... but keep a backup for when things go pear-shaped, though. :-)

    Jim

    --
    Please use the address on the audiomisc page if you wish to email me. Electronics https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
    biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
    Audio Misc http://www.audiomisc.co.uk/index.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Michel@21:1/5 to Jim Lesurf on Mon May 6 15:49:10 2024
    In message <[email protected]>
    Jim Lesurf <[email protected]> wrote:

    In article <[email protected]>,
    Jean-Michel <[email protected]> wrote:
    Bonjour,
    I would like to be able to write with correct font, the corresponding
    letter for the sets N, R, Z,Q...
    I can use the Tex/msbm10 fonts, but it's not very practical.
    It would be ideal to add them to the math symbols panel.

    All ideas are welcome, thank you

    Not quite clear what you want, but...
    Not easy,
    For mathematical set theory I need to display the letter N for integer
    set with TechWriter .


    Have a look at the "Messages" file and some of the other control files like "_Config". You can use these to hack changes.

    e.g. in my case I use the "x35" setting in "Messages" to let me use smart quotes in a user-controllable manner. In effect, mutliple presses of a key then give different gliphs.

    Experiment... but keep a backup for when things go pear-shaped, though. :-)


    Thanks I will try.

    --
    Jean-Michel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jim Lesurf@21:1/5 to [email protected] on Wed May 8 09:00:04 2024
    In article <[email protected]>, Jean-Michel <[email protected]> wrote:
    In message <[email protected]> Jim Lesurf
    <[email protected]> wrote:


    Not quite clear what you want, but...
    Not easy, For mathematical set theory I need to display the letter N for integer set with TechWriter .


    Have a look at the "Messages" file and some of the other control files
    like "_Config". You can use these to hack changes.

    Experiment... but keep a backup for when things go pear-shaped,
    though. :-)

    Thanks I will try.

    This is one of the moments when I regret, again, the loss of Bob P. He was
    very helpful in the past in explaining how users could 'hack' their own alterations into how TW behaved. I'm not sure if any current manual does
    this. He'd have been able to say.

    But a lot of 'how it works' is alterable using the various files inside the !Techwriter directory. Can't be sure it will enable what you wish, but
    worth a check/test perhaps.

    That said, an alternative might be to hack the *Font* that gives the maths/greek to change some glyphs to be ones you want instead of existing
    ones you don't. :-)

    Jim

    --
    Please use the address on the audiomisc page if you wish to email me. Electronics https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
    biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
    Audio Misc http://www.audiomisc.co.uk/index.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to [email protected] on Wed May 8 14:50:33 2024
    On 8 May 2024, [email protected] wrote:

    That said, an alternative might be to hack the *Font* that gives the maths/greek to change some glyphs to be ones you want instead of existing ones you don't. :-)

    I reckon that would indeed be the safest (and perhaps simplest) method. I
    don't know the TeX font you mention, but the free Asana font can be
    converted to Acorn format by !TTF2F.

    Then its higher Unicode glyphs (like the N: U+2115, C: U+2102, R: U+211D etc.that you want) can be displayed by !FontInfo from which the glyphs can
    be saved out as a Draw files for insertion into a new or existing font
    with, say, !DrFonty.

    That is to say, you can modify or build a 256-glyph standard Acorn font
    with exactly the glyphs you need and apply it as required to text in
    TechWriter or any other program.

    Bernard
    --
    [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Michel@21:1/5 to [email protected] on Wed May 8 18:51:23 2024
    In message <09a6d85d5b.boase@bernard>
    [email protected] wrote:

    On 8 May 2024, [email protected] wrote:

    That said, an alternative might be to hack the *Font* that gives the
    maths/greek to change some glyphs to be ones you want instead of existing
    ones you don't. :-)

    I reckon that would indeed be the safest (and perhaps simplest) method. I don't know the TeX font you mention, but the free Asana font can be
    converted to Acorn format by !TTF2F.

    Then its higher Unicode glyphs (like the N: U+2115, C: U+2102, R: U+211D etc.that you want) can be displayed by !FontInfo from which the glyphs can
    be saved out as a Draw files for insertion into a new or existing font
    with, say, !DrFonty.

    That is to say, you can modify or build a 256-glyph standard Acorn font
    with exactly the glyphs you need and apply it as required to text in TechWriter or any other program.

    Bernard

    Thank you for your answers. I think I found a solution by creating a style
    in TechWriter based on the MathBold style, having just styled the font Tex.msbm10
    This font is provided by installing !DVIView, !Tex and !TexFonts.

    By selecting this style and entering the characters using the keyboard Alt
    + 206 => N (set) with the correct rendering.

    I'm going to look at the Asana font, it will be a good exercise with
    fonts.
    --
    Jean-Michel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to [email protected] on Wed May 8 17:47:56 2024
    [email protected] wrote:
    On 8 May 2024, [email protected] wrote:

    That said, an alternative might be to hack the *Font* that gives the maths/greek to change some glyphs to be ones you want instead of existing ones you don't. :-)

    I reckon that would indeed be the safest (and perhaps simplest) method. I don't know the TeX font you mention, but the free Asana font can be
    converted to Acorn format by !TTF2F.

    Then its higher Unicode glyphs (like the N: U+2115, C: U+2102, R: U+211D etc.that you want) can be displayed by !FontInfo from which the glyphs can
    be saved out as a Draw files for insertion into a new or existing font
    with, say, !DrFonty.

    That is to say, you can modify or build a 256-glyph standard Acorn font
    with exactly the glyphs you need and apply it as required to text in TechWriter or any other program.

    Just to caveat that changing the shape of a font doesn't change what it
    means.

    If this is for printed use only, then it doesn't matter what the underlying characters are - what you see is all that matters. But if it's for
    electronic use - eg use in email, PDF, web, etc format - then changing the glyphs won't change the underlying characters. Any time you copy the text, import it into another program, etc, it will interpret the characters
    according to their codes rather than the shape of the glyphs.

    For example, you could define '%' to look like 'curly-R' which might display fine in Techwriter but if you opened the document in Word it'll appear as percent.

    You can work around this by turning everything into a bitmap, but then it's
    not editable, resizable, etc. If you convert glyphs into Draw files then
    they are resizable, but won't be understood as characters.

    The right way to do it is to use the correct Unicode characters and use a Unicode font with the right glyphs, but I don't know if TW properly supports Unicode (I suspect not).

    Depends what you want, really.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John@21:1/5 to Jean-Michel on Wed May 8 18:33:22 2024
    In article <[email protected]>,
    Jean-Michel <[email protected]> wrote:

    Bonjour, I would like to be able to write with correct
    font, the corresponding letter for the sets N, R, Z,Q...
    I can use the Tex/msbm10 fonts, but it's not very
    practical. It would be ideal to add them to the math
    symbols panel.

    All ideas are welcome, thank you

    I'm fairly sure that there was a suitable font which came
    with either Equasor or Formulix. The font family name is
    MathOpen.

    I take it that you don't have access to it.

    John

    --
    John
    [email protected]
    j dot mccartney atte blueyonder dot co dot uk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to [email protected] on Wed May 8 23:38:48 2024
    On 8 May 2024, [email protected] wrote:

    I'm fairly sure that there was a suitable font which came with either
    Equasor or Formulix. The font family name is MathOpen.

    Neither Equasor's MathGreek font nor TechWrite's MathPhys font contains
    the required glyphs. I haven't met a font called MathOpen.


    On 8 May 2024, [email protected] wrote:

    Just to caveat that changing the shape of a font doesn't change what it means.

    And thank you, Theo, for your pertinent warnings when using altered fonts.
    So, really, only an appropriate Unicode font should be used, and you are
    right that TW, like all RISC OS text editing programs, doesn't support
    Unicode. Yet?

    Bernard
    --
    [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Michel@21:1/5 to [email protected] on Thu May 9 09:37:20 2024
    In message <2d03095e5b.boase@bernard>
    [email protected] wrote:

    On 8 May 2024, [email protected] wrote:

    I'm fairly sure that there was a suitable font which came with either
    Equasor or Formulix. The font family name is MathOpen.

    Neither Equasor's MathGreek font nor TechWrite's MathPhys font contains
    the required glyphs. I haven't met a font called MathOpen.


    On 8 May 2024, [email protected] wrote:

    Just to caveat that changing the shape of a font doesn't change what it
    means.

    And thank you, Theo, for your pertinent warnings when using altered fonts. So, really, only an appropriate Unicode font should be used, and you are right that TW, like all RISC OS text editing programs, doesn't support Unicode. Yet?

    This is a problem when you retrieve text from a PDF file , from a browser
    and email.
    I have a utility that allows me to do transcription : UTF8 to Acorn Latin1 http://jeanmichelb.riscos.fr/AppliTBox/AppliToolBox.html#UTF8_to_Acorn_Latin_1_


    --
    Jean-Michel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Williams (News)@21:1/5 to Jean-Michel on Thu May 9 09:17:18 2024
    In article <[email protected]>,
    Jean-Michel <[email protected]> wrote:

    This is a problem when you retrieve text from a PDF file , from a browser
    and email.
    I have a utility that allows me to do transcription : UTF8 to Acorn Latin1 http://jeanmichelb.riscos.fr/AppliTBox/AppliToolBox.html#UTF8_to_Acorn_Latin_1_

    I use a script in Paul Spranger's ConvText to help me when the accents (F rench) come back encoded in UTF. Done particularly when we were using Zoom during the Covid stuff!

    It's really no more than a look-up table substitution.

    SCRIPT:Zoom Chat
    | subsitutes accented character for 2 character �... encoding
    | useful for Zoom chat messages, for example
    | UPPER case characters
    À:�
    Â:�
    Ç:�
    È:�
    É:�
    Ê:�
    Ë:�
    Î:�
    Ï:�
    Ô:�
    Ù:�
    Û:�
    | lower case characters
    � :�
    â:�
    ç:�
    è:�
    é:�
    ê:�
    ë:�
    î:�
    ï:�
    ī:�
    ô:�
    ù:�
    û:�
    | end

    John

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John@21:1/5 to All on Thu May 9 12:20:09 2024
    In article <2d03095e5b.boase@bernard>, <[email protected]>
    wrote:

    I'm fairly sure that there was a suitable font which
    came with either Equasor or Formulix. The font family
    name is MathOpen.

    Neither Equasor's MathGreek font nor TechWrite's MathPhys
    font contains the required glyphs. I haven't met a font
    called MathOpen.

    I've just added MathOpen (a font from CC) to !Fonts and
    used it in body text and a display equation.

    I was going to post a JPEG of it on pCloud but I haven't
    set it up yet on my RockyRAID. I'll send it to myself and
    post it from Linux with a link posted here.

    Wait one...

    John

    --
    John
    [email protected]
    j dot mccartney atte blueyonder dot co dot uk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John@21:1/5 to John on Thu May 9 12:35:27 2024
    In article <[email protected]>,
    John <[email protected]> wrote:

    Wait one...

    Wait no more!

    https://u.pcloud.link/publink/show?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7

    John

    --
    John
    [email protected]
    j dot mccartney atte blueyonder dot co dot uk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harriet Bazley@21:1/5 to John on Thu May 9 22:23:21 2024
    On 9 May 2024 as I do recall,
    John wrote:

    In article <[email protected]>,
    John <[email protected]> wrote:

    Wait one...

    Wait no more!

    https://u.pcloud.link/publink/show?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7

    Doesn't seem to work, but this one(?) does: https://api.pcloud.com/getpubthumb?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7&fileid=61961406551&size=600x315&crop=1&type=jpg



    --
    Harriet Bazley == Loyaulte me lie ==

    It is impossible to enjoy idling thoroughly unless one has plenty of work to do

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Michel@21:1/5 to Harriet Bazley on Fri May 10 10:24:17 2024
    In message <[email protected]>
    Harriet Bazley <[email protected]> wrote:

    On 9 May 2024 as I do recall,
    John wrote:

    In article <[email protected]>,
    John <[email protected]> wrote:

    Wait one...

    Wait no more!

    https://u.pcloud.link/publink/show?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7 >>
    Doesn't seem to work, but this one(?) does: https://api.pcloud.com/getpubthumb?code=XZ0dDS0Zr6wRtNSjogBC91Inktlekhiqxb O7&fileid=61961406551&size=600x315&crop=1&type=jpg

    Merci Harriet,

    I just tested the MathOpen fonts, we could directly type the desired
    character after selecting the style. The result is very correct.



    Thank you all for understanding my explanations in �Franglais�.... :-)

    --
    Jean-Michel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John@21:1/5 to Bazley on Fri May 10 11:22:55 2024
    In article <[email protected]>, Harriet
    Bazley <[email protected]> wrote:
    On 9 May 2024 as I do recall, John wrote:

    In article <[email protected]>, John
    <[email protected]> wrote:

    Wait one...

    Wait no more!

    https://u.pcloud.link/publink/show?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7

    Doesn't seem to work, but this one(?) does:

    https://api.pcloud.com/getpubthumb?code=XZ0dDS0Zr6wRtNSjogBC91InktlekhiqxbO7&fileid=61961406551&size=600x315&crop=1&type=jpg

    Ah, yes! My link doesn't work with NetSurf but does with
    more capable browsers. I should have checked.

    John

    --
    John
    [email protected]
    j dot mccartney atte blueyonder dot co dot uk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)