How to Enhance the Management and Quality of Electronic Publications?

. The electronic publication format has become valuable and easy to access for a modern person. Many readers prefer electronic publications to print ones. Publication houses that want to access more customers and enhance their sales should consider including electronic formats in their product offers. Managing a publishing company requires constant modification and diversification of products. To a large extent, the offer of publications in electronic format has a chance to attract more customers than the traditional printed form. It is primarily about easy access to the searched reading items. The customers can purchase the publication in various electronic formats, e.g., PDF, MOBI, or ePUB format, according to their needs. It does not require going to the library, reading room, stationery store, or waiting for the parcel at the place of residence. The purchased product, paid or free, immediately becomes available after


Introduction
The purpose of the article is to develop a method for the automatic change in orientation of pages of the address, which will allow one to change the page orientation of the viewing publication with the preservation of the volume of information on the page, in accordance with the rules of dialing and managing. The main problem of this study is as follows. The number of rows per page changes while changing the orientation of the addressing edition, which leads to the inconsistency of the initial content on the page, due to an increase in the incomplete coefficient. But with the task of changing the orientation of the page of the drawing publication in the Folio format, there is a complete matching of the initial layout in terms of content volume on each publication page. The plurality of typical layouts of the page is formulated. On the basis of the analysis of typical layouts, a set of rules for eliminating the disadvantages of an account as a result of changing the orientation of the page of the elevation publication. A system of requirements and restrictions to each rule has been formed.
Under electronic edition, an electronic document (electronic document group) is understood by editorial-publishing elaboration, designed to spread in unchanged form, and has source information. Electronic editions vary with each other by the presence of printed equivalent, thus subdivided into electronic analogs of printed publications and independent editions (digitally born). Electronic editions may be represented by a variety of formats that, in turn, are divided into two groups, if possible, to identify the parameters of the original layout of the printed edition: a) formats of electronic publications are not capable of playing the separation to the original-layout of the printed publications (fb2, ePUB, MOBI, PRC and others); b) formats are capable of being identical to the original layout Play the division into printed edition pages (ePDF, Folio). What happens when changing orientation, it decides specific publishing. It is possible to use both orientations to allow the reader to choose how it is more comfortable with reading a magazine, or restrict it to one of the orientations. You can also apply a tablet turn to enhance communication and as an excuse to create an additional visual event, spectacularly adding additional information or new illustrative blocks. Everything depends on the concept of the publication. A set of elements in both orientations may be identical to the reader who chose only one of them, missing nothing. Also, this set may differ -for surprises or (if the reader is notified and knows what to expect) to describe additional content. The simplest example -one can use a tablet turned in a horizontal position to view a video and a slideshow in full-screen mode.
The main requirement for publications that can reproduce the division into pages in accordance with the original layout of the printed publications is to maintain an absolute identity of each page when converting into an electronic appearance.
However, when the electronic edition is designed for viewing on smartphones and tablet PCs, there is a need to change the edition page orientation. Such editions, as a rule, are generated in two variants: with a vertical and horizontal orientation of the page.
In our times, there are software tools that allow partially to automate the process of changing the orientation of the page of the elevation page. Still, they cannot cover the entire volume of tasks that require this process. Therefore, even after the use of automation of the process of changing the orientation of the page of the elevation of the publication, in any case, it is necessary to manually adjust the accretion, which we understand as a "subtle" recruitment.
In the process of changing the edition page, there are many difficulties associated with the preservation of the identity to the original. The machine tool must be performed by a whole range of operations that require phased decision-making and much time spent.
It should be noted that in changing the edition page, the parameters of the means that use a machine tool to preserve the identity of the original are not regulated. Therefore, in this case, the machine is guided only by its own experience and subjective judgments. As a result, the final product may not correspond to the general technical rules of the set and layout.
That is why forming a complex of models of a "thin" manner is an actual and valuable scientific result. This complex must contain: 1) rules for eliminating disadvantages of recruitment as a result of changing the page orientation of the viewing publication; 2) system of requirements and restrictions for each rule for eliminating disadvantages of recruitment due to changing the orientation of the page of the election edition.
At present, a large number of techniques are devoted to the development of fonts and the formation of rules for the administration of electronic publications [1][2][3][4][5]. As to the need to change the orientation of the page of the elevation of the publication, then it occurs most often when converting the publication into an electronic format. In accordance with various ways of administering electronic publications in specialized literature [6][7][8][9][10][11], proposed mechanisms for controlling the quality of content and optimizing the interface of multimedia applications. The entire book design system delivers the choice of one type of layout. The design is determined by the content of the book and its type. In turn, the book's contents and its type must be based on the selection of a composite scheme and a page layout.

