unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Use `M-x describe-char' to inspect the characters of a pdf file.
@ 2021-07-07  1:01 Hongyi Zhao
  2021-07-07 18:22 ` mrf
  0 siblings, 1 reply; 3+ messages in thread
From: Hongyi Zhao @ 2021-07-07  1:01 UTC (permalink / raw)
  To: help-gnu-emacs

I'm using pdf-tools [1] as the in-line PDF viewer of Emacs. Can I use
`M-x describe-char' to inspect/check the characters in the PDF file?

[1] https://github.com/politza/pdf-tools

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Use `M-x describe-char' to inspect the characters of a pdf file.
  2021-07-07  1:01 Use `M-x describe-char' to inspect the characters of a pdf file Hongyi Zhao
@ 2021-07-07 18:22 ` mrf
  2021-07-07 23:46   ` Hongyi Zhao
  0 siblings, 1 reply; 3+ messages in thread
From: mrf @ 2021-07-07 18:22 UTC (permalink / raw)
  To: Hongyi Zhao; +Cc: help-gnu-emacs


Hongyi Zhao writes:

> I'm using pdf-tools [1] as the in-line PDF viewer of Emacs. Can I use
> `M-x describe-char' to inspect/check the characters in the PDF file?
>
> [1] https://github.com/politza/pdf-tools
>
> Regards

Possible solution is to copy that char with M-w and paste it in other
buffer such as *scratch* and then inspect it.

I think this would be useful to inspect utf8 math symbol included in
pdf.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Use `M-x describe-char' to inspect the characters of a pdf file.
  2021-07-07 18:22 ` mrf
@ 2021-07-07 23:46   ` Hongyi Zhao
  0 siblings, 0 replies; 3+ messages in thread
From: Hongyi Zhao @ 2021-07-07 23:46 UTC (permalink / raw)
  To: mrf; +Cc: help-gnu-emacs

On Thu, Jul 8, 2021 at 2:24 AM mrf <joinlaw@cock.li> wrote:
>
>
> Hongyi Zhao writes:
>
> > I'm using pdf-tools [1] as the in-line PDF viewer of Emacs. Can I use
> > `M-x describe-char' to inspect/check the characters in the PDF file?
> >
> > [1] https://github.com/politza/pdf-tools
> >
> > Regards
>
> Possible solution is to copy that char with M-w and paste it in other
> buffer such as *scratch* and then inspect it.
>

If so, how can I write a function/micro to do this job automatically?

> I think this would be useful to inspect utf8 math symbol included in
> pdf.
>

It's a valuable method to check/inspect any obscure and rare characters.

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-07 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07  1:01 Use `M-x describe-char' to inspect the characters of a pdf file Hongyi Zhao
2021-07-07 18:22 ` mrf
2021-07-07 23:46   ` Hongyi Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).