about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2021-04-14 14:23:58 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-04-15 16:27:52 +0000
commit9b5f80285d392b131198c6690428687d84cd49da (patch)
treea775c7e84a4376ba559bb20408ad5afd4d8e897e
parentd07c945e747241f2b10935698880340480ad38e7 (diff)
downloadzsh-9b5f80285d392b131198c6690428687d84cd49da.tar.gz
zsh-9b5f80285d392b131198c6690428687d84cd49da.tar.xz
zsh-9b5f80285d392b131198c6690428687d84cd49da.zip
45583/0003: docs: Fix rendering in the man page output
In the man page output, the text was underlined from the var()
to the end of the paragraph.

The texi output in affected.  For instance, the text `name' in TeX
is now slanted Roman (\slshape\rmfamily) rather than slanted teletype
(\slshape\ttfamily).
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/contrib.yo4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e87c244d..f2f8804a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2021-04-15  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 45583/0003: Doc/Zsh/contrib.yo: docs: Fix rendering in the
+	man page output
+
 	* 45583/0002 (tweaked): Doc/Zsh/contrib.yo: docs: Fix rendering
 	of an example in the man page output
 
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 55ea06f34..5e91f9a8d 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -2036,13 +2036,13 @@ disabled or replaced by another, var(command) is executed with tt(eval).
 You may declare more than one such cleanup hook.
 )
 item(Define preview)(
-Define or autoload a function tt(prompt_var(name)_preview) to display
+Define or autoload a function tt(prompt_)var(name)tt(_preview) to display
 a simulated version of your prompt.  A simple default previewer is
 defined by tt(promptinit) for themes that do not define their own.
 This preview function is called by `tt(prompt -p)'.
 )
 item(Provide help)(
-Define or autoload a function tt(prompt_var(name)_help) to display
+Define or autoload a function tt(prompt_)var(name)tt(_help) to display
 documentation or help text for your theme.
 This help function is called by `tt(prompt -h)'.
 )