Materials and Methods
In the context of the stages of development of the method of automatic change orientation of the page of the presentation of the presentation by research methods are the following: 1) investigation of the process of leading editions having two options orientation options: -supervise analysis in publishing processes → methods of analysis and synthesis; -analysis of layout stages → methods of analysis and synthesis; 2) analysis of the process of changing the page orientation of the viewing publication: -analysis of the requirements for publications having two-page orientation options; -analysis of existing software tools for changing the page orientation of the address; → methods of analysis and synthesis, empirical method (experiment); -analysis of problems that arise in the process of changing the page orientation of the viewing publication → methods of analysis and synthesis, deductions; -analysis of the technical rules of the set and the recruitment → methods of analysis and synthesis, deductions; 3) Formation of a complex of models of "thin" making up: -forming a plurality of typical layouts of a page → methods of analysis and abstraction; -formation of rules for eliminating disadvantages of recruitment as a result of changes in page orientation of page-proof→ methods of analysis and abstraction; -formulation of the system of requirements and restrictions for each rule to eliminate the disadvantages of recruitment due to changing the page's orientation of the page-proof. → empirical method (experiment); 4) Development of a prototype of an automated system for a "thin" recruitment: -development of a software prototype scenario for changing the page orientation of the election edition → methods of analysis and synthesis, modeling; -selection of tools and its justification → method of analysis and synthesis; -implementation in the prototype of the formulated complex of models of "thin" making up → induction method; 5) Prototype testing → empirical method (experiment).

Experiments
The Adobe InDesign software is a powerful tool for acting printing products and a leader in modern computer publishing systems, allowing you to realize the most diverse adventures of the author. However, in addition, InDesign has built-in algorithms for converting documents in Folio, Adobe PDF (Interective), Adobe PDF (PRINT), EPS, EPUB, Flash, IDML, JPEG, XML. So, the extraordinary functionality of InDesign caused the choice of this system to realize the problems of this study. InDesign CS6 has a developed functionality to create editions with the "elastic belronty", which is extremely necessary at changing the elevation's orientation for further preservation in the Folio format. However, in addition to explicit advantages, InDesign also has several shortcomings at this stage. First, to obtain a qualitative result of changing the page orientation, it is necessary to pre-conduct several elastic recruitment settings that require too much time and skills, namely: -the task of the rules of the "elastic recruitment"; -tying text fragments; -reconciliation of repetitive content and others. InDesign allows you to deal with the following rules for "elastic recruitment": -scaling; -re-centering; -holding based on guidelines; -making-up based on objects.
Zoom is most effective when adapting a page to a layout with the same aspect ratio and orientation. Repeated centering is appropriate when changing the content for a similar device and orientation with a task of larger size. Helping based on guidelines is suitable for simpler pages consisting mainly of text and multiple images. By managing objects based on objects, you can configure the method of correcting each object for a new page. However, after changing the page orientation options, the result of the coup, as a rule, requires further editing, because InDesign only performs work on adding pages and copying content. However, the program has not implemented intelligent content placement algorithms on the pages of the publication; the application places materials in the same places where they are on the source pages. As a result, as a result of changing page orientation, the layout loses its identity to the original layout. Therefore, further placement of text and graphic frames, in terms of the rules of the set and laying, and an aesthetic point of view, is necessary. Secondly, an existing algorithm for changing the page orientation of the viewing publication does not allow the implementation of the methods of moisture and grooves of the text to achieve competent placement of content on a layout with a modified page orientation. So, after changing the page's orientation through InDesign, the transactions of the ink and grooves of the text also have to be carried out manually, which we understand as a "thin making-up". Thirdly, in the process of changing the edition page, the parameters of the tools that use the machine tool to preserve the identity of the original are not regulated. Therefore, in this case, the machine is guided only by its own experience and subjective judgments. As a result, the final product may not correspond to the general technical rules of the set and making-up.
At the stage of changing the publication page's page orientation, several problems require solutions. The main ones are: -mismatch of the number of lines of the initial layout and layout with modified page orientation; -violation of the aspect ratio of text and graphic frames to page parties. Therefore, existing problems cause contradictions, which is that changing the orientation of the page of the elevation edition changes the number of rows on the page. This leads to the inconsistency of the initial content on the page, due to an increase in the incomplete coefficient. But at the same time, changing the orientation of the page of the drawing publication in the Folio format is the full correspondence of the initial layout in terms of content volume on each publication page.

