ANTICHAT.XYZ    VIDEO.ANTICHAT.XYZ    НОВЫЕ СООБЩЕНИЯ    ФОРУМ  
Баннер 1   Баннер 2
Antichat снова доступен.
Форум Antichat (Античат) возвращается и снова открыт для пользователей. Здесь обсуждаются безопасность, программирование, технологии и многое другое. Сообщество снова собирается вместе.
Новый адрес: forum.antichat.xyz
Вернуться   Форум АНТИЧАТ > Оффтоп > Forum for discussion of ANTICHAT
   
Ответ
 
Опции темы Поиск в этой теме Опции просмотра

ascii text format
  #1  
Старый 02.10.2008, 10:28
Аватар для Americandream
Americandream
Новичок
Регистрация: 12.06.2008
Сообщений: 17
Провел на форуме:
40852

Репутация: 12
По умолчанию ascii text format

hello.
i need to format some texts for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my txt files.
what soft can i use for format my txt files? there is command on VIM like "set textwidth" but this is not for me. any help i appreciate.

Последний раз редактировалось Americandream; 26.11.2008 в 06:56..
 
Ответить с цитированием

  #2  
Старый 02.10.2008, 18:13
Аватар для VERte][
VERte][
Moderator - Level 7
Регистрация: 17.05.2007
Сообщений: 220
Провел на форуме:
3013539

Репутация: 441
По умолчанию

i think you can use any text editor which has it's own script system, for example Notepad++ (just press Record -> format first line -> turn to next -> press Stop -> and then run recorded script)
 
Ответить с цитированием

  #3  
Старый 02.10.2008, 22:04
Аватар для Americandream
Americandream
Новичок
Регистрация: 12.06.2008
Сообщений: 17
Провел на форуме:
40852

Репутация: 12
По умолчанию

this are called macros, since when macros should be a solution?
macros objective is to automate tasks, should them be for automate text formattion?
all i need is to get text formatted just like unix man pages are.
so, i checked this option on man
Цитата:
-t Use ``/usr/bin/groff -S -man'' to format the manual page, pass-
ing the output to stdout. The default output format of
groff(1) is Postscript, but see the manual page of groff(1) for
ways to pick an alternate format.

Depending on the selected format and the availability of print-
ing devices, the output may need to be passed through some fil-
ter or another before being printed.
i dont know whether this can be a solution, i only ask because certainly someone has the right simple answer.
 
Ответить с цитированием

  #4  
Старый 02.10.2008, 22:54
Аватар для VERte][
VERte][
Moderator - Level 7
Регистрация: 17.05.2007
Сообщений: 220
Провел на форуме:
3013539

Репутация: 441
По умолчанию

Цитата:
macros objective is to automate tasks, should them be for automate text formattion?
Yes, I've tried this method.
 
Ответить с цитированием

  #5  
Старый 03.10.2008, 12:31
Аватар для Americandream
Americandream
Новичок
Регистрация: 12.06.2008
Сообщений: 17
Провел на форуме:
40852

Репутация: 12
По умолчанию

Цитата:
Yes, I've tried this method.
i dont think this method is the ideal solution, at least not very pratical.
 
Ответить с цитированием

  #6  
Старый 03.10.2008, 20:10
Аватар для VERte][
VERte][
Moderator - Level 7
Регистрация: 17.05.2007
Сообщений: 220
Провел на форуме:
3013539

Репутация: 441
По умолчанию

In my opinon it is, cause there are special macroses to make one formattion in the whole text.
 
Ответить с цитированием

  #7  
Старый 03.10.2008, 22:14
Аватар для Americandream
Americandream
Новичок
Регистрация: 12.06.2008
Сообщений: 17
Провел на форуме:
40852

Репутация: 12
По умолчанию

maybe it is, however i dont believe most of formated *.txt texts you see on the web are formatted using this method.
 
Ответить с цитированием
Ответ



Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
[HTML, Css] - Задай вопрос, получи ответ Isis PHP, PERL, MySQL, JavaScript 1493 14.06.2010 22:54
AntsSoft SWF Text v1.4 GroW Soft - Windows 0 01.05.2008 20:53
Kerio WinRoute FireWall 6 - ошибка при введении в пароле символов ASCII таблицы SpawnConnektion Уязвимости 0 10.01.2008 11:49



Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT.XYZ