Skip to content

Commit

Permalink
Обновлено: LibreOffice, интерфейс табы в Vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegShchavelev committed Mar 2, 2024
1 parent c83883d commit 59642e4
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import markdownItTaskLists from 'markdown-it-task-lists'
import markdownItImplicitFigures from 'markdown-it-implicit-figures'
import markdownItEmbed from 'markdown-it-html5-embed'
import markdownItConditionalRender from 'markdown-it-conditional-render'
import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'

export const META_DESCRIPTION = 'Свободная WIKI по операционной системе ALT Regular Gnome'

Expand Down Expand Up @@ -144,6 +145,7 @@ export default defineConfig({
}
});
md.use(markdownItConditionalRender);
md.use(tabsMarkdownPlugin);
}
},
transformPageData: (pageData: normalize) => {
Expand Down
2 changes: 2 additions & 0 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import AGWGallery from './components/AGWGallery.vue'
import { locales } from '../../_data/enhanced-readabilities'

import { yandexMetrika } from '@hywax/vitepress-yandex-metrika'
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'

import './style.css'
import './custom.css'
Expand Down Expand Up @@ -51,6 +52,7 @@ export default {
}),
ctx.app.component('AGWGallery', AGWGallery);
ctx.app.component('AGWCategories', AGWCategories)
enhanceAppWithTabs(ctx.app)
},
setup() {
// Get route
Expand Down
48 changes: 48 additions & 0 deletions docs/apps/libreoffice.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
---
title: LibreOffice
nameRepo: LibreOffice
appstreamRepo: org.libreoffice.LibreOffice
appstreamFlatpak: org.libreoffice.LibreOffice
metainfo:
thumb:
src: /libreoffice/org.libreoffice.LibreOffice.desktop.png
title: Boxes
summary: Мощный офисный пакет LibreOffice
developer:
name: LibreOffice
site:
url: https://www.libreoffice.org/discover/libreoffice/
anchor: libreoffice.org
licence:
url: https://choosealicense.com/licenses/gpl-3.0/
anchor: GNU GPLv3
issue:
url: https://bugs.documentfoundation.org/
anchor: documentfoundation.org
---

# LibreOffice
Expand All @@ -16,6 +33,19 @@ LibreOffice — мощный офисный пакет, полностью со

**Установка через терминал**

:::tabs
== Still
::: code-group

```shell[apt-get]
su -
apt-get update
apt-get install LibreOffice-still LibreOffice-still-gtk3
```
```shell[epm]
epm -i LibreOffice-still LibreOffice-still-gtk3
```
== Fresh
::: code-group

```shell[apt-get]
Expand All @@ -28,6 +58,7 @@ epm -i LibreOffice LibreOffice-gtk3
```
:::


## Установка c помощью Flatpak

При наличии пакета [Flatpak](/flatpak), можно установить **LibreOffice** одной командой:
Expand All @@ -37,3 +68,20 @@ flatpak install flathub org.libreoffice.LibreOffice
```

<!--@include: ./parts/install/software-flatpak.md-->

## Шрифты в OnlyOffice

В документации OnlyOffice [перечисленные шрифты](https://wiki.documentfoundation.org/Fonts), идущие в комплекте с LibreOffice. В ALT Regular Gnome вам может понадобиться установить дополнительные пакеты, к примеру для использования «Times New Roman» от Microsoft, установите в терминале следующий пакеты:

::: code-group
```shell[apt-get]
su -
apt-get update
apt-get install fonts-ttf-ms
```
```shell[epm]
epm -i fonts-ttf-ms
```
:::

В офисном пакете LibreOffice отсутствует шрифт, который вы используйте, [установите дополнительный шрифт](/add-fonts) и он появится в LibreOffice в списке шрифтов.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"markdown-it-task-lists": "^2.1.1",
"vitepress": "^1.0.0-rc.36",
"vitepress-markdown-timeline": "^1.2.1",
"vitepress-plugin-image-viewer": "^1.1.2"
"vitepress-plugin-image-viewer": "^1.1.2",
"vitepress-plugin-tabs": "^0.5.0"
},
"dependencies": {
"swiper": "^11.0.6",
Expand Down

0 comments on commit 59642e4

Please sign in to comment.