Results
To achieve the goal, it is necessary to form a list of rules for eliminating the disadvantages of recruiting as a result of changing the orientation of the page of the elevation publication. To do this, you need to analyze how the volume of content changes on the page depending on the change in the parameters of the layer elements. Fig. 1 presents a general algorithm for designing printed publications. In this scheme, special attention should be paid to the block "Calculation of the number of lines during design." This calculation is carried out in accordance with a mathematical model designed for a text block. As a rule, any band consists of several blocks: graphic, text, block, occupied by the formula, The main text can be divided into parts, subdivisions, and chapters in any combination. Paragraphs separate every new semantic part. The division of the text under paragraphs facilitates the text of the reader. Therefore, the basis of developing a mathematical model is the principle of separating text into paragraphs.
According to the separation of text on paragraphs, the area occupied by the text may be expressed through the area of all paragraphs of the text: where Аi -the area occupied by i paragraph; N -the number of paragraphs in the text. Considering the area occupied by one paragraph, it should be noted that for the convenience of perception, the beginning of each paragraph must be allocated. The most common way of allocating is the problem of paragraph indentation at the beginning of the first line. In addition, each paragraph includes a basic text with a certain width of signs, letters, and distances between words. As a rule, the number of characters in the future edition is known. Before adjusting, one also specifies the format of the future edition, a font headset, and a keel size for the selected headset. The number of rows N in the paragraph may be presented as a function of text parameters, that is: where F -edition format; k -the value of points; k0 -base point size; A -area of paragraph; φ -the value of inter-exploin discharge; γ -the value of the distance between words; ω -the width of the signs.
The following formula can calculate the number of lines in the edition: where F -edition format, mm; А -paragraph indentation, mm; k -signs point size, points; k0 -base point size, points; aij -width i sign in j word, mm; g -the number of transfers ak -the width of the transfer sign, mm; n -number of signs in a word; m -the number of words on one row of strips; q -the value of the magnitude of the gaps that fall in the end of the lines, mm; nij і βj -width of letters and external distances, mm.
The calculation was carried out for 15 headsets. The arbitrary text of historical literature was taken. The formula determined the errors: where N -number of rows obtained when calculating; Nv -number of rows obtained when a page making-up. The calculation results differ slightly from the layer results, but the error is minimal. For the main headsets used in the development of editions, the error is not more than 2% (Table 1). However, in certain circumstances, the simulation of the text block may occur. In the first place, it concerns incomplete lines. If the string is filled in less than 10%, then you will have to perform the position of the lines manually. To do this, you can change the width of the sign or reduce the distance between characters or words.  Investigation of the impact of the parameters of the publication on the formation of a petroleum set when returned in two stages. The impact of the settlement options for the passage or extension is determined in the first stage. The coefficient of sealing of the PN rows characterizes the degree of moiety and exhibition. The second stage is characterized by the coefficient of filling the text block area -PS ∆PS=(PS-1) •100 %.
The PN and PS coefficients are convenient to determine not an absolute value, but their percentage to PN = 1 and PS = 1 with the output parameters of the set. The positive area of the values of these coefficients corresponds to the value of lines, which leads to an increase in the text block area, and the negative -the moiety of the lines, which leads to a decrease in the square of the text block. Investigation of the influence of distances between words was originally analyzed, and then experimental verification of the results obtained in the text and grooves of lines in the text was carried out. In this case, it is essential to introduce such a publication parameter as a coefficient of the fullness of the k incoming row.
When returning to any publication, it is inevitable for incomplete lines to appear in the text. Such lines are filled in less than 20% and worsen the ease of reading text, leaving additional spaces on the page. If you do not monitor incomplete lines and do not remove them, then there will be a lot of short lines that increase their volume. To combat similar lines, there are several tools, the most important of which is to change the value of external distances. It is a powerful tool for combating hanging lines in aggregate with others. Reducing each degree of each of the parameters can completely get rid of incomplete lines. It will significantly reduce the number of rows in the edition, and when changing the orientation of the elevation, it will allow us to capture the required content on the page. To assess the impact of the size of the external distance in the text of historical literature on the number of lines that need to be driven or expelled, we will use a mathematical model. The residual part of the calculation of the number of rows in the paragraph can determine the fill factor K of the incomplete line. That is, if the calculation of the number of lines was, for example, 5.155 lines, then the filling coefficient will be the residue value: k = 0.155. According to the proposed version of the reading, the entire process can be divided into the following steps: -calculation of the number of characters in each paragraph; -definition of the fill factor K in an incomplete line; -in the case of a small value of the filling coefficient, the string yield, reducing the distance between the letters to the maximum permissible value nmax ; If the result does not suit, use a distance decrease tool between words β; -summing up the number of lines and receiving the results of the publication. In addition to the output patterns of the impact of changing the values of the parameters of the distance between the letters and between the words on the effectiveness of the abomination and grooves of the text, the algorithm for changing the orientation of the page of the drawing publication was formulated.
This algorithm is based on the coefficient of proportionality of the knp, which displays the proportional ratio of the parties of the element elements: where kpr -coefficient of proportionality of the parties; W -freum width; H -freum height.
Therefore, the scheme of operation of the algorithm for changing the page orientation of the page is as follows: calculation of the coefficient of proportionality for page parameters; creation if a document with a new page orientation; calculation of the new size of the elements of the page using the coefficient of proportionality of the knp (multiplication of the coefficient in case of a decrease in the height of the page and division in the event of an increase in the width of the page, and vice versa).
As for the typesetting and forcing of the text, the following algorithm was displayed. If necessary, to manage the text, use the coefficient of kfit.
where k fit -typesetting paragraph coefficient; Vpar -a paragraph volume; Vlast line -volume of the last line of the paragraph.   For each paragraph, it is necessary to calculate the coefficient of kfit, after which, to achieve maximum efficiency, it is precisely the paragraph in which the coefficient of kfit is the largest. Based on the results of empirical studies, it has been proved that using this coefficient of kfit ink gives significant energy efficiency compared to using the rule of the shortest line on the page. In  (Table 2) were formed. Thus, based on the results of empirical studies, a number of cases of an acute, as well as options for maintaining the volume of content on the page, were considered. As a result, rules were formulated to change the orientation of the elevation of specific layout cases. The following system of requirements and restrictions allows for avoiding errors and discrepancies in the original layout as a result of changing the orientation of the page of the elevation publication.
As for the publication's text, before changing the orientation of the page of the elevation edition, it is necessary to draw attention to the unilcurrent prepositions and dashes. After all, after changing the orientation of the page, the text will be performed. The specified redemption can lead to the emergence of hanging prepositions and transferring the dash to the following line as the first character. It is not allowed relative to the rules of a set and a manner. For this reason, you should also pay attention to fixed transfer in words.
During typesetting and forcing text, the following restrictions for distillation agents were formed. When grossly typesetting, one uses the tracking tool, which can be reduced by a maximum of up to 30 thousand estimates of conditional units of em and increased according to +30 thousand conditional units of em.
When uniformly typesetting, the text uses several means, such as the distance between words and symbols and scaling characters.
At the same time, based on analysis of the technical rules of the set and a manner, as well as expert opinion of professional machines, the parameters of the uniform moisture of the text may vary in the following limits.
The distance between words can be changed from 80% to 110%, with a step of 5%. The distance between characters is allowed to change from -3% to 3%. Scaling characters can be changed to the opposite side to 95%.
If it is not possible to dig or drive the text using the above limits, an additional increase or decrease is technically impossible; then, in the first place, one should increase the distance: -after a dot at the end of the sentence; -after exclamation marks and questions; -after a semicolon and a colon. When using tracking, it is recommended to consider several features of a person's perception of a typographic text. For example, the text typed in large font, looks better if the letters in words are more closely (than using a standard interval). It is especially noticeable when the word is typed in full letters. The degree of the necessary correction of interlist passes depends on the goat and the headset. Some headsets require more tangible tracking, while others can do practically without such. Particularly useful tracking in situations when there is a need for a dense set of some parts of the text, for example, in separate graphs of the table. The interlink change is used only when it was impossible to dig or drive the text above the specified methods. As for illustrations, their main requirement is to preserve the type of completion. Changing the type of illustrations on the page is possible only if none of the other content saving on the page did not help. Also, the change in the type of illustrations maybe if this does not contradict the basic design of the publication and the rule of the uniformity of the recruitment throughout the publication. As for the placement of illustrations in text frames, there are several options for completion. First, it is important to check whether the graphic frame will not remain a significant part of the image when it comes to illustrations to a frame with preservation of proportions. Otherwise, you need to perform a manual fitting image in an edition with a modified orientation. Or it is necessary to go to the second way of completing the illustration on the page, namely, an image options request for the corresponding page orientation. And suppose the illustration has equal width and height (square, circle). In that case, it is prohibited to change the ratio between the width and height by the coefficient of proportionality when changing the orientation of the page of the election edition. Thus, a list of requirements and restrictions on each rule for changing the orientation of the page of the election edition were formed. These requirements and regulations apply to each element of the recruitment and describes the order and variant of actions when using an alternative layout.

