如何在 Linux 中注释 PDF
PDF
![](/data/attachment/album/202308/27/141000pelw8wgggqlenwx8.jpg)



> 
> 你不需要专门的 PDF 编辑器来添加注释和高亮文本。下面介绍如何在 Linux 中使用 GNOME 的文档查看器来注释 PDF。
> 
> 
> 


阅读一些 PDF 格式的有趣内容，并觉得需要添加评论或高亮显示某些文本？也许你在 PDF 文档上留一些反馈？


[Linux 用户可以使用多种 PDF 编辑器](https://itsfoss.com/pdf-editors-linux/)。但你不需要专门的 PDF 编辑器来完成这个简单的任务。


大多数 PDF 阅读器都具有内置注释功能，你可以使用它来快速轻松地高亮显示文本并添加注释。


我最近在审阅 O'Reilly 即将出版的第四版 [《Linux Pocket Guide》一书](https://www.oreilly.com/library/view/linux-pocket-guide/9780596806347/?ref=itsfoss.com)时“发现”了它。出版商请求对 PDF 文件本身提出建议。


让我分享一下如何在 Linux 中使用 Evince（GNOME 中的默认 PDF 阅读器）对 PDF 进行注释。使用 Okular（KDE 中默认的 PDF 阅读器）也可以实现同样的效果。


大多数 Linux 发行版都应该附带上述工具之一。如果没有，你可以轻松安装它们。我不会介绍安装过程。请在你的发行版的软件管理器中查找它们。


### 使用 Evince 文档查看器注释 PDF


使用 Evince（在 GNOME 中也称为“<ruby> 文档查看器 <rt>  Document Viewer </rt></ruby>”）打开所需的 PDF 文件。


你将在文档查看器的左上角看到一个“编辑”选项。点击它会出现以下两个选项：


* 备注文本（用于添加评论）
* 高亮显示文本（用于高亮显示选定的文本）


![](/data/attachment/album/202308/27/141027tjjkk1ubqpejv1tj.png)


让我详细介绍这是如何工作的。


#### 在 PDF 中添加注释


要添加评论，单击 “<ruby> 注释文本 <rt>  Note text </rt></ruby>” 选项。


你会注意到光标变成了 “+” 号。你可以单击文档中的任意位置，它会立即添加注释图标并打开另一个窗口以添加注释。


![](/data/attachment/album/202308/27/141027r3m5m3qcr7craza0.png)


我建议单击该行的末尾，以便注释图标位于空白区域，并且不会遮挡文件的实际文本。


添加所需注释后，你可以 **单击注释区域的 “X” 按钮来关闭** 注释文本窗口。



> 
> ? 你可以通过在屏幕上拖动注释图标来移动注释图标。
> 
> 
> 


#### 在 PDF 中高亮显示文本


同样，你可以选择 “<ruby> 高亮显示文本 <rt>  Highlight text </rt></ruby>” 选项来高亮显示 PDF 文件中的特定文本。


之后，只需选择要高亮显示的文本即可。当你开始移动光标，它就会开始高亮显示。


![](/data/attachment/album/202308/27/141028lz6pp6u66enx6prw.png)



> 
> ? 你还可以在高亮显示的文本上添加注释，以提供有关高亮显示的一些上下文。要添加文本，请单击高亮显示的文本（现在它可点击了）。
> 
> 
> 


#### 保存带注释的文件


你可能已在 PDF 上添加注释，但更改尚未保存。


保存更改很简单。按 `Ctrl+S` 键，你可以选择保存文件的位置。


你可以覆盖现有 PDF 文件或将其另存为新文件。


![](/data/attachment/album/202308/27/141029v4xsqizsjuu2swlj.png)



> 
> ? 注释、评论和高亮被附加到 PDF 文件中，即使你使用其他可以读取注释的工具打开 PDF 文件，它们也应该可以看到。
> 
> 
> 


#### 阅读注释


要阅读文本注释或评论，只需将鼠标悬停在注释图标或高亮显示的文本上即可。它将立即显示注释。


![](/data/attachment/album/202308/27/141029cjct8xhy49y8qcju.png)


不要单击图标来阅读文本。单击将打开它进行编辑。


#### 编辑现有注释


假设你注意到需要向现有笔记添加更多详细信息。你所要做的就是单击“注释”图标。


它将打开添加的文本。你可以阅读它，如果你愿意，也可以编辑它。对于高亮显示的文本部分中的注释也是如此。


但是，编辑高亮显示的文本时它不是很完善。如果你认为必须高亮显示现有文本周围的更多文本，那么它会起作用。但如果你想缩短高亮显示的文本，那就不行了。


为此，你必须删除高亮显示并再次添加。


#### 删除现有注释


删除注释非常简单，只需右键单击注释并选择 “<ruby> 删除注释 <rt>  Remove Annotation </rt></ruby>” 选项即可。


![](/data/attachment/album/202308/27/141029qw2w962y9wlwzp8g.png)


这对于高亮显示的文本也同样有效。


#### 修改注释的外观


不喜欢默认的黄色或注释图标？这一切都是可以改变的。


右键单击现有注释并选择 “<ruby> 注释属性 <rt>  Annotation Properties... </rt></ruby>” 选项。


![](/data/attachment/album/202308/27/141030hna22cazlblp896a.png)


你可以更改评论的作者、注释的颜色和不透明度。你还可以更改注释的图标和高亮显示的标记类型（删除线、下划线等）。


![](/data/attachment/album/202308/27/141030yppjiwprk3pmj6um.png)


这仅适用于现有注释。我找不到一种方法来更改所有未来注释的默认属性。


### 更多 PDF 编辑选项


如果你需要的不仅仅是简单的文本注释和高亮显示，可以使用专门的 PDF 编辑器。



> 
> **[11 最好的 Linux 上的 PDF 编辑器](https://itsfoss.com/pdf-editors-linux/)**
> 
> 
> 


这些工具可能允许你重新排列或合并 PDF 文件。



> 
> **[如何在 Linux 上合并 PDF 文件](https://itsfoss.com/merge-pdf-linux/)**
> 
> 
> 


如果需要，你还可以 [压缩 PDF 文件](https://itsfoss.com/compress-pdf-linux/)。



> 
> **[如何在 Linux 上压缩 PDF 文件](https://itsfoss.com/compress-pdf-linux/)**
> 
> 
> 


PDF 编辑永无止境。我希望你喜欢这篇有关 Linux 中 PDF 注释的初学者技巧。


KDE 的 Okular 还提供 PDF 注释选项。也许我可以写一篇关于 Okul 的类似文章。


请在评论栏留下你的反馈。


*（题图：MJ/a5318540-0b82-4ef6-a0bb-532505a17458）*




---


via: <https://itsfoss.com/annotate-pdf-linux/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Reading something interesting in PDF format and feel the need of adding a comment or highlight certain text? Perhaps you want to provide feedback on the PDF document?

There are [several PDF editors available for Linux users](https://itsfoss.com/pdf-editors-linux/). But you don't need a dedicated PDF editor just for this simple task.

Most PDF readers have built-in annotation features and you can use it to quickly and easily highlight text and add comments.

I recently 'discovered' it when I was reviewing the upcoming 4th edition of the [Linux Pocket Guide book by O'Reilly](https://www.oreilly.com/library/view/linux-pocket-guide/9780596806347/). The publisher requested suggestions on the PDF file itself.

Let me share how you can annotate PDFs in Linux using Evince (the default PDF reader in GNOME). The same can be achieved with Okular (the default PDF reader in KDE) too.

Most Linux distributions should come with either of the above tools. If not, you can easily install them. I am not going into the installation process. Please look for them in your distribution's software manager.

## Annotating PDFs with Evince Document Viewer

Open the desired PDF file with Evince (also known as Document Viewer in GNOME).

You'll see an edit option in the top left side of the Document Viewer application. Click on it and the following two options will appear:

- Note text (for adding comments)
- Highlight text (for highlighting selected text)

![Annotate option in GNOME's Document Viewer tool](https://itsfoss.com/content/images/2023/08/annotate-pdf-with-gnome-document-viewer-in-linux.png)

Let me share their workings in detail.

### Adding comments in PDF

To add a comment, **click on Note text** option.

You'll notice that the cursor gets changed into a **+** sign. You can click anywhere in the document and it will immediately add a note icon and open another window for adding your notes.

![Adding comments in PDF using GNOME's Evince Document Viewer tool](https://itsfoss.com/content/images/2023/08/adding-comments-to-pdf-linux.png)

I suggest clicking at the end of the line so that the note icon is on the white space and doesn't obstruct the actual text of the file.

Once you have added the desired note, you can **click the x button on the note field to close** the note text window.

### Highlight text in PDF

Similarly, you can choose the Highlight text option to highlight specific text in the PDF file.

After that, just select the text you want to highlight. It will start highlighting as soon as you start moving the cursor.

![Highlight selected text in PDF files using GNOME's Evince Document Viewer](https://itsfoss.com/content/images/2023/08/highlight-text-pdf-linux.png)

### Saving the annotated file

You might have added the note on the PDF but the changes are not saved yet.

Saving the change is simple. Press the `Ctrl+S`

keys and it will give you the option of where you want to save the file.

You can overwrite the existing PDF file or save it as a new one.

![Saving annotated PDF file](https://itsfoss.com/content/images/2023/08/save-annotated-file.png)

### Reading the annotations

To read a text note or comment, just hover over the note icon or highlighted text. It will show the notes immediately.

![Reading the annotation in Evince PDF viewer](https://itsfoss.com/content/images/2023/08/reading-annotations-pdf-linux-1.png)

Don't click the icons to read the text. Clicking will open it for editing.

### Edit an existing annotation

Let's say you noticed that you need to add more details to an existing note. All you have to do is to click the Note icon.

It will open the added text. You can read it and you can also edit it if you like. The same works for the notes in the highlighted text section.

However, it won't work completely for editing the highlighted text. It will work if you think you have to highlight more text around an existing one. But if you want to shorten the highlighted text, it won't work.

For that, you have to delete the highlight and add it again.

### Delete an existing annotation

Deleting annotations is as simple as right-clicking on the annotation and selecting the 'Remove Annotation' option.

![Removing existing annotations from PDF in GNOME's Evince PDF viewer](https://itsfoss.com/content/images/2023/08/remove-annotations-from-pdf-in-linux.png)

The same is valid for highlighted text too.

### Modifying the look and feel of the annotations

Don't like the default yellow color or the notes icon? All this can be changed.

Right-click on an existing annotation and select the 'Annotation Properties...' option.

![Change annotation properties in GNOME PDF viewer](https://itsfoss.com/content/images/2023/08/change-annotation-design-pdf.png)

You can change the author of the comment, color and opacity of the annotation. You can also change the icons for the notes and markup type for highlights (strikeout, underline etc).

![](https://itsfoss.com/content/images/2023/08/changing-annotation-properties.png)

This is for existing annotations only. I could not find a way to change the properties by default for all future annotations.

## More PDF edition options

Dedicated PDF editors are available if you need more than simple text notes and highlighting.

[11 Best Linux PDF Editors You Can Use in 2023Looking for the best PDF editing options? You should find some awesome options here!](https://itsfoss.com/pdf-editors-linux/)![](https://itsfoss.com/content/images/wordpress/2017/09/Tools_TO_EDIT_PDF_IN_LINUX.png)


![](https://itsfoss.com/content/images/wordpress/2017/09/Tools_TO_EDIT_PDF_IN_LINUX.png)

These tools may allow you to rearrange or merge PDF files.

[How to Merge PDF Files in LinuxGot several PDFs on the same subject and now you want to combine them into a single PDF? Or perhaps you need to upload a single file consisting of different files? Many government and academic portals require that. As a Linux user, if you are in a situation where you](https://itsfoss.com/merge-pdf-linux/)![](https://itsfoss.com/content/images/wordpress/2022/11/how-to-merge-pdf-files.png)


![](https://itsfoss.com/content/images/wordpress/2022/11/how-to-merge-pdf-files.png)

You can also [compress the PDF files](https://itsfoss.com/compress-pdf-linux/) if you want.

[How to Compress PDF in Linux [GUI & Terminal]Brief: Learn how to reduce the size of a PDF file in Linux. Both command line and GUI methods have been discussed. I was filling some application form and it asked to upload the necessary documents in PDF format. Not a big issue. I gathered all the scanned images and](https://itsfoss.com/compress-pdf-linux/)![](https://itsfoss.com/content/images/wordpress/2020/05/compress-pdf-linux.jpg)


![](https://itsfoss.com/content/images/wordpress/2020/05/compress-pdf-linux.jpg)

There is no end to PDF editing. I hope you liked this beginner's tip on PDF annotation in Linux.

KDE's Okular also provides PDF annotation options. Perhaps I could do a similar article on Okular some other day.

Please provide your feedback in the comment section.