[bug #64459] [ms] subscripting does not work

2023-07-23 Thread G. Branden Robinson
Update of bug #64459 (project groff):

Category: General => Macro ms   
  Status:None => Need Info  
 Assigned to:None => gbranden   
 Summary: Subscripting does not work. => [ms] subscripting
does not work

___

Follow-up Comment #2:

Hi Roland,

[comment #0 original submission:]
> Hello, the GNU troff manual defines under 4.6.5.5 "Typeface and decoration"
subscripting as follows:
> String: \*[<]
> String: \*[>]
> However, does not work on my PC.
> Any advice?
> I am using groff version 1.22.4 with Raspberry Pi.

You appear to be reading the GNU troff manual corresponding to the _groff_
1.23.0 release.

Subscripting strings are a new feature of _groff ms_ in 1.23.

Also see:

https://git.savannah.gnu.org/cgit/groff.git/tree/NEWS?h=1.23.0#n457


o The s (ms) macro package has added strings, `<` and `>`, to perform
  subscripting.  They work analogously to the `{` and `}` superscripting
  strings that have been present in groff ms since 1991 or earlier.


Please upgrade to _groff_ 1.23.0 to get the benefit of this feature.

If that is infeasible, you can copy the definitions of these strings into your
document until 1.23.0 is available to you.

https://git.savannah.gnu.org/cgit/groff.git/tree/tmac/s.tmac?h=1.23.0#n1621


.\" subscript
.ds par@sub-start \v'+.3m\s'\En[.s]*7u/10u'-.1m'
.als < par@sub-start
.ds par@sub-end \v'+.1m\s0-.3m'
.als > par@sub-end


Does this help?


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #64459] [ms] subscripting does not work

2023-07-23 Thread Roland Heidrich
Follow-up Comment #3, bug #64459 (project groff):

It works! I would like to thank the GNU Groff community for this immediate and
comprehensive help. Excellent!


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #64459] [ms] subscripting does not work

2023-07-23 Thread G. Branden Robinson
Update of bug #64459 (project groff):

  Status:   Need Info => Invalid
 Open/Closed:Open => Closed 

___

Follow-up Comment #4:

Marking as invalid, since the problem arose from version skew between
submitter's system and the current _groff_ documentation (on the Web,
possibly).

Submitter seems satisfied; closing.  Glad to be of service, Roland!


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




Re: [bug #64459] [ms] subscripting does not work

2023-07-23 Thread Roland Heidrich
Fantastic, you are a magician. It works! I would like to thank the GNU
Groff community for this immediate and comprehensive help. Excellent!

Am So., 23. Juli 2023 um 18:06 Uhr schrieb G. Branden Robinson <
invalid.nore...@gnu.org>:

> Update of bug #64459 (project groff):
>
> Category: General => Macro ms
>
>   Status:None => Need Info
>
>  Assigned to:None => gbranden
>
>  Summary: Subscripting does not work. => [ms] subscripting
> does not work
>
> ___
>
> Follow-up Comment #2:
>
> Hi Roland,
>
> [comment #0 original submission:]
> > Hello, the GNU troff manual defines under 4.6.5.5 "Typeface and
> decoration"
> subscripting as follows:
> > String: \*[<]
> > String: \*[>]
> > However, does not work on my PC.
> > Any advice?
> > I am using groff version 1.22.4 with Raspberry Pi.
>
> You appear to be reading the GNU troff manual corresponding to the _groff_
> 1.23.0 release.
>
> Subscripting strings are a new feature of _groff ms_ in 1.23.
>
> Also see:
>
> https://git.savannah.gnu.org/cgit/groff.git/tree/NEWS?h=1.23.0#n457
>
>
> o The s (ms) macro package has added strings, `<` and `>`, to perform
>   subscripting.  They work analogously to the `{` and `}` superscripting
>   strings that have been present in groff ms since 1991 or earlier.
>
>
> Please upgrade to _groff_ 1.23.0 to get the benefit of this feature.
>
> If that is infeasible, you can copy the definitions of these strings into
> your
> document until 1.23.0 is available to you.
>
> https://git.savannah.gnu.org/cgit/groff.git/tree/tmac/s.tmac?h=1.23.0#n1621
>
>
> .\" subscript
> .ds par@sub-start \v'+.3m\s'\En[.s]*7u/10u'-.1m'
> .als < par@sub-start
> .ds par@sub-end \v'+.1m\s0-.3m'
> .als > par@sub-end
>
>
> Does this help?
>
>
> ___
>
> Reply to this item at:
>
>   
>
> ___
> Message sent via Savannah
> https://savannah.gnu.org/
>
>


Re: [bug #64459] [ms] subscripting does not work

2023-07-25 Thread Roland Heidrich
Hi, you are right, I found the string `<` and `>` to perform subscripting
on gnu.org/software/groff/manual/groff.html. I was surprised that I didn't
find this reference anywhere else. Thanks to your explanation I got it. In
older sources I found the robust command "\u ... \d". However, the new
string is much more elegant. I work in the field of inorganic chemistry and
the subscript format is essential. Many thanks again for your support. Best
regards, Roland

Am So., 23. Juli 2023 um 18:25 Uhr schrieb G. Branden Robinson <
invalid.nore...@gnu.org>:

> Update of bug #64459 (project groff):
>
>   Status:   Need Info => Invalid
>
>  Open/Closed:Open => Closed
>
>
> ___
>
> Follow-up Comment #4:
>
> Marking as invalid, since the problem arose from version skew between
> submitter's system and the current _groff_ documentation (on the Web,
> possibly).
>
> Submitter seems satisfied; closing.  Glad to be of service, Roland!
>
>
> ___
>
> Reply to this item at:
>
>   
>
> ___
> Message sent via Savannah
> https://savannah.gnu.org/
>
>