Discussion of the results
Based on the developed complex of typical layouts, the support of the pages was developed by the next scenario of the prototype of the means of automatic change in the orientation of the page of the elevation edition. Each type of layout of the page When changing the orientation, there are a number of problems inherent in this type of layout. These problems require certain rules for eliminating the disadvantages of recruitment due to changes in the orientation of the page of the elevation publication. As a result, it was decided to build a system of automation on the principle of individual modules and functions that will meet the necessary layout types. To solve each problem, the decades of recruitment as a result of changing the orientation of the page of the elevation publication may be used several rules. Therefore, creating multiple modes with a specific set of parameters is necessary. Among such parameters, the user program can select the most suitable for a specific type of original edition layout. Thus, the concept of a means of automation of the process of changing the orientation of the page of the elevation publication includes a certain sequence of actions that can be divided by steps: -choosing the user of a specific mode program (set of settings); -analysis of the original layout of the publication; -formation of a script from individual modules and functions required for the layout of type types involved; -launching the script to change the page orientation of the viewing edition; -demonstration of the result of the script; -output information about problem pages to pay attention to. In addition, it is necessary to reproduce the developed knowledge base in itself: -complex of typical page layouts; -list of problems that may arise at the stage of changing the page orientation of the address; -list of rules necessary to solve problems in the process of changing the page orientation of the viewing publication; -the system of requirements and restrictions for each rule for solving problems in the process of changing the page orientation of the viewing publication.
Thus, a software product has been developed for practical and scientific value because it will help machine tools avoid many errors when changing the page of the elevation edition. To implement an effective user interaction with the software product, creating a convenient, intuitive interface executed on the usability principles is necessary.
To solve the task of automatic change in the orientation of the eligible publication based on the developed scenario, the use of JavaScript language will be optimal.
Software products such as Folio Producer and Folio Builder are used to create folio products. The Folio Producer Instrument Instrument Sets Overlay Creator Palette, Mandatory External InDesign Module and Desktop Viewer application.
The Windows Forms or Web application can be used as a prototype interface. The first stage of the script is the user selection of a program of a specific mode (set of settings). So, the system of recommendations and restrictions was implemented as three modes of prototype operating modes that can be selected from the drop-down list.
Each mode is implemented in the prototype as a separate module, changing each parameter in the form of separate functions.
The «Defalt» mode is used in the rough municipality and exhibition of the text when using the tracking tool that can be reduced by a maximum of up to 30 thousand estimates of conditional em units and increased in accordance with +30 thousand conditional units of em.
Images in this mode are fitted in proportion to graphic frames. «Advanced» mode is used with a uniform position of the text when using multiple means of moisture and grooves of the text, such as the distance between the words, the distance between symbols, and scaling characters. At the same time, based on analysis of the technical rules of the set and a manner, as well as expert opinion of professional machines, the parameters of the uniform moisture of the text may vary in the following limits.
The distance between words can be changed from 80% to 110%, with a step of 5%. The distance between characters is allowed to change from -3% to 3%. Scaling characters can be changed to the opposite side to 95%.
The third "Custom" mode suggests that the user performs the selection of settings to change the page orientation of the viewing publication. The choice can be done according to the following parameters: -distance between words; -distance between characters; scale characters; -trekking; -allow/prohibit altering; -allow/prohibit change number of columns per page; -format image freight in graphic frames; -choosing a directory with image variants for modified orientation.
In addition, users can familiarize themselves with the parameters of modes, basic rules, and restrictions for changing the page orientation for each of the typical layouts by passing "Help".
The next stage of the prototype is the analysis of the original layout of the publication. This process occurs due to reading the values of the styles of the layer elements ( Fig. 2 and Fig. 3).  Regarding the formed coefficients of the kpr proportionality and the kfit, then in the prototype they are implemented as follows ( Fig.4 and Fig. 5).  The alternative orientation page is also formed by the coefficient of proportionality (Fig. 6). Each parameter of the administering elements is checked for existence, and in the event that the style does not contain information about some parameter, the value of this parameter is taken from the base style. Similarly reads information about character style and tables. Placing illustrations occurs according to the following algorithm (Fig 7, Fig. 8).  Thus, we get information about the color model and its data on each color paint or sample. So, after analyzing the elements of the recruitment, the script is formed from individual modules and functions necessary for the layout. As a result of the prototype, one obtains an InDesign document with a modified page orientation ( Fig. 9-11). Thus, the resulting layout corresponds to the initial content. For a prototype, an interface for interacting with the user has been developed for the auto-edition orientation of the page. Within the framework of this interface, a logo for a software product was also created, a name was given, and a well-designed generic concept of prototype design.

