From: Vyacheslav Slobodyan <slobodjan@hotbox.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Вопросы по LyX
Date: Sun, 02 Feb 2003 23:54:21 +0300
Message-ID: <3E3D857D.7070302@hotbox.ru> (raw)
In-Reply-To: <200302022118.57230.LAV@VL3143.spb.edu>
Vitaly Lipatov пишет:
>>Как в стиле gost перенести нумерацию страниц с самого низа в
>>правый верхний угол?
>>
>>
>См. \thepage в файле gost-koi8r.inc пакета lyx-gost. К сожалению,
>сейчас там используются абсолютные координаты для
>позиционирования номера.
>
>
Ни изменения в двух местах, выставляющих положения бокса с номером
страницы, ни комментирование этих боксов (больше значащих вхождений в
*.layout и *.inc нкт) _никакого_ результата не дало- номера страниц
всё-равно появляются на том-же месте.. Что делать?
Дальше привожу текст из gost-koi8-r.inc, который модифицировался..
Примечание: LyX не Сизифленный, тот, что поставлялся в Master 2. Но для
проверки взял файлики из свежего lyx-gost-koi8-r, который в Сизифе..
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Нижний колонтитул. Заполняем рамки текстом.
% Координаты задаются в pt, соответствующие координатам в просмотре
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let\@oldoddfoot\@oddfoot
\def\@oddfoot{%
\unitlength=1pt
% \begin{picture}(0,0)(87,0)
% \begin{picture}(0,0)(100,2)
% \begin{picture}(0,0)(100,68)
% увеличение 3 числа - сдвиг влево
% увеличение 4 числа - сдвиг вниз
\ifthenelse{\equal{\namegostframe}{gost_frame}}%
{\begin{picture}(0,0)(86,68)}%
{\begin{picture}(0,0)(86,68)}%
\ifnum \thepage = 1
\else
\ifnum \thepage = 2
% Вторая страница
\spbox{524}{67}{579}{79}{c}{\pageref{LastPage}}
% %\spbox{0}{67}{52}{79}{c}{\thepage}
% %\spbox{481}{67}{522}{79}{c}{\thepage}
\spformedbox{106}{81}{167}{93}{l}{\textsl{\small\@gostrazrabotchik}}
\spformedbox{105}{67}{167}{80}{l}{\textsl{\small\@gostproveril}}
\spformedbox{105}{39}{167}{51}{l}{\textsl{\small\@gostnormokontroler}}
\spformedbox{105}{25}{167}{37}{l}{\textsl{\small\@gostutverdil}}
\spbox{242}{96}{578}{136}{c}{\LARGE{\@gostoboznachenie}}
\vspbox{38}{660}{202}{673}{c}{\normalsize\@gostoboznachenie}
\spbox{245}{25}{430}{92}{c}{\parbox{60mm}{\centering\small{\@gosttitleobject}
\\ \@gosttitledocument}}
\else
% Последующие страницы
%\spbox{524}{67}{579}{79}{\pageref{LastPage}}
% %\spbox{0}{25}{57}{45}{c}{\thepage}
% %\spbox{552}{25}{578}{45}{c}{\thepage}
\spbox{242}{25}{549}{65}{c}{\LARGE{\@gostoboznachenie}}
%\spbox{240}{25}{435}{93}{\@gosttitleobject}
\fi
\fi
\end{picture}
}
%\def\@oddfoot{}
P.S. Глюк с содержанием, описанный в соседних письмах, подтверждаю.
Лезет на Article, например.. Но не всегда.. В некоторых случаях всё
нормально.. Подробней не разбирал- диплом несделанный висит..
next prev parent reply other threads:[~2003-02-02 20:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-01 17:22 Vyacheslav Slobodyan
2003-02-02 18:18 ` Vitaly Lipatov
2003-02-02 20:54 ` Vyacheslav Slobodyan [this message]
2003-02-02 21:55 ` Vitaly Lipatov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E3D857D.7070302@hotbox.ru \
--to=slobodjan@hotbox.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git