Summary
Some empirical research within the framework of this article allowed analyzing most cases. As a result, the rules for eliminating the disadvantages of recruitment as a result of changing the orientation of the page of the elevation publication in specific cases of a layout. In addition, a certain regularity of the possibility of moisture and grooves of the text was found at certain values of the parameters of the moisture and exhibition, the coefficient of proportionality of the kpr and the coefficient of kfit text is formulated. In addition, scientific research was analyzed to identify the boundary limits of the possibility of changing the parameters that affect the scope of text on the page. The analysis of technical requirements for the original -publication layout was also carried out. As a result, a system of requirements and restrictions on the rules for eliminating the disadvantages of recruitment due to changing the orientation of the page of the elevation publication.
The resulting scientific result can be used at the stage of administering electronic editions in a folio format for a tablet PC, namely, in the process of changing the orientation of the elevation page. As a result, compliance with the final layout of the technical requirements of the set and a recruitment is provided.
The resulting scientific result can be used at the stage of administering electronic editions in a folio format for a tablet PC, namely, in the process of changing the orientation of the elevation page. As a result, compliance with the final layout of the technical requirements of the set and a recruitment is provided: a) formulated separate modules and functions used for a particular type of page layout; b) the designed set of parameters of the elements, which fully describes the following elements of the academic as a page, paragraph, symbol, table, and object; c) the three prototype operating modes are developed, which are characterized by sets of parameters to automatically change the orientation of the page of the elevation edition; d) an algorithm for automatic change of page orientation of the viewing of the publication is developed; e) developed toolkits to change the page orientation of the viewing publication automatically; f) a formulated knowledge base containing a set of rules and restrictions to eliminate the disadvantages of automatic change of page orientation of the viewing publication; g) The logo for the software product is developed, and the general design concept of the interface is formulated.
The developed system of automatic change in the orientation of the page of the elevation publication allows to: a) read the necessary information about the style and formatting of the text and its content from the InDesign document; b) change the page orientation to preserve the identity of the original layout; c) provide information about problem pages to pay attention to after the orientation change.
The scientific result of the study is to formulate the method of automatic change in the orientation of the page of the drawing publication. The practical effect is the realization of the developed method in the prototype of the automated system for a «thin layer».